]> sourceware.org Git - glibc.git/commitdiff
Mark ld.so internel sigaction functions hidden
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 15 Oct 2015 21:23:09 +0000 (14:23 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 15 Oct 2015 21:23:31 +0000 (14:23 -0700)
Since ld.so internel sigaction functions are only used internally in
ld.so, they can be made hidden.

[BZ #19122]
* include/signal.h [IS_IN (rtld)] (__sigaction): Add
attribute_hidden.
[IS_IN (rtld)] (__libc_sigaction): Likewise.

ChangeLog
include/signal.h

index 94869bcb3d37e8b7ebe8a5520e73b3690c6a9b1c..11536083597dd1245b74041eff72ca344c9ffff7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
 
        [BZ #19122]
+       * include/signal.h [IS_IN (rtld)] (__sigaction): Add
+       attribute_hidden.
+       [IS_IN (rtld)] (__libc_sigaction): Likewise.
+
        * include/setjmp.h (__longjmp): Add attribute_hidden.
        [IS_IN (rtld)] (__sigsetjmp): Likewise.
 
index b69de03ff6606f834b9cbcfb3b82c9d3df7e8bcf..276a99d80a44afc260b811a0862779daec9e0666 100644 (file)
@@ -61,6 +61,11 @@ extern int __xpg_sigpause (int sig);
 
 /* Allocate real-time signal with highest/lowest available priority.  */
 extern int __libc_allocate_rtsig (int __high);
+
+#  if IS_IN (rtld)
+extern __typeof (__sigaction) __sigaction attribute_hidden;
+extern __typeof (__libc_sigaction) __libc_sigaction attribute_hidden;
+#  endif
 # endif
 #endif
 #endif
This page took 0.10121 seconds and 5 git commands to generate.