]> git.ipfire.org Git - thirdparty/glibc.git/commit
string: Ensure *_chk routines have their hidden builtin definition available
authorFrédéric Bérat <fberat@redhat.com>
Thu, 20 Apr 2023 12:07:52 +0000 (14:07 +0200)
committerFrédéric Bérat <fberat@redhat.com>
Wed, 5 Jul 2023 14:59:48 +0000 (16:59 +0200)
commitdd8486ffc195f5fe150b2d3724c7712686cfddb0
tree8c6a24a94d1884b92f9b48536b39847110a23564
parentba96ff24b253d0321508b8b462103bbaa2975bb5
string: Ensure *_chk routines have their hidden builtin definition available

If libc_hidden_builtin_{def,proto} isn't properly set for *_chk routines,
there are unwanted PLT entries in libc.so.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
28 files changed:
debug/memcpy_chk.c
debug/memmove_chk.c
debug/mempcpy_chk.c
debug/memset_chk.c
debug/stpcpy_chk.c
include/string.h
sysdeps/i386/i586/memcpy.S
sysdeps/i386/i586/memset.S
sysdeps/i386/i686/memcpy.S
sysdeps/i386/i686/memmove.S
sysdeps/i386/i686/mempcpy.S
sysdeps/i386/i686/memset.S
sysdeps/i386/i686/multiarch/memcpy_chk.c
sysdeps/i386/i686/multiarch/memmove_chk.c
sysdeps/i386/i686/multiarch/mempcpy_chk.c
sysdeps/i386/i686/multiarch/memset_chk.c
sysdeps/i386/memcpy_chk.S
sysdeps/i386/memmove_chk.S
sysdeps/i386/mempcpy_chk.S
sysdeps/i386/memset_chk.S
sysdeps/x86_64/memcpy_chk.S
sysdeps/x86_64/memmove_chk.S
sysdeps/x86_64/mempcpy_chk.S
sysdeps/x86_64/memset_chk.S
sysdeps/x86_64/multiarch/memcpy_chk.c
sysdeps/x86_64/multiarch/memmove_chk.c
sysdeps/x86_64/multiarch/mempcpy_chk.c
sysdeps/x86_64/multiarch/memset_chk.c