hppa/ia64: _dl_symbol_address: add PLT bypass for rtld
commit2a6ad8142d14c998e6c5eb51418aac1f598b621e
authorMike Frysinger <vapier@gentoo.org>
Wed, 15 Jul 2015 11:37:47 +0000 (15 07:37 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 16 Jul 2015 13:03:08 +0000 (16 09:03 -0400)
tree29a2e0c65d1e11564b0f4d17066e0d07471ef511
parente591758b38a606f6197cfdd0f8382fa8397b5e77
hppa/ia64: _dl_symbol_address: add PLT bypass for rtld

This symbol is defined in the ldso, and is used both there and libc.so.
There is no hidden symbol for it though which leads to relocations in
the ldso and the elf/check-localplt test failing.  Add a hidden def for
rtld to fix all of that.

This function/file is only used by hppa & ia64, so no testing is needed
for other arches.
ChangeLog
elf/dl-symaddr.c
sysdeps/hppa/dl-lookupcfg.h
sysdeps/ia64/dl-lookupcfg.h