mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
f6b71eada3
Replace BZERO_P with USE_AS_BZERO in i586/i686 memset.S to support i386 multi-arch memset. Also we should check SHARED not PIC for libc.so since libc.a may be compiled with PIC. * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New. * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise. * sysdeps/i386/i586/memset.S (BZERO_P): Removed. Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC. (__memset_zero_constant_len_parameter): New. * sysdeps/i386/i686/memset.S (BZERO_P): Removed. Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC. (__memset_zero_constant_len_parameter): Don't define if __memset_chk or USE_AS_BZERO are defined.
5 lines
110 B
ArmAsm
5 lines
110 B
ArmAsm
#define USE_AS_BZERO
|
|
#define memset __bzero
|
|
#include <sysdeps/i386/i686/memset.S>
|
|
weak_alias (__bzero, bzero)
|