From 83deb43f87f098f7858db8643786301eb73875f7 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 20 Feb 2014 18:34:45 +0100 Subject: [PATCH] Simplify .section in dw2-icycle.S The arm-elf assembler chokes on the extra parameters in the .section pseudo-op, so this patch removes them. gdb/testsuite/ChangeLog: * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters in .section pseudo-op. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.dwarf2/dw2-icycle.S | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 52dff1277ac..d1d99f8be6e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-02-20 Joel Brobecker + + * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters + in .section pseudo-op. + 2014-02-20 lin zuojian Joel Brobecker Doug Evans diff --git a/gdb/testsuite/gdb.dwarf2/dw2-icycle.S b/gdb/testsuite/gdb.dwarf2/dw2-icycle.S index 6bc533a0d68..1f84e4a0851 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-icycle.S +++ b/gdb/testsuite/gdb.dwarf2/dw2-icycle.S @@ -33,7 +33,7 @@ p__top: .LFE2: .Letext0: - .section .debug_info,"",@progbits + .section .debug_info .Ldebug_info0: .4byte .Ledebug_info0 - .Lsdebug_info0 /* Length of CU Info */ .Lsdebug_info0: @@ -118,7 +118,7 @@ p__top: .byte 0 /* end of children of DIE 0xb */ .Ledebug_info0: - .section .debug_abbrev,"",@progbits + .section .debug_abbrev .Ldebug_abbrev0: .uleb128 0x1 /* (abbrev code) */ .uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */ -- 2.30.2