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 21, 2006, Roger Sayle <roger@eyesopen.com> wrote:

>         .long   .L4-.L8

> Notice that the symbol .L8 is in the section .rodata, and the symbol
> .L4 (and all the others) are in the section .L4.

>         "switch.s", line 20 : Illegal subtraction - symbols from different sections: ".L3", ".L8"

> Defining JUMP_TABLES_IN_TEXT_SECTION makes the problem go away.

Even if you try to split hot/cold code into separate sections?  I
wouldn't think so, in general.

-- 
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]