mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 16:53:50 +08:00
Re: gas: Use the directory name in .file 0
PR gas/28266 * testsuite/gas/elf/dwarf-5-file0-2.s: Use %object rather than @object, .4byte instead of .long, and .asciz instead of .string.
This commit is contained in:
@ -5,7 +5,7 @@
|
|||||||
.globl x
|
.globl x
|
||||||
.section .bss
|
.section .bss
|
||||||
.balign 4
|
.balign 4
|
||||||
.type x, @object
|
.type x, %object
|
||||||
.size x, 4
|
.size x, 4
|
||||||
x:
|
x:
|
||||||
.zero 4
|
.zero 4
|
||||||
@ -14,30 +14,30 @@ x:
|
|||||||
.file 1 "test.c"
|
.file 1 "test.c"
|
||||||
.section .debug_info,"",%progbits
|
.section .debug_info,"",%progbits
|
||||||
.Ldebug_info0:
|
.Ldebug_info0:
|
||||||
.long 0x32
|
.4byte 0x32
|
||||||
.2byte 0x5
|
.2byte 0x5
|
||||||
.byte 0x1
|
.byte 0x1
|
||||||
.byte 0x4
|
.byte 0x4
|
||||||
.long .Ldebug_abbrev0
|
.4byte .Ldebug_abbrev0
|
||||||
.uleb128 0x1
|
.uleb128 0x1
|
||||||
.long .LASF2
|
.4byte .LASF2
|
||||||
.byte 0x1d
|
.byte 0x1d
|
||||||
.long .LASF0
|
.4byte .LASF0
|
||||||
.long .LASF1
|
.4byte .LASF1
|
||||||
.long .Ldebug_line0
|
.4byte .Ldebug_line0
|
||||||
.uleb128 0x2
|
.uleb128 0x2
|
||||||
.string "x"
|
.asciz "x"
|
||||||
.byte 0x1
|
.byte 0x1
|
||||||
.byte 0x1
|
.byte 0x1
|
||||||
.byte 0x5
|
.byte 0x5
|
||||||
.long 0x2e
|
.4byte 0x2e
|
||||||
.uleb128 0x5
|
.uleb128 0x5
|
||||||
.byte 0x3
|
.byte 0x3
|
||||||
.long x
|
.4byte x
|
||||||
.uleb128 0x3
|
.uleb128 0x3
|
||||||
.byte 0x4
|
.byte 0x4
|
||||||
.byte 0x5
|
.byte 0x5
|
||||||
.string "int"
|
.asciz "int"
|
||||||
.byte 0
|
.byte 0
|
||||||
.section .debug_abbrev,"",%progbits
|
.section .debug_abbrev,"",%progbits
|
||||||
.Ldebug_abbrev0:
|
.Ldebug_abbrev0:
|
||||||
@ -88,24 +88,24 @@ x:
|
|||||||
.byte 0
|
.byte 0
|
||||||
.byte 0
|
.byte 0
|
||||||
.section .debug_aranges,"",%progbits
|
.section .debug_aranges,"",%progbits
|
||||||
.long 0x14
|
.4byte 0x14
|
||||||
.2byte 0x2
|
.2byte 0x2
|
||||||
.long .Ldebug_info0
|
.4byte .Ldebug_info0
|
||||||
.byte 0x4
|
.byte 0x4
|
||||||
.byte 0
|
.byte 0
|
||||||
.2byte 0
|
.2byte 0
|
||||||
.2byte 0
|
.2byte 0
|
||||||
.long 0
|
.4byte 0
|
||||||
.long 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
|
||||||
.LASF2:
|
.LASF2:
|
||||||
.string "GNU C17 11.2.1 -g"
|
.asciz "GNU C17 11.2.1 -g"
|
||||||
.section .debug_line_str,"MS",%progbits,1
|
.section .debug_line_str,"MS",%progbits,1
|
||||||
.LASF1:
|
.LASF1:
|
||||||
.string "/example"
|
.asciz "/example"
|
||||||
.LASF0:
|
.LASF0:
|
||||||
.string "test.c"
|
.asciz "test.c"
|
||||||
.ident "GCC: (GNU) 11.2.1"
|
.ident "GCC: (GNU) 11.2.1"
|
||||||
.section .note.GNU-stack,"",%progbits
|
.section .note.GNU-stack,"",%progbits
|
||||||
|
Reference in New Issue
Block a user