aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-07-15 07:37:47 -0400
committerMike Frysinger <vapier@gentoo.org>2015-07-16 09:03:08 -0400
commit2a6ad8142d14c998e6c5eb51418aac1f598b621e (patch)
tree29a2e0c65d1e11564b0f4d17066e0d07471ef511 /elf
parente591758b38a606f6197cfdd0f8382fa8397b5e77 (diff)
downloadglibc-2a6ad8142d14c998e6c5eb51418aac1f598b621e.zip
glibc-2a6ad8142d14c998e6c5eb51418aac1f598b621e.tar.gz
glibc-2a6ad8142d14c998e6c5eb51418aac1f598b621e.tar.bz2
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.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-symaddr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/dl-symaddr.c b/elf/dl-symaddr.c
index 1785382..e18a203 100644
--- a/elf/dl-symaddr.c
+++ b/elf/dl-symaddr.c
@@ -30,3 +30,4 @@ _dl_symbol_address (struct link_map *map, const ElfW(Sym) *ref)
else
return (void *) value;
}
+rtld_hidden_def (_dl_symbol_address)