[PATCH v1] x86: Set .text section in memset-vec-unaligned-erms (original) (raw)

Noah Goldstein goldstein.w.n@gmail.com
Sat Feb 12 21:44:33 GMT 2022


On Sat, Feb 12, 2022 at 9:47 AM H.J. Lu <hjl.tools@gmail.com> wrote:

On Sat, Feb 12, 2022 at 2:25 AM Noah Goldstein <goldstein.w.n@gmail.com> wrote: > > 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. > --- > sysdeps/x8664/multiarch/memset-vec-unaligned-erms.S | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/sysdeps/x8664/multiarch/memset-vec-unaligned-erms.S b/sysdeps/x8664/multiarch/memset-vec-unaligned-erms.S > index 7c94fcdae1..785fee1d57 100644 > --- a/sysdeps/x8664/multiarch/memset-vec-unaligned-erms.S > +++ b/sysdeps/x8664/multiarch/memset-vec-unaligned-erms.S > @@ -114,6 +114,7 @@ > # error SECTION is not defined! > #endif > > + .section SECTION(.text), "ax", @progbits > #if ISIN (libc) > # if defined SHARED _> ENTRYCHK (WMEMSETCHKSYMBOL (wmemsetchk, unaligned)) > -- > 2.25.1 > LGTM. Reviewed-by: H.J. Lu <hjl.tools@gmail.com> Thanks.

Thanks pushed.

-- H.J.



More information about the Libc-alpha mailing list