From 2a6ad8142d14c998e6c5eb51418aac1f598b621e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 15 Jul 2015 07:37:47 -0400 Subject: 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. --- elf/dl-symaddr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'elf') diff --git a/elf/dl-symaddr.c b/elf/dl-symaddr.c index 1785382996..e18a203184 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) -- cgit v1.2.3