]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix static linking with checking x86/x86-64 memcpy.
authorMike Frysinger <vapier@gentoo.org>
Mon, 18 Apr 2011 02:20:47 +0000 (22:20 -0400)
committerCarlos O'Donell <carlos@codesourcery.com>
Tue, 14 Jun 2011 13:29:01 +0000 (09:29 -0400)
(cherry picked from commit 4c559bcdf38d7b655860c1a31c590109f37cc0fe)

ChangeLog
NEWS
sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
sysdeps/i386/i686/multiarch/memcpy-ssse3.S
sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
sysdeps/x86_64/multiarch/memcpy-ssse3.S

index 31c7554b200ac164ed47c96a3c1639f80a65dbc7..9d3222a92b73c63d9aa5aceee032503b82ee2179 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2011-02-06  Mike Frysinger  <vapier@gentoo.org>
+
+       [BZ #12653]
+       * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
+       MEMCPY_CHK with USE_AS_BCOPY ifdef check.
+       * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
+       * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
+       * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
+
 2010-09-28  Andreas Schwab  <schwab@redhat.com>
            Ulrich Drepper  <drepper@gmail.com>
 
diff --git a/NEWS b/NEWS
index 86daa7fc583d02bed2bbe4dc0ae7fcca839769ae..7a723e4146ab864cef185bea608164aca14d2df0 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -13,7 +13,7 @@ Version 2.13
   11655, 11701, 11840, 11856, 11883, 11903, 11904, 11968, 11979, 12005,
   12037, 12067, 12077, 12078, 12092, 12093, 12107, 12108, 12113, 12140,
   12159, 12167, 12191, 12194, 12201, 12204, 12205, 12207, 12348, 12378,
-  12394, 12397, 12489
+  12394, 12397, 12489, 12653
 
 * New Linux interfaces: prlimit, prlimit64, fanotify_init, fanotify_mark
 
index 48a109ccd6ff2192b57d0f307bb72ca0a4817b76..8e8118382706c37a4e66ca629fde4dd916b148bf 100644 (file)
@@ -110,7 +110,7 @@ __i686.get_pc_thunk.bx:
 #endif
 
        .section .text.ssse3,"ax",@progbits
-#if defined SHARED && !defined NOT_IN_libc && !defined USE_AS_BCOPY
+#if !defined USE_AS_BCOPY
 ENTRY (MEMCPY_CHK)
        movl    12(%esp), %eax
        cmpl    %eax, 16(%esp)
index ec9eeb95e4e57105b8e1513440c69c458dda9186..f64f8d214641b14524716fc2999b5fb87767718e 100644 (file)
@@ -110,7 +110,7 @@ __i686.get_pc_thunk.bx:
 #endif
 
        .section .text.ssse3,"ax",@progbits
-#if defined SHARED && !defined NOT_IN_libc && !defined USE_AS_BCOPY
+#if !defined USE_AS_BCOPY
 ENTRY (MEMCPY_CHK)
        movl    12(%esp), %eax
        cmpl    %eax, 16(%esp)
index 48c974e97f8ed9d99c6c5f3f0cad3496e4a4105d..bdd114a1bdddda5cde6563b57de17edfde43408d 100644 (file)
@@ -49,7 +49,7 @@
   ud2
 
        .section .text.ssse3,"ax",@progbits
-#if defined SHARED && !defined NOT_IN_libc
+#if !defined USE_AS_BCOPY
 ENTRY (MEMCPY_CHK)
        cmpq    %rdx, %rcx
        jb      HIDDEN_JUMPTARGET (__chk_fail)
index 9a878d35ff9173f411260966cf05a8eb538f929d..cd7e45f25597ec83b8c1ad597e9335d28ab11fb8 100644 (file)
@@ -49,7 +49,7 @@
   ud2
 
        .section .text.ssse3,"ax",@progbits
-#if defined SHARED && !defined NOT_IN_libc
+#if !defined USE_AS_BCOPY
 ENTRY (MEMCPY_CHK)
        cmpq    %rdx, %rcx
        jb      HIDDEN_JUMPTARGET (__chk_fail)