diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2016-09-14 12:45:07 +1000 |
---|---|---|
committer | Michal Marek <mmarek@suse.com> | 2016-09-22 14:46:31 +0200 |
commit | 12eb901e01c7830a00e373ac311512cea26f54ef (patch) | |
tree | 2586d9fcaf3314da540855765235d5b2a0cc87ec /arch/powerpc | |
parent | 0f4c4af06eec5717041d6fe568b80ee4cf3c1475 (diff) | |
download | linux-12eb901e01c7830a00e373ac311512cea26f54ef.tar.gz linux-12eb901e01c7830a00e373ac311512cea26f54ef.tar.bz2 linux-12eb901e01c7830a00e373ac311512cea26f54ef.zip |
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: Nicholas Piggin <npiggin@gmail.com>
Tested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Fixes: 9445aa1a3062 ("ppc: move exports to definitions")
Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'arch/powerpc')
-rwxr-xr-x | arch/powerpc/relocs_check.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/relocs_check.sh b/arch/powerpc/relocs_check.sh index 2e4ebd0e25b3..ec2d5c835170 100755 --- a/arch/powerpc/relocs_check.sh +++ b/arch/powerpc/relocs_check.sh @@ -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 |