XaviDCR92 / sdcc-gas

GNU assembler syntax support for SDCC
GNU General Public License v2.0
11 stars 1 forks source link

Should still work with sdcc fork of asxxxx #4

Open spth opened 5 years ago

spth commented 5 years ago

It would be better, if, when --gas is not used, everything still works as before.

However, something seems wrong, as regression testing for stm8 or stm8-large fails:

philipp@notebook5:/tmp/sdcc-gas/support/regression$ make test-stm8
Running stm8 regression tests
Multiple definition of ___str_0
Multiple definition of ___str_1
Multiple definition of ___str_2
Multiple definition of ___str_3
Multiple definition of ___str_4
Multiple definition of ___str_5
Multiple definition of ___str_6
Multiple definition of ___str_7
Multiple definition of ___str_8

?ASlink-Warning-Undefined Global 's_INITIALIZED' referenced by module 'testfwk'
XaviDCR92 commented 5 years ago

Solved on commit cf1d3aec552ebaea437935e74e5eabda4bd989e7. Could you please try it yourself?

spth commented 5 years ago

stm8 regression tests now work for me. pdk15 still fails. And I see lots of tests failing for stm8-large.

XaviDCR92 commented 5 years ago

Confirmed stm8-large tests fail:

Summary for 'stm8-large': 5 abnormal stops ( 2 invalid instructions, ), 45 failures, 11371 tests, 2102 test cases, 2432889 bytes, 29279079 ticks
   Failure: gen/stm8-large/bug-1918/bug-1918
   Failure: results/stm8-large/bug-2124.out
   Failure: gen/stm8-large/bug-2373/bug-2373
   Failure: results/stm8-large/bug-2455.out
   Failure: gen/stm8-large/bug-2732/bug-2732
   Failure: gen/stm8-large/bug-2822/bug-2822
   Failure: results/stm8-large/bug-927659.out
   Failure: gen/stm8-large/bug1057979/bug1057979
   Failure: gen/stm8-large/bug3521024/bug3521024
   Failure: gen/stm8-large/dhrystone/dhrystone
   Failure: gen/stm8-large/funptrs/funptrs_type_bool
   Failure: gen/stm8-large/funptrs/funptrs_type_char
   abnormal stop: gen/stm8-large/funptrs/funptrs_type_int
   Failure: gen/stm8-large/funptrs/funptrs_type_long
   Failure: results/stm8-large/gcc-torture-execute-20021118-2.out
   Failure: results/stm8-large/gcc-torture-execute-20021120-3.out
   Failure: gen/stm8-large/gcc-torture-execute-20030626-1/gcc-torture-execute-20030626-1
   Failure: results/stm8-large/gcc-torture-execute-20030626-2.out
   Failure: results/stm8-large/gcc-torture-execute-20070201-1.out
   Failure: results/stm8-large/gcc-torture-execute-20121108-1.out
   Failure: results/stm8-large/gcc-torture-execute-921208-1.out
   Failure: gen/stm8-large/gcc-torture-execute-930513-1/gcc-torture-execute-930513-1
   Failure: results/stm8-large/gcc-torture-execute-930702-1.out
   Failure: results/stm8-large/gcc-torture-execute-960327-1.out
   Failure: results/stm8-large/gcc-torture-execute-991112-1.out
   Failure: gen/stm8-large/gcc-torture-execute-func-ptr-1/gcc-torture-execute-func-ptr-1
   Failure: gen/stm8-large/gcc-torture-execute-pr34456/gcc-torture-execute-pr34456
   Failure: results/stm8-large/gcc-torture-execute-pr68390.out
   Failure: results/stm8-large/gcc-torture-execute-pr78586.out
   Failure: gen/stm8-large/qsort/qsort_type_signed_int
   Invalid instruction: gen/stm8-large/qsort/qsort_type_signed_long
   abnormal stop: gen/stm8-large/qsort/qsort_type_signed_long
   abnormal stop: gen/stm8-large/snprintf/snprintf_type_FLOAT
   Failure: gen/stm8-large/snprintf/snprintf_type_INT
   Invalid instruction: gen/stm8-large/snprintf/snprintf_type_LONG
   abnormal stop: gen/stm8-large/snprintf/snprintf_type_LONG
   abnormal stop: gen/stm8-large/snprintf/snprintf_type_STRING
   Failure: results/stm8-large/z88dk.out