This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Fix gas elf/dwarf2-3 testcase for ARM
- From: "Kirill A. Shutemov" <kirill at shutemov dot name>
- To: binutils <binutils at sourceware dot org>
- Date: Wed, 21 Oct 2009 12:32:02 +0300
- Subject: Fix gas elf/dwarf2-3 testcase for ARM
I really don't know why "Minimum Instruction Length" is 2 on ARM.
Any ideas?.
--
diff --git binutils/gas/testsuite/gas/elf/dwarf2-3.d
binutils/gas/testsuite/gas/elf/dwarf2-3.d
index 3dab884..99a6f84 100644
--- binutils/gas/testsuite/gas/elf/dwarf2-3.d
+++ binutils/gas/testsuite/gas/elf/dwarf2-3.d
@@ -8,7 +8,7 @@ Raw dump of debug contents of section .debug_line:
Length: 41
DWARF Version: 2
Prologue Length: 35
- Minimum Instruction Length: 1
+ Minimum Instruction Length: [12]
Initial value of 'is_stmt': 1
Line Base: -5
Line Range: 14
diff --git binutils/gas/testsuite/gas/elf/dwarf2-3.s
binutils/gas/testsuite/gas/elf/dwarf2-3.s
index 3d6a278..a9d81e1 100644
--- binutils/gas/testsuite/gas/elf/dwarf2-3.s
+++ binutils/gas/testsuite/gas/elf/dwarf2-3.s
@@ -1,20 +1,20 @@
.file "beginwarn.c"
- .section .debug_abbrev,"",@progbits
+ .section .debug_abbrev,"",%progbits
.Ldebug_abbrev0:
- .section .debug_info,"",@progbits
+ .section .debug_info,"",%progbits
.Ldebug_info0:
- .section .debug_line,"",@progbits
+ .section .debug_line,"",%progbits
.Ldebug_line0:
.text
.Ltext0:
.section .init_array,"aw"
.align 4
- .type init_array, @object
+ .type init_array, %object
.size init_array, 4
init_array:
.long foo
- .section .gnu.warning.foo,"a",@progbits
- .type _evoke_link_warning_foo, @object
+ .section .gnu.warning.foo,"a",%progbits
+ .type _evoke_link_warning_foo, %object
.size _evoke_link_warning_foo, 27
_evoke_link_warning_foo:
.string "function foo is deprecated"
@@ -23,7 +23,7 @@ _evoke_link_warning_foo:
.Letext0:
.section .debug_info
.long 0x8a
- .value 0x2
+ .short 0x2
.long .Ldebug_abbrev0
.byte 0x4
.uleb128 0x1