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.
This commit is contained in:
H.J. Lu 2017-10-01 17:44:52 -07:00
parent fd331b1179
commit 047d1a81fd
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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]

View File

@ -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