diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-01 15:15:15 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-01 15:15:30 -0700 |
commit | a2ca165230cfa951605e5904be838c3e3e04be0b (patch) | |
tree | 77d881d1b552e91f657304c558d42335fc46acc2 /ChangeLog | |
parent | 44af8a32c341672b5160fdc2839767e9a837ad26 (diff) | |
download | glibc-a2ca165230cfa951605e5904be838c3e3e04be0b.tar glibc-a2ca165230cfa951605e5904be838c3e3e04be0b.tar.gz glibc-a2ca165230cfa951605e5904be838c3e3e04be0b.tar.bz2 glibc-a2ca165230cfa951605e5904be838c3e3e04be0b.zip |
Mark internal gmp functions with attribute_hidden [BZ #18822]
Mark internal gmp functions with attribute_hidden to allow direct
access within libc.so and libc.a without using GOT nor PLT.
[BZ #18822]
* include/gmp.h: Declare internal functions only if _ISOMAC is
undefined.
(__mpn_extract_double): Add attribute_hidden.
(__mpn_extract_long_double): Likewise.
(__mpn_extract_float128): Likewise.
(__mpn_construct_float): Likewise.
(__mpn_construct_double): Likewise.
(__mpn_construct_long_double): Likewise.
(__mpn_construct_float128): Likewise.
(mpn_add_1): Likewise.
(mpn_addmul_1): Likewise.
(mpn_add_n): Likewise.
(mpn_cmp): Likewise.
(mpn_divrem): Likewise.
(mpn_lshift): Likewise.
(mpn_mul): Likewise.
(mpn_mul_1): Likewise.
(mpn_rshift): Likewise.
(mpn_sub_1): Likewise.
(mpn_submul_1): Likewise.
(mpn_sub_n): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -1,6 +1,31 @@ 2017-10-01 H.J. Lu <hongjiu.lu@intel.com> [BZ #18822] + * include/gmp.h: Declare internal functions only if _ISOMAC is + undefined. + (__mpn_extract_double): Add attribute_hidden. + (__mpn_extract_long_double): Likewise. + (__mpn_extract_float128): Likewise. + (__mpn_construct_float): Likewise. + (__mpn_construct_double): Likewise. + (__mpn_construct_long_double): Likewise. + (__mpn_construct_float128): Likewise. + (mpn_add_1): Likewise. + (mpn_addmul_1): Likewise. + (mpn_add_n): Likewise. + (mpn_cmp): Likewise. + (mpn_divrem): Likewise. + (mpn_lshift): Likewise. + (mpn_mul): Likewise. + (mpn_mul_1): Likewise. + (mpn_rshift): Likewise. + (mpn_sub_1): Likewise. + (mpn_submul_1): Likewise. + (mpn_sub_n): Likewise. + +2017-10-01 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #18822] * include/wchar.h (__wcsnlen): Add attribute_hidden. (__wcscat): Likewise. (__btowc): Likewise. |