This is the mail archive of the gcc-patches@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: [PATCH] Further improved native as support on Solaris/x86


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}


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