]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Revert "i686: Fix multiple definitions of __memmove_chk and __memset_chk"
authorSam James <sam@gentoo.org>
Sat, 4 May 2024 12:28:51 +0000 (13:28 +0100)
committerSam James <sam@gentoo.org>
Sat, 4 May 2024 12:28:51 +0000 (13:28 +0100)
This reverts commit ad92c483a4bd34db1cfb3eb625212ea64848244f.

I had the wrong cherry-pick reference (the commit content is right; it's
just referring to a base that isn't upstream), but let's revert and reapply
for clarity.

Signed-off-by: Sam James <sam@gentoo.org>
sysdeps/i386/i686/memmove.S
sysdeps/i386/i686/memset.S

index effd958120082b0425afca41cb726bbbbf3777e3..f230359ad62b2443083d22f8b8def9fa29726986 100644 (file)
@@ -29,7 +29,7 @@
 #define SRC    DEST+4
 #define LEN    SRC+4
 
-#if defined SHARED && IS_IN (libc)
+#if defined PIC && IS_IN (libc)
 ENTRY_CHK (__memmove_chk)
        movl    12(%esp), %eax
        cmpl    %eax, 16(%esp)
index ab06771ea0ca071f2a6feb724385012f80fde145..f02f5a6df763d4e9ad7b3ae191242c512c8941b2 100644 (file)
@@ -27,7 +27,7 @@
 #define LEN    CHR+4
 
         .text
-#if defined SHARED && IS_IN (libc)
+#if defined PIC && IS_IN (libc)
 ENTRY_CHK (__memset_chk)
        movl    12(%esp), %eax
        cmpl    %eax, 16(%esp)