diff options
author | Joseph Myers <joseph@codesourcery.com> | 2014-11-12 22:35:12 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2014-11-12 22:35:12 +0000 |
commit | 293d9a41805b1eeb440a2c59a717b332cd9c2384 (patch) | |
tree | dfb6d99f42866a43bb8f06267d8bd79be776f04f /ChangeLog | |
parent | bef8fd6013f7d398661077340753c745a8939279 (diff) | |
download | glibc-293d9a41805b1eeb440a2c59a717b332cd9c2384.zip glibc-293d9a41805b1eeb440a2c59a717b332cd9c2384.tar.gz glibc-293d9a41805b1eeb440a2c59a717b332cd9c2384.tar.bz2 |
Fix x86_64 rawmemchr namespace (bug 17572).
rawmemchr is not an ISO C function, but __rawmemchr is called from ISO
C functions, so rawmemchr should be a weak alias. On most
architecture it is, but x86_64 defines the function as rawmemchr with
__rawmemchr as a strong alias. This patch makes x86_64 follow the
same arrangements as other architectures.
Tested for x86_64 (testsuite, and that disassembly of installed shared
libraries is unchanged by the patch).
[BZ #17572]
* sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
and define as weak alias of __rawmemchr.
(__rawmemchr): Do not define as strong alias of rawmemchr.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,5 +1,10 @@ 2014-11-12 Joseph Myers <joseph@codesourcery.com> + [BZ #17572] + * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr + and define as weak alias of __rawmemchr. + (__rawmemchr): Do not define as strong alias of rawmemchr. + [BZ #17571] * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak alias of __qsort_r. |