This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Fwd: [Bug bootstrap/27644] [4.1 regression] Bootstrap failure on native ARM targets]
On Thu, May 18, 2006 at 12:41:49AM -0700, Mark Mitchell wrote:
> Andrew Pinski wrote:
> >
> > On May 17, 2006, at 11:44 PM, Mark Mitchell wrote:
> >> How does PowerPC communicate 32-bit vs. 64-bit mode to the assembler and
> >> other tools?
> >
> > well for one, it creates two different versions of ASM_SPEC.
> > One for defaulting to 32bit and one for defaulting to 64bit.
> > Which is what x86 really should be doing anyways.
>
> Then the assembler has to use the same default as the compiler, which is
> not good.
No, that isn't the case. The compiler always passes -a32 or -a64 to the
assembler, even when the compiler itself is producing its default
output.
--
Alan Modra
IBM OzLabs - Linux Technology Centre