x86 assembly output
Richard Henderson
rth@cygnus.com
Sun Oct 31 23:03:00 GMT 1999
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~
More information about the Gcc-bugs
mailing list