This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[patch] Correct CFI descriptor in i386 __mpn_lshift
- From: ppluzhnikov at google dot com (Paul Pluzhnikov)
- To: libc-alpha at sourceware dot org
- Cc: ppluzhnikov at google dot com
- Date: Fri, 5 Feb 2010 17:38:46 -0800 (PST)
- Subject: [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 */