* gas/z80/z80.exp: Added "suffix" test.

* gas/z80/suffix.s: New file.
	* gas/z80/suffix.d: New file.
This commit is contained in:
Alan Modra 2005-11-06 23:04:53 +00:00
parent fee9cbc776
commit 5baab85597
4 changed files with 37 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2005-11-07 Arnold Metselaar <arnold.metselaar@planet.nl>
* gas/z80/z80.exp: Added "suffix" test.
* gas/z80/suffix.s: New file.
* gas/z80/suffix.d: New file.
2005-11-04 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/padlock.d: Support 64bit BFD.

View File

@ -0,0 +1,15 @@
#objdump: -s -r -j .data
#name: suffixes
.*:.*
RELOCATION RECORDS FOR \[.data\]:
OFFSET[ ]+TYPE[ ]+VALUE[ ]*
00000002[ ]+r_imm16[ ]+.data[ ]*
00000014[ ]+r_imm16[ ]+.data[ ]*
Contents of section .data:
0000 0a000000 08020802 08020802 f203f203[ ]+................[ ]*
0010 10b010b0 1600[ ]+......[ ]*
#pass

View File

@ -0,0 +1,13 @@
.section .data
1010: .word 1010B
.word 1010b
.word 1010Q
.word 1010q
.word 1010O
.word 1010o
.word 1010D
.word 1010d
.word 0B010H
.word 0b010h
.word 1010f
1010:

View File

@ -1,9 +1,10 @@
# run targets for target Z80.
# run tests for target Z80.
if [istarget z80-*-*] then {
# test redefinitions
run_dump_test "redef"
# test parsing of " and '
run_dump_test "quotes"
# test suffixes
run_dump_test "suffix"
}