This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: x86 assembly output
- To: Robert Lipe <robertl at sco dot com>
- Subject: Re: x86 assembly output
- From: Richard Henderson <rth at cygnus dot com>
- Date: Sat, 30 Oct 1999 11:06:32 -0700
- Cc: mrhow at sfsu dot edu, gcc-bugs at gcc dot gnu dot org
- References: <19991029095741.A27286@rjlhome.sco.com>
On Fri, Oct 29, 1999 at 09:57:41AM -0500, Robert Lipe wrote:
> > According to Intel Architecture Software Developer's Manual page 3-286...
>
> GCC, by default, emits 'AT&T assembler syntax' for IA32 targets.
And, because Intel paid through the nose for it, the new ia32
backend has the completely useless switch `-mintel-syntax'
that produces output of the form described in that SDM.
I say useless because only GAS will accept what gets emitted.
To get something like MASM to eat the code, you'd have to
change all of the surrounding non-instruction bits of the
assembly -- sections and extern symbols and such.
Yawn. I suppose still that the bulk of the work is done, and
it wouldn't be impossible for someone to gen up the headers
needed, but it still seems pointless.
r~