summary refs log tree commit diff
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2022-02-12 00:45:00 -0600
committerNoah Goldstein <goldstein.w.n@gmail.com>2022-02-12 04:25:19 -0600
commit7912236f4a597deb092650ca79f33504ddb4af28 (patch)
treebb622bafb49238e7e2b24f9cc786148aa17bcbca
parent098c795e85fbd05c5ef59c2d0ce59529331bea27 (diff)
downloadglibc-7912236f4a597deb092650ca79f33504ddb4af28.tar.gz
glibc-7912236f4a597deb092650ca79f33504ddb4af28.tar.xz
glibc-7912236f4a597deb092650ca79f33504ddb4af28.zip
x86: Set .text section in memset-vec-unaligned-erms
commit 3d9f171bfb5325bd5f427e9fc386453358c6e840
Author: H.J. Lu <hjl.tools@gmail.com>
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.
-rw-r--r--sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S b/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
index 7c94fcdae1..785fee1d57 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))