aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-08-22 10:42:26 +0930
committerAlan Modra <amodra@gmail.com>2016-08-22 10:55:08 +0930
commit888a7fc3665a67e20da1bce2f865b0ff9ef15842 (patch)
treea77aa2665fc2ede6e874d4d424dc6d505c2a20c6 /gprof
parentca942b53cec608a3df1a351b504852e4e64c5e90 (diff)
downloadfsf-binutils-gdb-888a7fc3665a67e20da1bce2f865b0ff9ef15842.zip
fsf-binutils-gdb-888a7fc3665a67e20da1bce2f865b0ff9ef15842.tar.gz
fsf-binutils-gdb-888a7fc3665a67e20da1bce2f865b0ff9ef15842.tar.bz2
Error on unsupported PowerPC ifuncs
The pr19784 tests fail on ppc32 due to a gcc bug. The failure should be noticed when building both libpr19784a.so and libpr19784b.so, rather than ld building a buggy libpr19784a.so that fails at run time. This patch fixes that by moving the @local ifunc check out of check_relocs, where a call destination may not yet be known to be ifunc. The patch also adds a related error for -mbss-plt code. * elf32-ppc.c (ppc_elf_check_relocs): Move error for @local ifunc.. (ppc_elf_relocate_section): ..to here. Comment. Error on detecting -mbss-plt -fPIC local ifuncs too. (ppc_elf_size_dynamic_sections): Comment on unnecessary glink branch table entries.
Diffstat (limited to 'gprof')
0 files changed, 0 insertions, 0 deletions