summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2016-09-14 12:45:07 +1000
committerMichal Marek <mmarek@suse.com>2016-09-22 14:46:31 +0200
commit12eb901e01c7830a00e373ac311512cea26f54ef (patch)
tree2586d9fcaf3314da540855765235d5b2a0cc87ec /arch/powerpc
parent0f4c4af06eec5717041d6fe568b80ee4cf3c1475 (diff)
downloadlinux-stable-12eb901e01c7830a00e373ac311512cea26f54ef.tar.gz
linux-stable-12eb901e01c7830a00e373ac311512cea26f54ef.tar.bz2
linux-stable-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-xarch/powerpc/relocs_check.sh4
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