diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-08-02 20:10:45 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-08-02 20:10:45 +0000 |
commit | 317bc8c8201cc3851a51eb7b0f884134cf1f3010 (patch) | |
tree | 67858d071002377795f5ab55adbf9466c6a1e545 /gas | |
parent | 42c0c4f1c509c9077a24405c6bf8bb679cf64b68 (diff) | |
download | gdb-317bc8c8201cc3851a51eb7b0f884134cf1f3010.zip gdb-317bc8c8201cc3851a51eb7b0f884134cf1f3010.tar.gz gdb-317bc8c8201cc3851a51eb7b0f884134cf1f3010.tar.bz2 |
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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/data-1.d | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/data-1.s | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/elf.exp | 1 |
4 files changed, 19 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 6e590f9..e3b76a3 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -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. diff --git a/gas/testsuite/gas/elf/data-1.d b/gas/testsuite/gas/elf/data-1.d new file mode 100644 index 0000000..9ea2c74 --- /dev/null +++ b/gas/testsuite/gas/elf/data-1.d @@ -0,0 +1,7 @@ +#objdump: -s -j .data +#name: elf data + +.*: +file format .* + +Contents of section .data: + 0000 00000000 fa448607 00000000 fdffffff .....D.......... diff --git a/gas/testsuite/gas/elf/data-1.s b/gas/testsuite/gas/elf/data-1.s new file mode 100644 index 0000000..aff6611 --- /dev/null +++ b/gas/testsuite/gas/elf/data-1.s @@ -0,0 +1,3 @@ + .data + .quad 542196645677236224 + .quad -12884901888 diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp index 7c12305..e06db46 100644 --- a/gas/testsuite/gas/elf/elf.exp +++ b/gas/testsuite/gas/elf/elf.exp @@ -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" |