This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Possible ARM binutils/gcc errors...
- To: sjhill at cotw dot com
- Subject: Re: Possible ARM binutils/gcc errors...
- From: Philip Blundell <philb at gnu dot org>
- Date: Fri, 27 Jul 2001 21:13:04 +0100
- Cc: linux-arm at lists dot arm dot linux dot org dot uk, binutils at sources dot redhat dot com
- References: <3B61AD6C.B2E311CF@cotw.com>
>I even reconfigured both binutils and gcc with '--nfp' to see if it
>made a difference and I still get the same messages. Anyone have some
>insight on this? Thanks.
The kernel isn't using the right flags for assembler files. Try patching
arch/arm/Makefile like this.
@@ -39,7 +38,7 @@ tune-$(CONFIG_CPU_SA110) :=-mtune=strong
tune-$(CONFIG_CPU_SA1100) :=-mtune=strongarm1100
CFLAGS += -mapcs-32 $(apcs-y) $(arch-y) $(tune-y) -mshort-load-bytes -msoft-float
-AFLAGS += -mapcs-32 $(apcs-y) $(arch-y) -mno-fpu
+AFLAGS += -mapcs-32 $(apcs-y) $(arch-y) -mno-fpu -msoft-float
LIBGCC := $(shell $(CC) $(CFLAGS) --print-libgcc-file-name)
p.
PGP signature