Hide internal __setfpucw function [BZ #18822]

Hide internal __setfpucw function to allow direct access within libc.so
and libc.a without using GOT nor PLT.

	[BZ #18822]
	* include/fpu_control.h (__setfpucw): Add attribute_hidden.
This commit is contained in:
H.J. Lu 2017-10-01 17:52:15 -07:00
parent 36e7ae1e9d
commit 0e1fd06cde
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
[BZ #18822]
* include/fpu_control.h (__setfpucw): Add attribute_hidden.
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
[BZ #18822]

View File

@ -4,7 +4,7 @@
# ifndef _ISOMAC
/* Called at startup. It can be used to manipulate fpu control register. */
extern void __setfpucw (fpu_control_t);
extern void __setfpucw (fpu_control_t) attribute_hidden;
# endif /* !_ISOMAC */
#endif /* fpu_control.h */