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

See the CrossGCC FAQ for lots more information.


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: armv5b-softfloat with VFP


On 2005-04-11 at 16:21:18 J. Scott Merritt wrote:

> I must have really messed up somewhere - I note that it is sending
> "-mfpu-softfpa" to the assembler TWICE !

Actually, it's me who messed it up. ;)  There's two places where it
add extra -mfpu options, in the macro SUBTARGET_ASM_FLOAT_SPEC in the
file gcc/config/arm/elf.h, and in the macro SUBTARGET_EXTRA_ASM_SPEC
in the file gcc/config/arm/linux-elf.h.

The second one isn't really needed, since the first one already
changes the -mfpu behaviour for *all* ELF output.  This is what causes
the double fpu option to gas.

Please try this newer version of my patch:

  http://www.andric.com/cross/patches/gcc-3.4.3-arm-softvfp.patch.bz2

which is specifically for gcc 3.4.3, but use it only *after* having
applied the normal crosstool patches, i.e.:

  gcc-3.4.0-arm-bigendian.patch
  gcc-3.4.0-arm-lib1asm.patch
  gcc-3.4.0-arm-nolibfloat.patch

Attachment: pgp00000.pgp
Description: PGP signature


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