This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fde alignment


Richard Henderson <rth@twiddle.net> writes:

>         * dw2gencfi.c (output_cie): Align length to 4 byte boundary.
>         (cfi_finish): Likewise for fde.
>
>         * gas/alpha/elf-reloc-8.d, gas/cfi/cfi-alpha-1.d,
>         gas/cfi/cfi-alpha-2.d, gas/cfi/cfi-alpha-3.d, gas/cfi/cfi-common-1.d,
>         gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-3.d: Adjust offsets.

This fixes the testsuite for m68k.

Andreas.

2004-03-10  Andreas Schwab  <schwab@suse.de>

	* gas/cfi/cfi-m68k.d: Adjust offsets.

--- gas/testsuite/gas/cfi/cfi-m68k.d.~1.1.~	2003-08-08 16:43:43.000000000 +0200
+++ gas/testsuite/gas/cfi/cfi-m68k.d	2004-03-10 11:04:24.769191286 +0100
@@ -2,7 +2,7 @@
 #name: CFI on m68k
 The section .eh_frame contains:
 
-00000000 00000012 00000000 CIE
+00000000 00000014 00000000 CIE
   Version:               1
   Augmentation:          "zR"
   Code alignment factor: 2
@@ -12,22 +12,27 @@ The section .eh_frame contains:
 
   DW_CFA_def_cfa: r15 ofs 4
   DW_CFA_offset: r24 at cfa-4
+  DW_CFA_nop
+  DW_CFA_nop
 
-00000016 00000014 0000001a FDE cie=00000000 pc=0000001e..0000002a
-  DW_CFA_advance_loc: 4 to 00000022
+00000018 00000014 0000001c FDE cie=00000000 pc=00000020..0000002c
+  DW_CFA_advance_loc: 4 to 00000024
   DW_CFA_def_cfa_offset: 4664
-  DW_CFA_advance_loc: 6 to 00000028
+  DW_CFA_advance_loc: 6 to 0000002a
   DW_CFA_def_cfa_offset: 4
 
-0000002e 00000017 00000032 FDE cie=00000000 pc=00000036..00000042
-  DW_CFA_advance_loc: 4 to 0000003a
+00000030 00000018 00000034 FDE cie=00000000 pc=00000038..00000044
+  DW_CFA_advance_loc: 4 to 0000003c
   DW_CFA_def_cfa_offset: 8
   DW_CFA_offset: r14 at cfa-8
   DW_CFA_def_cfa_reg: r14
-  DW_CFA_advance_loc: 6 to 00000040
+  DW_CFA_advance_loc: 6 to 00000042
   DW_CFA_def_cfa_reg: r15
+  DW_CFA_nop
 
-00000049 0000000f 0000004d FDE cie=00000000 pc=00000051..00000055
+0000004c 00000010 00000050 FDE cie=00000000 pc=00000054..00000058
 
   DW_CFA_nop
   DW_CFA_nop
+  DW_CFA_nop
+

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]