diff options
author | Ulrich Drepper <drepper@redhat.com> | 2010-02-09 22:54:36 -0800 |
---|---|---|
committer | Petr Baudis <pasky@ucw.cz> | 2010-05-12 01:54:24 +0200 |
commit | c648b3046e619146357f706a1d0ccced601e039f (patch) | |
tree | ca484f7d1e76845a689645bf851c9237233fa713 | |
parent | b204d65517276f8cdaf3a83349d0f1f553da68a2 (diff) | |
download | glibc-c648b3046e619146357f706a1d0ccced601e039f.tar.gz glibc-c648b3046e619146357f706a1d0ccced601e039f.tar.xz glibc-c648b3046e619146357f706a1d0ccced601e039f.zip |
Fix i386 __mpn_lshift unwind info
(cherry picked from commit 1d7223f31af8c35053e7a6fbac3070bcaa7bf87d)
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sysdeps/i386/lshift.S | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index b9f7357132..a63f1b9036 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-02-09 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/i386/lshift.S: Fix unwind information. + 2010-02-03 Ulrich Drepper <drepper@redhat.com> [BZ #11242] diff --git a/sysdeps/i386/lshift.S b/sysdeps/i386/lshift.S index 536d9878eb..398cf038c7 100644 --- a/sysdeps/i386/lshift.S +++ b/sysdeps/i386/lshift.S @@ -1,5 +1,5 @@ /* i80386 __mpn_lshift -- - Copyright (C) 1992, 1994, 1997-2000, 2005 Free Software Foundation, Inc. + Copyright (C) 1992,1994,1997-2000,2005,2010 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP Library is free software; you can redistribute it and/or modify @@ -55,6 +55,7 @@ ENTRY (BP_SYM (__mpn_lshift)) movl (%esi,%edx,4),%ebx /* read most significant limb */ cfi_rel_offset (ebx, 0) + cfi_remember_state xorl %eax,%eax shldl %cl,%ebx,%eax /* compute carry limb */ decl %edx @@ -95,6 +96,7 @@ L(1): movl (%esi,%edx,4),%eax LEAVE ret + cfi_restore_state L(end): shll %cl,%ebx /* compute least significant limb */ movl %ebx,(%edi) /* store it */ |