This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.26-4-gb358255
- From: hjl at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 2 Aug 2017 15:34:59 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.26-4-gb358255
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via b358255f953943967398e19066eb266c6ea881b9 (commit)
from edf66db113cdaded68871e13ccaae158eef2a321 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=b358255f953943967398e19066eb266c6ea881b9
commit b358255f953943967398e19066eb266c6ea881b9
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Aug 2 08:32:00 2017 -0700
i386: Don't define multiarch __memmove_chk in libc.a [BZ #21791]
There is no need to define multiarch __memmove_chk in libc.a since they
aren't used at all.
[BZ #21791]
* sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
(MEMCPY_CHK): Define only if SHARED is defined.
* sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
Likewise.
* sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
Likewise.
diff --git a/ChangeLog b/ChangeLog
index 20826ea..337d37e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,2 +1,11 @@
+2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
+
+ [BZ #21791]
+ * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
+ (MEMCPY_CHK): Define only if SHARED is defined.
+ * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
+ Likewise.
+ * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
+ Likewise.
See ChangeLog.18 for earlier changes.
diff --git a/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S b/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
index 2fe2072..fd3f499 100644
--- a/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
+++ b/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
@@ -56,7 +56,7 @@
# define RETURN RETURN_END; CFI_PUSH (%ebx)
.section .text.sse2,"ax",@progbits
-# if !defined USE_AS_BCOPY
+# if !defined USE_AS_BCOPY && defined SHARED
ENTRY (MEMCPY_CHK)
movl 12(%esp), %eax
cmpl %eax, 16(%esp)
diff --git a/sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S b/sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
index 687e083..46d6597 100644
--- a/sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
+++ b/sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
@@ -100,7 +100,7 @@
#endif
.section .text.ssse3,"ax",@progbits
-#if !defined USE_AS_BCOPY
+#if !defined USE_AS_BCOPY && defined SHARED
ENTRY (MEMCPY_CHK)
movl 12(%esp), %eax
cmpl %eax, 16(%esp)
diff --git a/sysdeps/i386/i686/multiarch/memcpy-ssse3.S b/sysdeps/i386/i686/multiarch/memcpy-ssse3.S
index 53e8a6c..8b33153 100644
--- a/sysdeps/i386/i686/multiarch/memcpy-ssse3.S
+++ b/sysdeps/i386/i686/multiarch/memcpy-ssse3.S
@@ -89,7 +89,7 @@
# endif
.section .text.ssse3,"ax",@progbits
-# if !defined USE_AS_BCOPY
+# if !defined USE_AS_BCOPY && defined SHARED
ENTRY (MEMCPY_CHK)
movl 12(%esp), %eax
cmpl %eax, 16(%esp)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 9 +++++++++
.../i386/i686/multiarch/memcpy-sse2-unaligned.S | 2 +-
sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | 2 +-
sysdeps/i386/i686/multiarch/memcpy-ssse3.S | 2 +-
4 files changed, 12 insertions(+), 3 deletions(-)
hooks/post-receive
--
GNU C Library master sources