mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
Mark ld.so internel sigaction functions hidden
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.
This commit is contained in:
parent
661462d58f
commit
bdcd03eaca
@ -1,6 +1,10 @@
|
|||||||
2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
|
2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
[BZ #19122]
|
[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.
|
* include/setjmp.h (__longjmp): Add attribute_hidden.
|
||||||
[IS_IN (rtld)] (__sigsetjmp): Likewise.
|
[IS_IN (rtld)] (__sigsetjmp): Likewise.
|
||||||
|
|
||||||
|
@ -61,6 +61,11 @@ extern int __xpg_sigpause (int sig);
|
|||||||
|
|
||||||
/* Allocate real-time signal with highest/lowest available priority. */
|
/* Allocate real-time signal with highest/lowest available priority. */
|
||||||
extern int __libc_allocate_rtsig (int __high);
|
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
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user