[PATCH 01/19] Mark i386 _dl_unmap hidden
H.J. Lu
hongjiu.lu@intel.com
Wed Oct 14 22:43:00 GMT 2015
Since i386 _dl_unmap is only used internally in ld.so, it can be made
hidden.
[BZ #19122]
* sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
---
sysdeps/i386/dl-lookupcfg.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sysdeps/i386/dl-lookupcfg.h b/sysdeps/i386/dl-lookupcfg.h
index 310f261..a42d5ef 100644
--- a/sysdeps/i386/dl-lookupcfg.h
+++ b/sysdeps/i386/dl-lookupcfg.h
@@ -26,6 +26,7 @@
struct link_map;
-extern void internal_function _dl_unmap (struct link_map *map);
+extern void _dl_unmap (struct link_map *map)
+ internal_function attribute_hidden;
#define DL_UNMAP(map) _dl_unmap (map)
--
2.4.3
More information about the Libc-alpha
mailing list