gdb/testsuite/gdb.dwarf2: Replace @ with % for ARM compatability.
The ARM assembler recognises @ symbol as a comment marker and therefore is unable to assemble some of gdb.dwarf2 testsuite tests. This patch replaces all occurrences of @ symbol with % sign to allow tests stay compatible with both ARM and x86 assembly. This patch has been tested on x86_64 and ARMv7 targets. gdb/testsuite/ChangeLog: 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org> * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove assembler errors on arm. * gdb.dwarf2/mac-fileno.S: Likewise. * gdb.dwarf2/member-ptr-forwardref.S: Likewise. * gdb.dwarf2/pr13961.S: Likewise.
This commit is contained in:
parent
fa87697221
commit
9a5911c08b
5 changed files with 28 additions and 20 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
|
||||||
|
|
||||||
|
* gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
|
||||||
|
assembler errors on arm.
|
||||||
|
* gdb.dwarf2/mac-fileno.S: Likewise.
|
||||||
|
* gdb.dwarf2/member-ptr-forwardref.S: Likewise.
|
||||||
|
* gdb.dwarf2/pr13961.S: Likewise.
|
||||||
|
|
||||||
2013-07-19 Hui Zhu <hui@codesourcery.com>
|
2013-07-19 Hui Zhu <hui@codesourcery.com>
|
||||||
|
|
||||||
PR gdb/15692
|
PR gdb/15692
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
.globl baz
|
.globl baz
|
||||||
.data /* Previously this used .bss, but it's not portable. */
|
.data /* Previously this used .bss, but it's not portable. */
|
||||||
.align 4
|
.align 4
|
||||||
.type baz, @object
|
.type baz, %object
|
||||||
.size baz, 4
|
.size baz, 4
|
||||||
baz:
|
baz:
|
||||||
.zero 4
|
.zero 4
|
||||||
|
@ -51,7 +51,7 @@ baz:
|
||||||
.text
|
.text
|
||||||
.Ltext0:
|
.Ltext0:
|
||||||
.globl main
|
.globl main
|
||||||
.type main, @function
|
.type main, %function
|
||||||
main:
|
main:
|
||||||
.LFB0:
|
.LFB0:
|
||||||
.file 1 "fission-reread.cc"
|
.file 1 "fission-reread.cc"
|
||||||
|
|
|
@ -200,7 +200,7 @@ func_cu1:
|
||||||
|
|
||||||
.Lline1_end:
|
.Lline1_end:
|
||||||
|
|
||||||
.section .debug_macinfo,"",@progbits
|
.section .debug_macinfo,"",%progbits
|
||||||
.Ldebug_macinfo0:
|
.Ldebug_macinfo0:
|
||||||
.byte 0x3 /* Start new file */
|
.byte 0x3 /* Start new file */
|
||||||
.uleb128 0x0 /* Included from line number 0 */
|
.uleb128 0x0 /* Included from line number 0 */
|
||||||
|
|
|
@ -31,24 +31,24 @@
|
||||||
} c; */
|
} c; */
|
||||||
|
|
||||||
.file "member-ptr-forwardref.cc"
|
.file "member-ptr-forwardref.cc"
|
||||||
.section .debug_abbrev,"",@progbits
|
.section .debug_abbrev,"",%progbits
|
||||||
.Ldebug_abbrev0:
|
.Ldebug_abbrev0:
|
||||||
.section .debug_info,"",@progbits
|
.section .debug_info,"",%progbits
|
||||||
.Ldebug_info0:
|
.Ldebug_info0:
|
||||||
.section .debug_line,"",@progbits
|
.section .debug_line,"",%progbits
|
||||||
.Ldebug_line0:
|
.Ldebug_line0:
|
||||||
.text
|
.text
|
||||||
.Ltext0:
|
.Ltext0:
|
||||||
.globl fp
|
.globl fp
|
||||||
.data
|
.data
|
||||||
.align 4
|
.align 4
|
||||||
.type fp, @object
|
.type fp, %object
|
||||||
.size fp, 8
|
.size fp, 8
|
||||||
fp:
|
fp:
|
||||||
.zero 8
|
.zero 8
|
||||||
.globl c
|
.globl c
|
||||||
.align 4
|
.align 4
|
||||||
.type c, @object
|
.type c, %object
|
||||||
.size c, 8
|
.size c, 8
|
||||||
c:
|
c:
|
||||||
.zero 8
|
.zero 8
|
||||||
|
@ -290,7 +290,7 @@ c:
|
||||||
.byte 0x0
|
.byte 0x0
|
||||||
.byte 0x0
|
.byte 0x0
|
||||||
.byte 0x0
|
.byte 0x0
|
||||||
.section .debug_pubnames,"",@progbits
|
.section .debug_pubnames,"",%progbits
|
||||||
.4byte 0x1b /* Length of Public Names Info */
|
.4byte 0x1b /* Length of Public Names Info */
|
||||||
.2byte 0x2 /* DWARF Version */
|
.2byte 0x2 /* DWARF Version */
|
||||||
.4byte .Ldebug_info0 /* Offset of Compilation Unit Info */
|
.4byte .Ldebug_info0 /* Offset of Compilation Unit Info */
|
||||||
|
@ -300,7 +300,7 @@ c:
|
||||||
.4byte 0x9c /* DIE offset */
|
.4byte 0x9c /* DIE offset */
|
||||||
.ascii "c\0" /* external name */
|
.ascii "c\0" /* external name */
|
||||||
.4byte 0x0
|
.4byte 0x0
|
||||||
.section .debug_pubtypes,"",@progbits
|
.section .debug_pubtypes,"",%progbits
|
||||||
.4byte 0x1d /* Length of Public Type Names Info */
|
.4byte 0x1d /* Length of Public Type Names Info */
|
||||||
.2byte 0x2 /* DWARF Version */
|
.2byte 0x2 /* DWARF Version */
|
||||||
.4byte .Ldebug_info0 /* Offset of Compilation Unit Info */
|
.4byte .Ldebug_info0 /* Offset of Compilation Unit Info */
|
||||||
|
@ -310,7 +310,7 @@ c:
|
||||||
.4byte 0x6e /* DIE offset */
|
.4byte 0x6e /* DIE offset */
|
||||||
.ascii "C\0" /* external name */
|
.ascii "C\0" /* external name */
|
||||||
.4byte 0x0
|
.4byte 0x0
|
||||||
.section .debug_str,"MS",@progbits,1
|
.section .debug_str,"MS",%progbits,1
|
||||||
.LASF5:
|
.LASF5:
|
||||||
.string "fp_t"
|
.string "fp_t"
|
||||||
.LASF2:
|
.LASF2:
|
||||||
|
@ -324,4 +324,4 @@ c:
|
||||||
.LASF1:
|
.LASF1:
|
||||||
.string "__delta"
|
.string "__delta"
|
||||||
.ident "GCC: (GNU) 4.4.2 20091222 (Red Hat 4.4.2-20)"
|
.ident "GCC: (GNU) 4.4.2 20091222 (Red Hat 4.4.2-20)"
|
||||||
.section .note.GNU-stack,"",@progbits
|
.section .note.GNU-stack,"",%progbits
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
.globl baz
|
.globl baz
|
||||||
.data /* Previously this used .bss, but it's not portable. */
|
.data /* Previously this used .bss, but it's not portable. */
|
||||||
.align 4
|
.align 4
|
||||||
.type baz, @object
|
.type baz, %object
|
||||||
.size baz, 4
|
.size baz, 4
|
||||||
baz:
|
baz:
|
||||||
#if 0
|
#if 0
|
||||||
|
@ -56,7 +56,7 @@ baz:
|
||||||
.text
|
.text
|
||||||
.Ltext0:
|
.Ltext0:
|
||||||
.globl main
|
.globl main
|
||||||
.type main, @function
|
.type main, %function
|
||||||
main:
|
main:
|
||||||
.LFB0:
|
.LFB0:
|
||||||
.4byte 0
|
.4byte 0
|
||||||
|
@ -64,7 +64,7 @@ main:
|
||||||
.size main, .-main
|
.size main, .-main
|
||||||
.Letext0:
|
.Letext0:
|
||||||
|
|
||||||
.section .debug_types,"",@progbits
|
.section .debug_types,"",%progbits
|
||||||
.Ldebug_types0:
|
.Ldebug_types0:
|
||||||
.4byte .Ltu_end - .Ltu_start /* Length of Compilation Unit Info */
|
.4byte .Ltu_end - .Ltu_start /* Length of Compilation Unit Info */
|
||||||
.Ltu_start:
|
.Ltu_start:
|
||||||
|
@ -121,7 +121,7 @@ main:
|
||||||
|
|
||||||
.Ltu_end:
|
.Ltu_end:
|
||||||
|
|
||||||
.section .debug_info,"",@progbits
|
.section .debug_info,"",%progbits
|
||||||
.Ldebug_info0:
|
.Ldebug_info0:
|
||||||
.4byte .Lcu_end - .Lcu_start /* Length of Compilation Unit Info */
|
.4byte .Lcu_end - .Lcu_start /* Length of Compilation Unit Info */
|
||||||
.Lcu_start:
|
.Lcu_start:
|
||||||
|
@ -205,7 +205,7 @@ main:
|
||||||
|
|
||||||
.Lcu_end:
|
.Lcu_end:
|
||||||
|
|
||||||
.section .debug_abbrev,"",@progbits
|
.section .debug_abbrev,"",%progbits
|
||||||
.Ldebug_abbrev0:
|
.Ldebug_abbrev0:
|
||||||
.uleb128 0x1 /* (abbrev code) */
|
.uleb128 0x1 /* (abbrev code) */
|
||||||
.uleb128 0x41 /* (TAG: DW_TAG_type_unit) */
|
.uleb128 0x41 /* (TAG: DW_TAG_type_unit) */
|
||||||
|
@ -333,7 +333,7 @@ main:
|
||||||
|
|
||||||
.byte 0
|
.byte 0
|
||||||
|
|
||||||
.section .debug_aranges,"",@progbits
|
.section .debug_aranges,"",%progbits
|
||||||
.4byte 0x1c /* Length of Address Ranges Info */
|
.4byte 0x1c /* Length of Address Ranges Info */
|
||||||
.2byte 0x2 /* DWARF Version */
|
.2byte 0x2 /* DWARF Version */
|
||||||
.4byte .Ldebug_info0 /* Offset of Compilation Unit Info */
|
.4byte .Ldebug_info0 /* Offset of Compilation Unit Info */
|
||||||
|
@ -346,10 +346,10 @@ main:
|
||||||
.4byte 0
|
.4byte 0
|
||||||
.4byte 0
|
.4byte 0
|
||||||
|
|
||||||
.section .debug_line,"",@progbits
|
.section .debug_line,"",%progbits
|
||||||
.Ldebug_line0:
|
.Ldebug_line0:
|
||||||
|
|
||||||
.section .debug_str,"MS",@progbits,1
|
.section .debug_str,"MS",%progbits,1
|
||||||
.LASF0:
|
.LASF0:
|
||||||
.string "GNU C++ 4.6.3 20120306"
|
.string "GNU C++ 4.6.3 20120306"
|
||||||
.LASF2:
|
.LASF2:
|
||||||
|
|
Loading…
Add table
Reference in a new issue