diff options
author | Nick Clifton <nickc@redhat.com> | 2005-11-08 16:23:31 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-11-08 16:23:31 +0000 |
commit | e627d9a0e2650df2e8b517c79ff0fc4a6a9aab20 (patch) | |
tree | fdbde6557c5ed04da1a24e43c66db3d548d4ffaf /gas/testsuite | |
parent | dbb33a874e08857483099583e1d68240cd2fe453 (diff) | |
download | gdb-e627d9a0e2650df2e8b517c79ff0fc4a6a9aab20.zip gdb-e627d9a0e2650df2e8b517c79ff0fc4a6a9aab20.tar.gz gdb-e627d9a0e2650df2e8b517c79ff0fc4a6a9aab20.tar.bz2 |
* gas/all/cofftag.s: Convert numbers in .type directives to decimal.
* gas/all/gas.exp: enable cofftag-test for z80-*-coff.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/all/cofftag.s | 13 | ||||
-rw-r--r-- | gas/testsuite/gas/all/gas.exp | 3 |
3 files changed, 15 insertions, 7 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 8bd4ffc..5dfe8b6 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2005-11-08 Arnold Metselaar <arnold.metselaar@planet.nl> + + * gas/all/cofftag.s: Convert numbers in .type + directives to decimal. + * gas/all/gas.exp: enable cofftag-test for z80-*-coff. + 2005-11-08 Nathan Sidwell <nathan@codesourcery.com> Add ms2. diff --git a/gas/testsuite/gas/all/cofftag.s b/gas/testsuite/gas/all/cofftag.s index 8156599..814d3ed 100644 --- a/gas/testsuite/gas/all/cofftag.s +++ b/gas/testsuite/gas/all/cofftag.s @@ -6,6 +6,9 @@ }; enum token what= operator; + + Type numbers have been converted to decimal to make this test pass on + ports having NUMBERS_WITH_SUFFIX. */ .file "foo.c" @@ -18,18 +21,18 @@ _token: .text .def _token .scl 15 - .type 012 + .type 10 .size 4 .endef .def _operator .val 0 .scl 16 - .type 013 + .type 11 .endef .def _flags .val 1 .scl 16 - .type 013 + .type 11 .endef .def .eos .val 4 @@ -46,12 +49,12 @@ _what: .def _token .val _token .scl 2 - .type 02 + .type 2 .endef .def _what .val _what .scl 2 .tag _token .size 4 - .type 012 + .type 10 .endef diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp index 7eb180b..d92ede8 100644 --- a/gas/testsuite/gas/all/gas.exp +++ b/gas/testsuite/gas/all/gas.exp @@ -192,8 +192,7 @@ case $target_triplet in { # We omit the ARM toolchains because they define locals to # start with '.', which eliminates .eos, .text etc from the output. # Omit c54x, since .tag and .def mean something different on that target -# Omit Z80, since octal numbers need a suffix on that target -if { ([istarget *-*-coff*] && ![istarget *arm*-*-coff] && ![istarget thumb*-*-coff] && ![istarget xscale-*-coff] && ![istarget *c4x*-*-coff] && ![istarget *c54x*-*-coff] && ![istarget z80-*-coff]) \ +if { ([istarget *-*-coff*] && ![istarget *arm*-*-coff] && ![istarget thumb*-*-coff] && ![istarget xscale-*-coff] && ![istarget *c4x*-*-coff] && ![istarget *c54x*-*-coff]) \ ||([istarget *-*-pe*] && ![istarget arm*-*-pe*] && ![istarget thumb*-*-pe*]) \ || [istarget i*86-*-aix*] \ || [istarget i*86-*-sco*] \ |