with current CVS, `make check-sim` fails for h8300 targets due to assembler errors. an example from the log: Testing div.s on machine h8300h. Executing on host: .../gas/as-new .../sim/testsuite/sim/h8300/div.s --defsym sim_cpu=1 -I.../sim/testsuite/sim/h8300 -o div.s.o (timeout = 300) spawn .../gas/as-new .../sim/testsuite/sim/h8300/div.s --defsym sim_cpu=1 -I.../sim/testsuite/sim/h8300 -o div.s.o .../sim/testsuite/sim/h8300/div.s: Assembler messages: .../sim/testsuite/sim/h8300/div.s:249: Warning: operand #0xfffffffffffff000 out of range. assembler output is: .../sim/testsuite/sim/h8300/div.s: Assembler messages: .../sim/testsuite/sim/h8300/div.s:249: Warning: operand #0xfffffffffffff000 out of range. .../sim/testsuite/sim/h8300/div.s: Assembler messages: .../sim/testsuite/sim/h8300/div.s:249: Warning: operand #0xfffffffffffff000 out of range. FAIL: h8300h div.s (assembling) all i did was checkout cvs and run: ./configure --target=h8300-elf make all-sim make check-sim
Created attachment 5203 [details] Fix constant check
CVSROOT: /cvs/src Module name: src Changes by: nickc@sourceware.org 2011-01-20 12:49:05 Modified files: gas : ChangeLog gas/config : tc-h8300.c Log message: PR gas/12384 * config/tc-h8300.c (constant_fits_width_p): Use correct type for comparison. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.4393&r2=1.4394 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-h8300.c.diff?cvsroot=src&r1=1.64&r2=1.65
Hi Mike, I am going to check in the uploaded patch to fix this PR. Cheers Nick gas/ChangeLog 2011-01-20 Nick Clifton <nickc@redhat.com> PR gas/12384 * config/tc-h8300.c (constant_fits_width_p): Use correct type for comparison.
thanks ... `make check-sim` now pass for me