newlib-1.8.0 broken for SH1

Ralf Corsepius corsepiu@faw.uni-ulm.de
Wed Jan 14 04:40:00 GMT 1998


Yesterday, I wrote:

> I've just discovered that newlib-1.8.0 contains invalid asm-code for the
> sh1 when compiled for --target=sh-elf
>
> Compiling for sh-elf uses several *.S files from newlib/libc/machine/sh.
>
> These files contain several "dt" asm instructions which are not
> available for the SH1.

Here is a patch to fix this problem.

It seems to work for me and Toshi (the original author, tm@netcom.com) gave
his consent to this patch.

Ralf.




More information about the Newlib mailing list