diff mbox

hppa: Fix undefined symbol error

Message ID BLU436-SMTP213061D042EB5D83552F56397730@phx.gbl
State Superseded
Headers show

Commit Message

John David Anglin Aug. 7, 2015, 4:10 p.m. UTC
In linking libc.so, the symbol _dl_symbol_address is undefined.  This was introduced in the following change:

2015-07-16  Mike Frysinger  <vapier@gentoo.org>

        * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
        * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
        rtld_hidden_proto.
        * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.

The change missed updating sysdeps/hppa/dl-symaddr.c.

Build tested with trunk on Debian hppa-unknown-linux-gnu.

Please install if okay.

Dave
--
John David Anglin	dave.anglin@bell.net
2015-08-07  John David Anglin  <danglin@gcc.gnu.org>

	* sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.

Comments

Mike Frysinger Aug. 8, 2015, 3:34 a.m. UTC | #1
i fixed this yesterday :)
commit be144ba68c918a5d7bc964be06fbeb51a0df84fc
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Aug 7 01:43:08 2015 -0400
-mike
diff mbox

Patch

diff --git a/sysdeps/hppa/dl-symaddr.c b/sysdeps/hppa/dl-symaddr.c
index b707c19..89d8baf 100644
--- a/sysdeps/hppa/dl-symaddr.c
+++ b/sysdeps/hppa/dl-symaddr.c
@@ -33,3 +33,4 @@  _dl_symbol_address (struct link_map *map, const ElfW(Sym) *ref)
   else
     return (void *) value;
 }
+rtld_hidden_def (_dl_symbol_address)