This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: fde alignment
- From: Richard Henderson <rth at redhat dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: Richard Henderson <rth at twiddle dot net>, binutils at gcc dot gnu dot org
- Date: Sun, 7 Mar 2004 15:02:42 -0800
- Subject: Re: fde alignment
- References: <20040307085312.GA26899@twiddle.net> <m3ptbprn1u.fsf@gromit.moeb>
On Sun, Mar 07, 2004 at 11:03:57AM +0100, Andreas Jaeger wrote:
> What about other platforms? I expect those also need changes for the
> testsuite...
Guh. Sorry about that.
r~
* gas/cfi/cfi-common-2.d, gas/cfi/cfi-i386.d: Adjust offsets.
Index: gas/cfi/cfi-common-2.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cfi/cfi-common-2.d,v
retrieving revision 1.3
diff -c -p -d -u -r1.3 cfi-common-2.d
--- gas/cfi/cfi-common-2.d 7 Mar 2004 08:51:21 -0000 1.3
+++ gas/cfi/cfi-common-2.d 7 Mar 2004 22:58:05 -0000
@@ -10,7 +10,7 @@ The section .eh_frame contains:
Return address column: .*
Augmentation data: 1b
#...
-00000014 00000020 00000018 FDE cie=00000000 pc=.*
+00000014 000000[12][c0] 00000018 FDE cie=00000000 pc=.*
DW_CFA_advance_loc: 4 to .*
DW_CFA_def_cfa: r0 ofs 16
DW_CFA_advance_loc: 4 to .*
Index: gas/cfi/cfi-i386.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cfi/cfi-i386.d,v
retrieving revision 1.4
diff -c -p -d -u -r1.4 cfi-i386.d
--- gas/cfi/cfi-i386.d 18 Jun 2003 17:58:48 -0000 1.4
+++ gas/cfi/cfi-i386.d 7 Mar 2004 22:58:05 -0000
@@ -2,7 +2,7 @@
#name: CFI on i386
The section .eh_frame contains:
-00000000 00000012 00000000 CIE
+00000000 00000014 00000000 CIE
Version: 1
Augmentation: "zR"
Code alignment factor: 1
@@ -12,29 +12,37 @@ The section .eh_frame contains:
DW_CFA_def_cfa: r4 ofs 4
DW_CFA_offset: r8 at cfa-4
+ DW_CFA_nop
+ DW_CFA_nop
-00000016 00000014 0000001a FDE cie=00000000 pc=0000001e..00000030
- DW_CFA_advance_loc: 6 to 00000024
+00000018 00000014 0000001c FDE cie=00000000 pc=00000020..00000032
+ DW_CFA_advance_loc: 6 to 00000026
DW_CFA_def_cfa_offset: 4664
- DW_CFA_advance_loc: 11 to 0000002f
+ DW_CFA_advance_loc: 11 to 00000031
DW_CFA_def_cfa_offset: 4
-0000002e 00000018 00000032 FDE cie=00000000 pc=00000048..00000055
- DW_CFA_advance_loc: 1 to 00000049
+00000030 00000018 00000034 FDE cie=00000000 pc=0000004a..00000057
+ DW_CFA_advance_loc: 1 to 0000004b
DW_CFA_def_cfa_offset: 8
DW_CFA_offset: r5 at cfa-8
- DW_CFA_advance_loc: 2 to 0000004b
+ DW_CFA_advance_loc: 2 to 0000004d
DW_CFA_def_cfa_reg: r5
- DW_CFA_advance_loc: 9 to 00000054
+ DW_CFA_advance_loc: 9 to 00000056
DW_CFA_def_cfa_reg: r4
-0000004a 00000014 0000004e FDE cie=00000000 pc=00000071..00000081
- DW_CFA_advance_loc: 2 to 00000073
+0000004c 00000014 00000050 FDE cie=00000000 pc=00000073..00000083
+ DW_CFA_advance_loc: 2 to 00000075
DW_CFA_def_cfa_reg: r3
- DW_CFA_advance_loc: 13 to 00000080
+ DW_CFA_advance_loc: 13 to 00000082
DW_CFA_def_cfa: r4 ofs 4
-00000062 0000000d 00000066 FDE cie=00000000 pc=00000099..0000009f
+00000064 00000010 00000068 FDE cie=00000000 pc=0000009b..000000a1
+ DW_CFA_nop
+ DW_CFA_nop
+ DW_CFA_nop
-00000073 0000000d 00000077 FDE cie=00000000 pc=000000b0..000000bf
+00000078 00000010 0000007c FDE cie=00000000 pc=000000b5..000000c4
+ DW_CFA_nop
+ DW_CFA_nop
+ DW_CFA_nop