Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12eb901e authored by Nicholas Piggin's avatar Nicholas Piggin Committed by Michal Marek
Browse files

powerpc/64: whitelist unresolved modversions CRCs



These are a symptom of CRC generation failure in generic
build code, and not powerpc specific.

Signed-off-by: default avatarNicholas Piggin <npiggin@gmail.com>
Tested-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Acked-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Fixes: 9445aa1a ("ppc: move exports to definitions")
Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
parent 0f4c4af0
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ bad_relocs=$(
	# On PPC64:
	#	R_PPC64_RELATIVE, R_PPC64_NONE
	#	R_PPC64_ADDR64 mach_<name>
	#	R_PPC64_ADDR64 __crc_<name>
	# On PPC:
	#	R_PPC_RELATIVE, R_PPC_ADDR16_HI,
	#	R_PPC_ADDR16_HA,R_PPC_ADDR16_LO,
@@ -41,7 +42,8 @@ R_PPC_ADDR16_HI
R_PPC_ADDR16_HA
R_PPC_RELATIVE
R_PPC_NONE' |
	grep -E -v '\<R_PPC64_ADDR64[[:space:]]+mach_'
	grep -E -v '\<R_PPC64_ADDR64[[:space:]]+mach_' |
	grep -E -v '\<R_PPC64_ADDR64[[:space:]]+__crc_'
)

if [ -z "$bad_relocs" ]; then