This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [SH][PATCH] SH4 NOFPU support


>> At present, building for SH4 with the FPU disabled fails with illegal 
>> instruction errors from the assembler.
> 
> Looks fine to me.

Ah, I thought that all files touched with your patch are sh4
specific, but sysdeps/sh/dl-trampoline.S is also used by sh3
and the changes

> -#ifdef HAVE_FPU
> +#ifndef __SH4_NOFPU__

are bad for sh3.  You can change sysdeps/sh/sh4/dl-trampoline.S
like as

+#ifndef __SH4_NOFPU__
 #define HAVE_FPU
+#endif
 #include <sysdeps/sh/dl-trampoline.S>

instead.  Sorry for not noticing this.

Regards,
	kaz


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