[x86]: Allow @GOTOFF in non-memory context?
Rainer Orth
ro@CeBiTec.Uni-Bielefeld.DE
Fri Jun 25 18:40:00 GMT 2010
Richard Henderson <rth@redhat.com> writes:
> Note that this *is* a memory context. The problematic cases were
>
> addl $x@GOTOFF, %eax
>
> which needed to be written as
>
> lea x@GOTOFF(%eax), %eax
>
> to satisfy the memory context requirement of the broken assemblers.
The Solaris 8/x86 assembler handles the first form just fine, with
output identical to gas 2.20.1.
I could dig up older versions if desired, all the way back to Solaris
2.1/x86, but I'd argue they are completely irrelevant by now.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
More information about the Gcc
mailing list