This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Accept Altivec instructions when using -mpower6 and -mcell
On Thu, 2008-07-31 at 00:59 +0200, Segher Boessenkool wrote:
> > Lastly, after attempting to move the POWER4 gas testcase to
> > powerpc*-*-*
> > (which I am not doing in this patch), I noticed that the assembler
> > option
> > "-a64" was flagged as an illegal option when I configured with:
> >
> > --target=powerpc-linux --enable-targets=all
> >
> > but passes just fine when configured with
> >
> > --target=powerpc-linux --enable-targets=powerpc64-linux
> >
> > I tracked this down to we are not setting want64 to true in
> > bfd/configure
> > when configuring with --enable-targets=all.
>
> That's what --enable-64-bit-bfd is for; if your host and target
> both are 32-bit you don't get 64-bit BFD targets enabled without
> it.
Not completely true. If you use --enable-targets=powerpc64-linux,
then 64-bit BFD will be enabled automatically. I'm just saying, if
you use --enable-targets=all, which includes powerpc64-linux and
other 64-bit targets, then it makes sense to enable 64-bit BFD
when enabling all targets.
Peter