[patch] Correct CFI descriptor in i386 __mpn_lshift

Paul Pluzhnikov ppluzhnikov@google.com
Sat Feb 6 03:24:00 GMT 2010


Greetings,

Something we noticed by code inspection: the unwind descriptor for
__mpn_lshift in sysdeps/i386/lshift.S is incorrect.

Here is a fixlet.

[Google has blanket copyright assignment to FSF.]

Thanks,
--
Paul Pluzhnikov

2010-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>

	* sysdeps/i386/lshift.S (__mpn_lshift): Correct CFI desciptor.



diff --git a/sysdeps/i386/lshift.S b/sysdeps/i386/lshift.S
index 536d987..ae1e51e 100644
--- a/sysdeps/i386/lshift.S
+++ b/sysdeps/i386/lshift.S
@@ -95,6 +95,10 @@ L(1):	movl	(%esi,%edx,4),%eax
 	LEAVE
 	ret
 
+	cfi_adjust_cfa_offset (12)
+	cfi_rel_offset (edi, 8)
+	cfi_rel_offset (esi, 4)
+	cfi_rel_offset (ebx, 0)
 L(end):	shll	%cl,%ebx		/* compute least significant limb */
 	movl	%ebx,(%edi)		/* store it */
 



More information about the Libc-alpha mailing list