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.
This commit is contained in:
parent
edf66db113
commit
b358255f95
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue