From: Noah Goldstein Date: Sat, 12 Feb 2022 06:45:00 +0000 (-0600) Subject: x86: Set .text section in memset-vec-unaligned-erms X-Git-Tag: glibc-2.36~693 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7912236f4a597deb092650ca79f33504ddb4af28;p=thirdparty%2Fglibc.git x86: Set .text section in memset-vec-unaligned-erms commit 3d9f171bfb5325bd5f427e9fc386453358c6e840 Author: H.J. Lu Date: Mon Feb 7 05:55:15 2022 -0800 x86-64: Optimize bzero Remove setting the .text section for the code. This commit adds that back. --- diff --git a/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S b/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S index 7c94fcdae1b..785fee1d576 100644 --- a/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S +++ b/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S @@ -114,6 +114,7 @@ # error SECTION is not defined! #endif + .section SECTION(.text), "ax", @progbits #if IS_IN (libc) # if defined SHARED ENTRY_CHK (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned))