From: Stefan R. <do...@dr...> - 2003-07-26 23:32:11
|
Hi, sorry for posting two questions/bugs at once... I actually wanted to report yet another bug (broken right shift operator), but I discovered it has been solved in the latest snapshots :-) So here come today's bugs: 1. -nostdlib seems to be slightly broken in current snapshots. I had been using a snapshot from Feb 03 and switched to today's snapshot (20030726). If I compile my program with this command: sdcc -mz80 --nostdlib --code-loc 0x0400 --data-loc 0x5000 mysrc.c I suddenly get: "Warning: couldn't find crt0.o". With the Feb 03 snapshot, this didn't happen. 2. When I multiply ints ( int a, b, c; a = b*c; ), I get the message: ?ASlink-Warning-Undefined Global __mulsint_rrx_s referenced by module temp It seems mulsint_rrx_s isn't defined in the sdcc libraries; I only found mulint_rrx_s in lib/src/z80/mul.s. -Stefan |