aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/libm-ieee754/e_atan2f.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2025-01-01 08:20:34 +0800
committerH.J. Lu <hjl.tools@gmail.com>2025-01-03 05:30:44 +0800
commite9eea05986e4a02f1169ef0775c1d05802c5287f (patch)
tree5cd9cf4f18244e2af8afddb1f97acbd907b3e844 /sysdeps/libm-ieee754/e_atan2f.c
parented97ef7a4ba990132e5eadcf95cb31ef602f3603 (diff)
downloadglibc-master.zip
glibc-master.tar.gz
glibc-master.tar.bz2
Redirect mempcpy and stpcpy only in libc.aHEADmaster
The mempcpy and stpcpy redirections to __mempcpy and __stpcpy were added by commit 939da41143341bbcdd3dd50ee7b57776603da260 Author: Joseph Myers <joseph@codesourcery.com> Date: Wed Nov 12 22:36:34 2014 +0000 Fix stpcpy / mempcpy namespace (bug 17573). to fix the namespace bug since __mempcpy and __stpcpy were defined as macros in <bits/string2.h>. These macros call __builtin_mempcpy and __builtin_stpcpy which may end up calling the C functions mempcpy and stpcpy. In libc.so, libc_hidden_builtin_proto ensures that calls to mempcpy and stpcpy are in turn mapped to call __GI_mempcpy and __GI_stpcpy. The redirections were applied outside of libc.so, including libc.a, to map mempcpy and stpcpy to __mempcpy and __stpcpy. Since commit 18b10de7ced9e9c3843299fb600e40b11af3e0af Author: Wilco Dijkstra <wdijkstr@arm.com> Date: Mon Jun 12 15:19:38 2017 +0100 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com> There is no longer a need for string2.h, so remove it and all mention of it. Move the redirect for __stpcpy to include/string.h since it is still required until all internal uses have been renamed. This fixes several linknamespace/localplt failures when building with -Os. removed the __mempcpy and __stpcpy macros from the public header file, limit these redirections to libc.a to avoid Clang error: In file included from tst-iconv-sticky-input-error.c:22: In file included from ./gconv_int.h:24: ../include/string.h:182:44: error: attribute declaration must precede definition [-Werror,-Wignored-attributes] 182 | extern __typeof (mempcpy) mempcpy __asm__ ("__mempcpy"); | ^ ../string/bits/string_fortified.h:42:8: note: previous definition is here 42 | __NTH (mempcpy (void *__restrict __dest, const void *__restrict __src, | ^ when testing with Clang for fortify build. Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Reviewed-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sysdeps/libm-ieee754/e_atan2f.c')
0 files changed, 0 insertions, 0 deletions