368886ac46
binutils/testsuite/ 2010-07-14 H.J. Lu <hongjiu.lu@intel.com> * config/default.exp (binutils_assemble): Use default_binutils_assemble_flags. (binutils_assemble_flags): New. * lib/utils-lib.exp (default_binutils_assemble): Renamed to ... (default_binutils_assemble_flags): This. Add asflags and pass it to target_assemble. (run_dump_test): Support assembler flags. * binutils-all/i386/compressed-1.s: New. * binutils-all/i386/compressed-1a.d: Likewise. * binutils-all/i386/compressed-1b.d: Likewise. * binutils-all/i386/compressed-1c.d: Likewise. * binutils-all/i386/i386.exp: Likewise. * binutils-all/x86-64/compressed-1.s: Likewise. * binutils-all/x86-64/compressed-1a.d: Likewise. * binutils-all/x86-64/compressed-1b.d: Likewise. * binutils-all/x86-64/compressed-1c.d: Likewise. * binutils-all/x86-64/x86-64.exp: Likewise. gas/testsuite/ 2010-07-14 H.J. Lu <hongjiu.lu@intel.com> * config/default.exp (ADDR2LINE): New. (ADDR2LINEFLAGS): Likewise. * gas/i386/i386.exp: Run dw2-compress-2 and x86-64-dw2-compress-2. * gas/i386/dw2-compress-2.d: New. * gas/i386/dw2-compress-2.s: Likewise. * gas/i386/x86-64-dw2-compress-2.d: Likewise. * gas/i386/x86-64-dw2-compress-2.s: Likewise. * lib/gas-defs.exp (run_dump_test): Support addr2line as dump program. (slurp_options): Allow numbers in options.
142 lines
2 KiB
ArmAsm
142 lines
2 KiB
ArmAsm
.file "compressed-1.c"
|
|
.section .debug_abbrev,"",@progbits
|
|
.Ldebug_abbrev0:
|
|
.section .debug_info,"",@progbits
|
|
.Ldebug_info0:
|
|
.section .debug_line,"",@progbits
|
|
.Ldebug_line0:
|
|
.text
|
|
.Ltext0:
|
|
.cfi_sections .debug_frame
|
|
.p2align 4,,15
|
|
.globl foo2
|
|
.type foo2, @function
|
|
foo2:
|
|
.LFB1:
|
|
.file 1 "compressed-1.c"
|
|
.loc 1 11 0
|
|
.cfi_startproc
|
|
.loc 1 12 0
|
|
rep
|
|
ret
|
|
.cfi_endproc
|
|
.LFE1:
|
|
.size foo2, .-foo2
|
|
.p2align 4,,15
|
|
.globl foo1
|
|
.type foo1, @function
|
|
foo1:
|
|
.LFB0:
|
|
.loc 1 5 0
|
|
.cfi_startproc
|
|
.loc 1 6 0
|
|
jmp bar
|
|
.cfi_endproc
|
|
.LFE0:
|
|
.size foo1, .-foo1
|
|
.Letext0:
|
|
.section .debug_info
|
|
.long 0x5e
|
|
.value 0x3
|
|
.long .Ldebug_abbrev0
|
|
.byte 0x8
|
|
.uleb128 0x1
|
|
.long .LASF2
|
|
.byte 0x1
|
|
.long .LASF3
|
|
.long .LASF4
|
|
.quad .Ltext0
|
|
.quad .Letext0
|
|
.long .Ldebug_line0
|
|
.uleb128 0x2
|
|
.byte 0x1
|
|
.long .LASF0
|
|
.byte 0x1
|
|
.byte 0xa
|
|
.quad .LFB1
|
|
.quad .LFE1
|
|
.byte 0x1
|
|
.byte 0x9c
|
|
.uleb128 0x2
|
|
.byte 0x1
|
|
.long .LASF1
|
|
.byte 0x1
|
|
.byte 0x4
|
|
.quad .LFB0
|
|
.quad .LFE0
|
|
.byte 0x1
|
|
.byte 0x9c
|
|
.byte 0x0
|
|
.section .debug_abbrev
|
|
.uleb128 0x1
|
|
.uleb128 0x11
|
|
.byte 0x1
|
|
.uleb128 0x25
|
|
.uleb128 0xe
|
|
.uleb128 0x13
|
|
.uleb128 0xb
|
|
.uleb128 0x3
|
|
.uleb128 0xe
|
|
.uleb128 0x1b
|
|
.uleb128 0xe
|
|
.uleb128 0x11
|
|
.uleb128 0x1
|
|
.uleb128 0x12
|
|
.uleb128 0x1
|
|
.uleb128 0x10
|
|
.uleb128 0x6
|
|
.byte 0x0
|
|
.byte 0x0
|
|
.uleb128 0x2
|
|
.uleb128 0x2e
|
|
.byte 0x0
|
|
.uleb128 0x3f
|
|
.uleb128 0xc
|
|
.uleb128 0x3
|
|
.uleb128 0xe
|
|
.uleb128 0x3a
|
|
.uleb128 0xb
|
|
.uleb128 0x3b
|
|
.uleb128 0xb
|
|
.uleb128 0x11
|
|
.uleb128 0x1
|
|
.uleb128 0x12
|
|
.uleb128 0x1
|
|
.uleb128 0x40
|
|
.uleb128 0xa
|
|
.byte 0x0
|
|
.byte 0x0
|
|
.byte 0x0
|
|
.section .debug_pubnames,"",@progbits
|
|
.long 0x20
|
|
.value 0x2
|
|
.long .Ldebug_info0
|
|
.long 0x62
|
|
.long 0x2d
|
|
.string "foo2"
|
|
.long 0x47
|
|
.string "foo1"
|
|
.long 0x0
|
|
.section .debug_aranges,"",@progbits
|
|
.long 0x2c
|
|
.value 0x2
|
|
.long .Ldebug_info0
|
|
.byte 0x8
|
|
.byte 0x0
|
|
.value 0x0
|
|
.value 0x0
|
|
.quad .Ltext0
|
|
.quad .Letext0-.Ltext0
|
|
.quad 0x0
|
|
.quad 0x0
|
|
.section .debug_str,"MS",@progbits,1
|
|
.LASF2:
|
|
.string "GNU C 4.4.4"
|
|
.LASF0:
|
|
.string "foo2"
|
|
.LASF1:
|
|
.string "foo1"
|
|
.LASF4:
|
|
.string "."
|
|
.LASF3:
|
|
.string "compressed-1.c"
|