uClibc patches for sh-2

Mike Frysinger vapier at gentoo.org
Sat Oct 21 07:02:10 UTC 2006


On Wednesday 18 October 2006 05:13, Paul Mundt wrote:
> On Tue, Oct 17, 2006 at 03:20:07PM +0100, Mark Shinwell wrote:
> > Paul Mundt wrote:
> > >>--- Rules.mak	(revision 16216)
> > >>+++ Rules.mak	(working copy)
> > >>@@ -345,9 +345,11 @@ ifeq ($(UCLIBC_HAS_SOFT_FLOAT),y)
> > >> # soft float encodings.
> > >> ifneq ($(TARGET_ARCH),nios)
> > >> ifneq ($(TARGET_ARCH),nios2)
> > >>+ifneq ($(CONFIG_SH2),y)
> > >> CFLAGS += -msoft-float
> > >> endif
> > >> endif
> > >>+endif
> > >
> > >This is not really limited to SH-2, unless you know of some -msoft-float
> > >patches for the other targets that I'm unaware of.
> >
> > You're saying that -msoft-float should be excluded for other SH variants
> > as well, right?  If so, what should be the correct test here?
>
> Yes, we don't have any gcc support for any of the targets. I would simply
> match ($(TARGET_ARCH),sh) instead. Generally we just don't turn the thing
> on, so the issue doesn't really pop up for the other targets.

i dont quite follow here ... -msoft-float is only forced when the user tries 
to build for a soft-float target

if gcc/superh doesnt support -msoft-float, why are you trying to build a 
softfloat uClibc ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20061021/8ef536c2/attachment-0002.pgp 


More information about the uClibc mailing list