summaryrefslogtreecommitdiffstats
path: root/scripts/link-vmlinux.sh
diff options
context:
space:
mode:
authorArd Biesheuvel2016-04-01 15:33:48 +0200
committerRussell King2016-04-07 22:57:15 +0200
commitb9b74be163a247fcbb3ef18086cc27123539131c (patch)
treef5d731eb8e7f5b63b3f087c7a6ff5fc463785b3d /scripts/link-vmlinux.sh
parentARM: 8548/1: dma-mapping: remove arm_dma_set_mask() (diff)
downloadkernel-qcow2-linux-b9b74be163a247fcbb3ef18086cc27123539131c.tar.gz
kernel-qcow2-linux-b9b74be163a247fcbb3ef18086cc27123539131c.tar.xz
kernel-qcow2-linux-b9b74be163a247fcbb3ef18086cc27123539131c.zip
ARM: 8555/1: kallsyms: ignore ARM mode switching veneers
On ARM, the linker may emit veneers to deal with relative branch instructions that appear too far away from their targets. Since the second kallsyms pass results in an increase of the kernel size, it may result in additional veneers to be emitted, potentially affecting the output of kallsyms itself if these symbols are visible to it, and for that reason, symbols whose names end in '_veneer' are ignored explicitly. However, when building Thumb2 kernels, such veneers are named differently if they also incur a mode switch, and since they are not filtered by kallsyms, they may cause the build to fail. So filter symbols whose names end in '_from_arm' or '_from_thumb' as well. Tested-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'scripts/link-vmlinux.sh')
0 files changed, 0 insertions, 0 deletions