mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
Add a testcase for PR gas/11867.
2010-08-02 H.J. Lu <hongjiu.lu@intel.com> PR gas/11867 * gas/elf/data-1.d: New. * gas/elf/data-1.s: Likewise. * elf/elf.exp: Run data-1.
This commit is contained in:
@ -1,3 +1,11 @@
|
||||
2010-08-02 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR gas/11867
|
||||
* gas/elf/data-1.d: New.
|
||||
* gas/elf/data-1.s: Likewise.
|
||||
|
||||
* elf/elf.exp: Run data-1.
|
||||
|
||||
2010-08-02 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* lib/gas-defs.exp (get_standard_section_names): New function.
|
||||
|
7
gas/testsuite/gas/elf/data-1.d
Normal file
7
gas/testsuite/gas/elf/data-1.d
Normal file
@ -0,0 +1,7 @@
|
||||
#objdump: -s -j .data
|
||||
#name: elf data
|
||||
|
||||
.*: +file format .*
|
||||
|
||||
Contents of section .data:
|
||||
0000 00000000 fa448607 00000000 fdffffff .....D..........
|
3
gas/testsuite/gas/elf/data-1.s
Normal file
3
gas/testsuite/gas/elf/data-1.s
Normal file
@ -0,0 +1,3 @@
|
||||
.data
|
||||
.quad 542196645677236224
|
||||
.quad -12884901888
|
@ -127,6 +127,7 @@ if { ([istarget "*-*-*elf*"]
|
||||
run_dump_test equ-reloc
|
||||
}
|
||||
}
|
||||
run_dump_test "data-1"
|
||||
run_dump_test "pseudo"
|
||||
run_dump_test "section0"
|
||||
run_dump_test "section1"
|
||||
|
Reference in New Issue
Block a user