This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

Re: Possible ARM binutils/gcc errors...


>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


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