Possible ARM binutils/gcc errors...

Philip Blundell philb@gnu.org
Fri Jul 27 13:13:00 GMT 2001


>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.


-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: Exmh version 2.1.1 10/15/1999 (debian)

iD8DBQE7YctPVTLPJe9CT30RAn8xAJ9Sw9rRe7ENqm7ShHjQg2/d6vbVuwCeKdgb
zhAmYD76rbZqzaH0KJAiBh8=
=wQgd
-----END PGP SIGNATURE-----


More information about the Binutils mailing list