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]
Other format: [Raw text]

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


Both Linux and NetBSD mandate a particular floating point architecture as 
part of their ABI.  Having gas select a different one because the user 
wants better performance on a particular CPU is incorrect.  This patch 
makes gas respect the OS ABI preference over the -mcpu option.  It's still 
possible to force a different floating point format with -mfpu=...

R.

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.


Attachment: linux-float.patch
Description: linux-float.patch


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