diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-08-26 08:00:47 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-08-26 08:01:03 -0700 |
commit | f6b71eada3cfbaa13dd4019978e9bd29055bad9f (patch) | |
tree | 5406b9f599a4a4b3ac86b14defc4d795e32ff961 /misc | |
parent | b6e19c4bdcb6b7093a3913ce26f6ec50b9a6e0dc (diff) | |
download | glibc-f6b71eada3cfbaa13dd4019978e9bd29055bad9f.zip glibc-f6b71eada3cfbaa13dd4019978e9bd29055bad9f.tar.gz glibc-f6b71eada3cfbaa13dd4019978e9bd29055bad9f.tar.bz2 |
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 'misc')
0 files changed, 0 insertions, 0 deletions