[46/58] Hide internal __vstrfmon_l function [BZ #18822]
Commit Message
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.
---
include/monetary.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Comments
On 9/1/17, H.J. Lu <hjl.tools@gmail.com> wrote:
> 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.
Tested with build-many-glibcs.py. I am checking it in.
@@ -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