about summary refs log tree commit diff
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2010-02-17 22:35:18 -0800
committerUlrich Drepper <drepper@redhat.com>2010-02-17 22:35:18 -0800
commitc60bce2cdd757a96077f2ff0147619abacfabfbb (patch)
treef6d5715af514d968db1bbf7f74d189a1533d20da
parent28be6098c306bcfcffc1a0b356b76c95c20dfddf (diff)
downloadglibc-c60bce2cdd757a96077f2ff0147619abacfabfbb.tar.gz
glibc-c60bce2cdd757a96077f2ff0147619abacfabfbb.tar.xz
glibc-c60bce2cdd757a96077f2ff0147619abacfabfbb.zip
Fix unwind info in x86 memcmp-ssse3.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/i386/i686/multiarch/memcmp-ssse3.S6
2 files changed, 3 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index c8f89b8884..600c65d30c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2010-02-16  H.J. Lu  <hongjiu.lu@intel.com>
 
+	* sysdeps/i386/i686/multiarch/memcmp-ssse3.S (less1bytes): Add CFI_POP.
+
 	* sysdeps/i386/i686/multiarch/strcmp-sse4.S: Simplify unwind info.
 
 2010-02-17  H.J. Lu  <hongjiu.lu@intel.com>
diff --git a/sysdeps/i386/i686/multiarch/memcmp-ssse3.S b/sysdeps/i386/i686/multiarch/memcmp-ssse3.S
index 869f37a912..d2f852f726 100644
--- a/sysdeps/i386/i686/multiarch/memcmp-ssse3.S
+++ b/sysdeps/i386/i686/multiarch/memcmp-ssse3.S
@@ -60,6 +60,7 @@ ENTRY (MEMCMP)
 	jmp	L(less48bytes)
 
 	ALIGN (4)
+	CFI_POP (%ebx)
 L(less1bytes):
 	jb	L(zero)
 	movb	(%eax), %cl
@@ -156,7 +157,6 @@ L(shr_0):
 	sub	$0xffff, %edx
 	jnz	L(exit)
 
-
 	lea	(%ecx, %edi,1), %eax
 	lea	(%ecx, %esi,1), %edx
 	POP (%edi)
@@ -1662,7 +1662,6 @@ L(more40bytes):
 	je	L(46bytes)
 	jmp	L(47bytes)
 
-
 	ALIGN (4)
 L(less48bytes):
 	cmp	$8, %ecx
@@ -1679,9 +1678,6 @@ L(less48bytes):
 	je	L(6bytes)
 	jmp	L(7bytes)
 
-
-
-
 	ALIGN (4)
 L(44bytes):
 	mov	-44(%eax), %ecx