This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 02/19] Mark x86_64 _dl_unmap hidden
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 14 Oct 2015 15:43:40 -0700
- Subject: [PATCH 02/19] Mark x86_64 _dl_unmap hidden
- Authentication-results: sourceware.org; auth=none
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
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(-)
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)
--
2.4.3