* gas/all/cofftag.s: Convert numbers in .type directives to decimal.
* gas/all/gas.exp: enable cofftag-test for z80-*-coff.
This commit is contained in:
parent
dbb33a874e
commit
e627d9a0e2
3 changed files with 15 additions and 7 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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*] \
|
||||
|
|
Loading…
Reference in a new issue