From 6b96d6de8ccd1c04f172a43d3785960e0a76be3f Mon Sep 17 00:00:00 2001 From: Mike Frysinger 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/hppa/Versions | 2 +- sysdeps/hppa/dl-lookupcfg.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/hppa') diff --git a/sysdeps/hppa/Versions b/sysdeps/hppa/Versions index 2ae3cbd..c9723b4 100644 --- a/sysdeps/hppa/Versions +++ b/sysdeps/hppa/Versions @@ -1,7 +1,7 @@ ld { GLIBC_PRIVATE { # hppa specific functions in the dynamic linker, but used by libc.so. - _dl_symbol_address; _dl_unmap; _dl_lookup_address; + _dl_symbol_address; _dl_lookup_address; _dl_function_address; } } diff --git a/sysdeps/hppa/dl-lookupcfg.h b/sysdeps/hppa/dl-lookupcfg.h index cd0d6b1..c36928c 100644 --- a/sysdeps/hppa/dl-lookupcfg.h +++ b/sysdeps/hppa/dl-lookupcfg.h @@ -35,7 +35,7 @@ Elf32_Addr _dl_lookup_address (const void *address); #define DL_LOOKUP_ADDRESS(addr) \ (_dl_lookup_address ((void *)((unsigned long)addr & ~3))) -void _dl_unmap (struct link_map *map); +void attribute_hidden _dl_unmap (struct link_map *map); #define DL_UNMAP(map) _dl_unmap (map) -- cgit v1.1