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: problem with crosstool 0.28-pre28 supplied patch for gcc 3.3.[23] softfloat on ARM


On Sun, Aug 08, 2004 at 09:50:51PM +0200, Lennert Buytenhek wrote:

> Then I find that crosstool 0.28-rc28 contains a patch from Robert Schwebel,
> which is basically Nicolas' patch with two such hunks added:
> 
> <patch>
> diff -urN gcc-3.3.2/gcc/config/arm/elf.h gcc-3.3.2-ptx/gcc/config/arm/elf.h
> --- gcc-3.3.2/gcc/config/arm/elf.h      2002-11-21 22:29:24.000000000 +0100
> +++ gcc-3.3.2-ptx/gcc/config/arm/elf.h  2004-01-31 12:27:28.000000000 +0100
> @@ -46,7 +46,7 @@
>   
>  #ifndef SUBTARGET_ASM_FLOAT_SPEC
>  #define SUBTARGET_ASM_FLOAT_SPEC "\
> -%{mapcs-float:-mfloat} %{msoft-float:-mno-fpu}"
> +%{mapcs-float:-mfloat} %{msoft-float:-mfpu=softfpa -mfpu=softvfp}"
>  #endif
>   
>  #ifndef ASM_SPEC
> </patch>

Later on in Robert's softfloat patch for gcc 3.3.2 in crosstool
0.28rc28, you find this:

-#define TARGET_DEFAULT (ARM_FLAG_APCS_32 | ARM_FLAG_MMU_TRAPS)
+#define TARGET_DEFAULT \
+       ( ARM_FLAG_APCS_32 | \
+         ARM_FLAG_SOFT_FLOAT | ARM_FLAG_VFP | \
+         ARM_FLAG_MMU_TRAPS )

So now which is the default, FPA or VFP?

I'm confused :-/


--L

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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