diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-08-02 10:25:11 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-08-02 10:25:25 -0700 |
commit | dfc93c41eebef639ba2d1f304f4d52ab6b834684 (patch) | |
tree | 40f3988640027b5a962dc9da7cc217d98e0bc46a /sysdeps/i386/i686/multiarch/strcat-sse2.S | |
parent | 2fee621de0776a6e729c3b18c27442e00733f2b2 (diff) | |
download | glibc-dfc93c41eebef639ba2d1f304f4d52ab6b834684.tar.gz glibc-dfc93c41eebef639ba2d1f304f4d52ab6b834684.tar.xz glibc-dfc93c41eebef639ba2d1f304f4d52ab6b834684.zip |
i386: Check PIC to enable PIC setups in multiarch functions
Check PIC, instead of SHARED, to enable PIC setups. * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead of SHARED. * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise. * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise. * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise. * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise. * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise. * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise. * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
Diffstat (limited to 'sysdeps/i386/i686/multiarch/strcat-sse2.S')
-rw-r--r-- | sysdeps/i386/i686/multiarch/strcat-sse2.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/i386/i686/multiarch/strcat-sse2.S b/sysdeps/i386/i686/multiarch/strcat-sse2.S index 6359c7330c..ca3416f379 100644 --- a/sysdeps/i386/i686/multiarch/strcat-sse2.S +++ b/sysdeps/i386/i686/multiarch/strcat-sse2.S @@ -34,7 +34,7 @@ # define PUSH(REG) pushl REG; CFI_PUSH (REG) # define POP(REG) popl REG; CFI_POP (REG) -# ifdef SHARED +# ifdef PIC # define JMPTBL(I, B) I - B /* Load an entry in a jump table into ECX and branch to it. TABLE is a |