Fix unwind info in x86 strcmp-sse4.S

This commit is contained in:
H.J. Lu 2010-02-26 19:54:50 -08:00 committed by Ulrich Drepper
parent 4a1297d761
commit dc21aae6c1
2 changed files with 8 additions and 1 deletions

View File

@ -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.

View File

@ -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)