newlib-1.8.0 broken for SH1

Ralf Corsepius
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, gave
his consent to this patch.


More information about the Newlib mailing list