This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Further improved native as support on Solaris/x86
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Paul Brook <paul at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Roger Sayle <roger at eyesopen dot com>, Jakub Jelinek <jakub at redhat dot com>, Mark Mitchell <mark at codesourcery dot com>
- Date: Tue, 01 Aug 2006 01:25:42 -0300
- Subject: Re: [PATCH] Further improved native as support on Solaris/x86
- References: <Pine.LNX.4.44.0607211841180.28060-100000@www.eyesopen.com> <200607221631.49347.paul@codesourcery.com>
On Jul 22, 2006, Paul Brook <paul@codesourcery.com> wrote:
>> But it was a good suggestion. I agree that if the "label - ." syntax
>> can be made to work, we can avoid the "label1 - label2" problem. But
>> as explained above and in my previous e-mail the "label - ." syntax
>> isn't recognized by SUN as either.
> I'd expect/hope that any assembler capable of doing label - . would also be
> capable of doing label1 - label2.
I wouldn't. If a linker is expected to do relaxations that change
code size, then `label1 - label2' requires more information than
`label - .' Not the case for x86_64, but I thought I'd point this out
anyway.
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
Secretary for FSF Latin America http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}