From e627d9a0e2650df2e8b517c79ff0fc4a6a9aab20 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 8 Nov 2005 16:23:31 +0000 Subject: [PATCH] * gas/all/cofftag.s: Convert numbers in .type directives to decimal. * gas/all/gas.exp: enable cofftag-test for z80-*-coff. --- gas/testsuite/ChangeLog | 6 ++++++ gas/testsuite/gas/all/cofftag.s | 13 ++++++++----- 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 8bd4ffcfa80..5dfe8b655ca 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2005-11-08 Arnold Metselaar + + * 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 Add ms2. diff --git a/gas/testsuite/gas/all/cofftag.s b/gas/testsuite/gas/all/cofftag.s index 8156599b129..814d3edeeda 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 7eb180baba1..d92ede8450e 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*] \ -- 2.30.2