[02/19] Mark x86_64 _dl_unmap hidden

Message ID 20151014224340.GA30819@intel.com
State Committed
Headers

Commit Message

Lu, Hongjiu Oct. 14, 2015, 10:43 p.m. UTC
  Since x86_64 _dl_unmap is only used internally in ld.so, it can be made
hidden.

	[BZ #19122]
	* sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
---
 sysdeps/x86_64/dl-lookupcfg.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Comments

Roland McGrath Oct. 15, 2015, 8:05 p.m. UTC | #1
OK
  

Patch

diff --git a/sysdeps/x86_64/dl-lookupcfg.h b/sysdeps/x86_64/dl-lookupcfg.h
index 310f261..a42d5ef 100644
--- a/sysdeps/x86_64/dl-lookupcfg.h
+++ b/sysdeps/x86_64/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)