Simplify .section in dw2-icycle.S
authorJoel Brobecker <brobecker@adacore.com>
Thu, 20 Feb 2014 17:34:45 +0000 (18:34 +0100)
committerJoel Brobecker <brobecker@adacore.com>
Thu, 20 Feb 2014 17:38:44 +0000 (18:38 +0100)
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
gdb/testsuite/gdb.dwarf2/dw2-icycle.S

index 52dff1277ac6fc2e8db912d24a8a039bf9dc86c6..d1d99f8be6e7be523b233123d2080e13071ee015 100644 (file)
@@ -1,3 +1,8 @@
+2014-02-20  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
+       in .section pseudo-op.
+
 2014-02-20  lin zuojian  <manjian2006@gmail.com>
            Joel Brobecker  <brobecker@adacore.com>
            Doug Evans  <xdje42@gmail.com>
index 6bc533a0d689d4d7c561a346f31505d56cc25fd3..1f84e4a0851b4936a97164e14ec0a48e257f4612 100644 (file)
@@ -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) */