This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [x86]: Allow @GOTOFF in non-memory context?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]