This is the mail archive of the newlib@sourceware.cygnus.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: newlib-1.8.0 broken for SH1


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.


newlib-rc-980114.diff