This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] commited libffi pa unwind info
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 13 Apr 2006 00:59:57 +0200
- Subject: [patch] commited libffi pa unwind info
Hello,
I just committed the attached patch to fix a c&p error in the unwind
information for linux and hpux. As obvious.
I tested the issue on hppa2.0w-hp-hpux11.11 for libffi and libjava.
No regression and no improvements.
Also acked by Dave A.
Andreas
2006-04-13 Andreas Tobler <a.tobler@schweiz.ch>
* src/pa/hpux32.S: Correct unwind offset calculation for
ffi_closure_pa32.
* src/pa/linux.S: Likewise.
Index: src/pa/linux.S
===================================================================
--- src/pa/linux.S (revision 112902)
+++ src/pa/linux.S (working copy)
@@ -348,7 +348,7 @@
.sleb128 -5
.byte 0x4 ;# DW_CFA_advance_loc4
- .word .LCFI12-.LCFI11
+ .word .LCFI22-.LCFI21
.byte 0xd ;# DW_CFA_def_cfa_register = r3
.uleb128 0x3
[wolfram:head/gcc/libffi] andreast% svn diff src/pa/h
hpux32.S hpux32.S~
[wolfram:head/gcc/libffi] andreast% svn diff src/pa/hpux32.S
Index: src/pa/hpux32.S
===================================================================
--- src/pa/hpux32.S (revision 112902)
+++ src/pa/hpux32.S (working copy)
@@ -359,7 +359,7 @@
.sleb128 -5
.byte 0x4 ;# DW_CFA_advance_loc4
- .word L$CFI12-L$CFI11
+ .word L$CFI22-L$CFI21
.byte 0xd ;# DW_CFA_def_cfa_register = r3
.uleb128 0x3