From 6b96d6de8ccd1c04f172a43d3785960e0a76be3f Mon Sep 17 00:00:00 2001 From: Mike Frysinger <vapier@gentoo.org> Date: Wed, 15 Jul 2015 07:40:56 -0400 Subject: hppa/ia64: _dl_unmap: make it hidden This symbol is only used by DL_UNMAP which in turn is only used by _dl_close_worker in dl-close.c, and _dl_close_worker itself is marked hidden as it is only used by the ldso. That means _dl_unmap should be marked hidden. Without this, the elf/check-localplt test fails. --- sysdeps/ia64/dl-lookupcfg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/ia64/dl-lookupcfg.h') diff --git a/sysdeps/ia64/dl-lookupcfg.h b/sysdeps/ia64/dl-lookupcfg.h index edf26359f6..3c55e08a44 100644 --- a/sysdeps/ia64/dl-lookupcfg.h +++ b/sysdeps/ia64/dl-lookupcfg.h @@ -36,7 +36,7 @@ extern Elf64_Addr _dl_lookup_address (const void *address); #define DL_LOOKUP_ADDRESS(addr) _dl_lookup_address (addr) -extern void _dl_unmap (struct link_map *map); +extern void attribute_hidden _dl_unmap (struct link_map *map); #define DL_UNMAP(map) _dl_unmap (map) -- cgit v1.2.1