aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2010-02-26 19:54:50 -0800
committerUlrich Drepper <drepper@redhat.com>2010-02-26 19:54:50 -0800
commitdc21aae6c11c65b26cc27fc1172d669956fbacb7 (patch)
tree72f914d812ff6516b72d24e5f1bf16b3e4be685b
parent4a1297d761c3754ca2643ab6cd9e9cf952d77cf5 (diff)
downloadglibc-dc21aae6c11c65b26cc27fc1172d669956fbacb7.tar
glibc-dc21aae6c11c65b26cc27fc1172d669956fbacb7.tar.gz
glibc-dc21aae6c11c65b26cc27fc1172d669956fbacb7.tar.bz2
glibc-dc21aae6c11c65b26cc27fc1172d669956fbacb7.zip
Fix unwind info in x86 strcmp-sse4.S
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/i386/i686/multiarch/strcmp-sse4.S4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index dc3c8d7347..e72551b471 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-02-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Use cfi_remember_state
+ and cfi_restore_state only if USE_AS_STRNCMP is defined.
+
2010-02-24 Ulrich Drepper <drepper@redhat.com>
* sysdeps/x86_64/Implies: Add ieee754/dbl-64/wordsize-64 entry.
diff --git a/sysdeps/i386/i686/multiarch/strcmp-sse4.S b/sysdeps/i386/i686/multiarch/strcmp-sse4.S
index d5fd23e15c..81d6ec66f7 100644
--- a/sysdeps/i386/i686/multiarch/strcmp-sse4.S
+++ b/sysdeps/i386/i686/multiarch/strcmp-sse4.S
@@ -178,7 +178,9 @@ L(first4bytes):
PUSH (%ebx)
PUSH (%edi)
PUSH (%esi)
+#ifdef USE_AS_STRNCMP
cfi_remember_state
+#endif
mov %edx, %edi
mov %eax, %esi
xorl %eax, %eax
@@ -246,8 +248,8 @@ L(ret):
ret
.p2align 4
- cfi_restore_state
#ifdef USE_AS_STRNCMP
+ cfi_restore_state
L(more16byteseq):
POP (%esi)
POP (%edi)