This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Correct CFI descriptor in i386 __mpn_lshift


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 */
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]