From: H.J. Lu Date: Mon, 2 Oct 2017 00:52:15 +0000 (-0700) Subject: Hide internal __setfpucw function [BZ #18822] X-Git-Tag: glibc-2.27~781 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0e1fd06cde496eb4f3cefdbee44e794ab5d52cb7;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index 0563a751d50..1d92fd64e49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-10-01 H.J. Lu + + [BZ #18822] + * include/fpu_control.h (__setfpucw): Add attribute_hidden. + 2017-10-01 H.J. Lu [BZ #18822] diff --git a/include/fpu_control.h b/include/fpu_control.h index 4498a83b878..5c6b3862782 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 */