about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-10-01 17:52:15 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-10-01 17:52:15 -0700
commit0e1fd06cde496eb4f3cefdbee44e794ab5d52cb7 (patch)
tree601c5102c65e21f126e7e2dbd5e951b2168f7367 /include
parent36e7ae1e9d3b6a434e119aab4d10176aaaddf0c3 (diff)
downloadglibc-0e1fd06cde496eb4f3cefdbee44e794ab5d52cb7.tar.gz
glibc-0e1fd06cde496eb4f3cefdbee44e794ab5d52cb7.tar.xz
glibc-0e1fd06cde496eb4f3cefdbee44e794ab5d52cb7.zip
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.
Diffstat (limited to 'include')
-rw-r--r--include/fpu_control.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fpu_control.h b/include/fpu_control.h
index 4498a83b87..5c6b386278 100644
--- a/include/fpu_control.h
+++ b/include/fpu_control.h
@@ -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 */