diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-01 17:44:52 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-01 17:45:07 -0700 |
commit | 047d1a81fd82db4cd7458fec37230f3b31b414e9 (patch) | |
tree | 875420172074614a4c0a86f8bacec182b9354cfc | |
parent | fd331b1179df7fef8016273fb26f5f054793875a (diff) | |
download | glibc-047d1a81fd82db4cd7458fec37230f3b31b414e9.tar glibc-047d1a81fd82db4cd7458fec37230f3b31b414e9.tar.gz glibc-047d1a81fd82db4cd7458fec37230f3b31b414e9.tar.bz2 glibc-047d1a81fd82db4cd7458fec37230f3b31b414e9.zip |
Hide internal __vstrfmon_l function [BZ #18822]
Hide internal __vstrfmon_l function to allow direct access within libc.so
and libc.a without using GOT nor PLT.
[BZ #18822]
* include/monetary.h (__vstrfmon_l): Add attribute_hidden.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | include/monetary.h | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,6 +1,11 @@ 2017-10-01 H.J. Lu <hongjiu.lu@intel.com> [BZ #18822] + * include/monetary.h (__vstrfmon_l): Add attribute_hidden. + +2017-10-01 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #18822] * include/sched.h (__sched_setparam): Add libc_hidden_proto. * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def. diff --git a/include/monetary.h b/include/monetary.h index 2a182636d2..c130ed56a3 100644 --- a/include/monetary.h +++ b/include/monetary.h @@ -3,5 +3,6 @@ #include <stdarg.h> extern ssize_t __vstrfmon_l (char *s, size_t maxsize, locale_t loc, - const char *format, va_list ap); + const char *format, va_list ap) + attribute_hidden; #endif |