GAS PATCH ARM: Fix the floating point flavour for Linux and NetBSD

Richard Earnshaw rearnsha@arm.com
Fri Jun 13 16:49:00 GMT 2003


 
> 2003-06-13  Richard Earnshaw  <rearnsha@arm.com>
> 
> 	* tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.
> 	(FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF,
> 	FPU_ARCH_FPA for AOUT.
> 	(md_begin): Don't try to guess the floating point architecture from
> 	the CPU if the OS ABI (Linux, NetBSD) mandates a particular form.

Hmm, this caused an apparent regression for an arm-netbsdelf 
configuration.  Fixed with:

2003-06-13  Richard Earnshaw  <rearnsha@arm.com>

	* gas/arm/arm.exp: Pass -mfpu=fpa option to the FPA instruction test.


-------------- next part --------------
Index: gas/arm/arm.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arm/arm.exp,v
retrieving revision 1.18
diff -p -r1.18 arm.exp
*** gas/arm/arm.exp	3 Apr 2003 00:25:02 -0000	1.18
--- gas/arm/arm.exp	13 Jun 2003 16:45:15 -0000
*************** if {[istarget *arm*-*-*] || [istarget "x
*** 44,50 ****
  
      gas_test "immed.s" "" $stdoptlist "immediate expressions"
  
!     gas_test "float.s" "-mcpu=arm7tdmi" $stdoptlist "Core floating point instructions"
  
      run_dump_test "fpa-monadic"
  
--- 44,50 ----
  
      gas_test "immed.s" "" $stdoptlist "immediate expressions"
  
!     gas_test "float.s" "-mcpu=arm7tdmi -mfpu=fpa" $stdoptlist "Core floating point instructions"
  
      run_dump_test "fpa-monadic"
  


More information about the Binutils mailing list