This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Fix .cfi_* directive skip over >= 64KB (PR gas/10255)
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 19 Jun 2009 08:45:39 +0930
- Subject: Re: [PATCH] Fix .cfi_* directive skip over >= 64KB (PR gas/10255)
- References: <20090609122834.GD3101@sunsite.ms.mff.cuni.cz>
* gas/cfi/cfi-common-7.s: Skip a multiple of four.
* gas/cfi/cfi-common-7.d: Adjust.
Index: gas/testsuite/gas/cfi/cfi-common-7.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cfi/cfi-common-7.d,v
retrieving revision 1.1
diff -u -p -r1.1 cfi-common-7.d
--- gas/testsuite/gas/cfi/cfi-common-7.d 9 Jun 2009 15:12:45 -0000 1.1
+++ gas/testsuite/gas/cfi/cfi-common-7.d 18 Jun 2009 13:59:44 -0000
@@ -14,9 +14,9 @@ Contents of the .eh_frame section:
DW_CFA_nop
DW_CFA_nop
-00000014 000000(1c|20) 00000018 FDE cie=00000000 pc=.*
+00000014 000000(18|1c|20) 00000018 FDE cie=00000000 pc=.*
DW_CFA_advance_loc: 16 to .*
DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16
- DW_CFA_advance_loc4: 75031 to .*
+ DW_CFA_advance_loc[24]: 75040 to .*
DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 64
#...
Index: gas/testsuite/gas/cfi/cfi-common-7.s
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cfi/cfi-common-7.s,v
retrieving revision 1.1
diff -u -p -r1.1 cfi-common-7.s
--- gas/testsuite/gas/cfi/cfi-common-7.s 9 Jun 2009 15:12:45 -0000 1.1
+++ gas/testsuite/gas/cfi/cfi-common-7.s 18 Jun 2009 13:59:44 -0000
@@ -1,6 +1,6 @@
.cfi_startproc simple
.skip 16
.cfi_def_cfa 0, 16
- .skip 75031
+ .skip 75040
.cfi_def_cfa 0, 64
.cfi_endproc
--
Alan Modra
Australia Development Lab, IBM