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]

Re: EP9312, Maverick Crunch fixes


On Wednesday 25 February 2004 6:36 pm, Petko Manolov wrote:
> On Wed, 25 Feb 2004, Paul Brook wrote:
> > On Wednesday 25 February 2004 3:28 pm, Richard Earnshaw wrote:
> > > > This way both "-mcpu=ep9312" and "-Wa,-mfpu=maverick" (from gcc
> > > > point of view) will do the same thing.  However, i am not sure if
> > > > this will break some gas/gcc convention(s) i don't know about.
> >
> > It already does. -mcpu=9312 defaults to FPU_ARCH_MAVERICK, and sets the
> > corresponding flags in the object file.
>
> Indeed.  By looking at the code it seems that the default fpu for ep9312
> is FPU_MAVERICK, however the "Maverick float format" flag does not get set
> for the resulting object file.
>
> Probably for some reason the flag is omitted in 'cpu_variant' variable.
> How can i check this quickly (i am afraid i am a bit lazy :-) ?

The default FPU is overridden on linux and netbsd targets. See FPU_DEFAULT in 
tc-arm.c

Paul


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