From dad7c6801240221078caa0927b1719eb96cdc83a Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 22 Jul 2010 04:48:18 +0000 Subject: [PATCH] * gas/arm/mapdir.s: Don't specify attr/type for .fini_array. * gas/elf/dwarf2-3.s: Don't specify attr for .init_array. * gas/elf/dwarf2-3.d: Don't run on h8300. --- gas/testsuite/ChangeLog | 6 ++++++ gas/testsuite/gas/arm/mapdir.s | 2 +- gas/testsuite/gas/elf/dwarf2-3.d | 2 +- gas/testsuite/gas/elf/dwarf2-3.s | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 3bb57ab3a3..63058013c3 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-07-22 Alan Modra + + * gas/arm/mapdir.s: Don't specify attr/type for .fini_array. + * gas/elf/dwarf2-3.s: Don't specify attr for .init_array. + * gas/elf/dwarf2-3.d: Don't run on h8300. + 2010-07-19 Andreas Schwab * gas/i386/x86-64-unwind.d: Ignore "Key to Flags" contents. diff --git a/gas/testsuite/gas/arm/mapdir.s b/gas/testsuite/gas/arm/mapdir.s index 7260dd054a..ff071791c8 100644 --- a/gas/testsuite/gas/arm/mapdir.s +++ b/gas/testsuite/gas/arm/mapdir.s @@ -2,7 +2,7 @@ # generated. This could lead to duplicate mapping symbols at # the same address. - .section .fini_array,"aw",%fini_array + .section .fini_array .thumb .align 2 .type __do_global_dtors_aux_fini_array_entry, %object diff --git a/gas/testsuite/gas/elf/dwarf2-3.d b/gas/testsuite/gas/elf/dwarf2-3.d index 2d8c2ace22..44a2a6d17f 100644 --- a/gas/testsuite/gas/elf/dwarf2-3.d +++ b/gas/testsuite/gas/elf/dwarf2-3.d @@ -1,6 +1,6 @@ #readelf: -wl #name: DWARF2 3 -#not-target: ia64-*-* +#not-target: ia64-*-* h8300-*-* Raw dump of debug contents of section .debug_line: diff --git a/gas/testsuite/gas/elf/dwarf2-3.s b/gas/testsuite/gas/elf/dwarf2-3.s index 17752d2023..2144726a01 100644 --- a/gas/testsuite/gas/elf/dwarf2-3.s +++ b/gas/testsuite/gas/elf/dwarf2-3.s @@ -7,7 +7,7 @@ .Ldebug_line0: .text .Ltext0: - .section .init_array,"aw" + .section .init_array .align 4 .type init_array, %object .size init_array, 4