diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-08-19 13:43:30 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-08-20 15:22:48 -0700 |
commit | 884e3dc2fa14543c475af0e280cff07c8d468c3a (patch) | |
tree | 1074337a8c94c74f8687d9d8ceec1f11230bc34a /termios | |
parent | 25f6f0832d1778e7af436af649fd49c252b1cc86 (diff) | |
download | glibc-884e3dc2fa14543c475af0e280cff07c8d468c3a.tar.gz glibc-884e3dc2fa14543c475af0e280cff07c8d468c3a.tar.xz glibc-884e3dc2fa14543c475af0e280cff07c8d468c3a.zip |
Replace BZERO_P/PIC with USE_AS_BZERO/SHARED
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.
Diffstat (limited to 'termios')
0 files changed, 0 insertions, 0 deletions