mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 05:50:14 +00:00
b6e19c4bdc
Replace MEMPCPY_P with USE_AS_MEMPCPY in i586 memcpy.S to support i386 multi-arch memcpy. Also we should check SHARED not PIC for libc.so since libc.a may be compiled with PIC. * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed. Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC. * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
9 lines
216 B
ArmAsm
9 lines
216 B
ArmAsm
#define USE_AS_MEMPCPY
|
|
#define memcpy __mempcpy
|
|
#define __memcpy_chk __mempcpy_chk
|
|
#include <sysdeps/i386/i586/memcpy.S>
|
|
|
|
libc_hidden_def (__mempcpy)
|
|
weak_alias (__mempcpy, mempcpy)
|
|
libc_hidden_builtin_def (mempcpy)
|