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: Roger Sayle <roger at eyesopen dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, Mark Mitchell <mark at codesourcery dot com>, <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 01 Aug 2006 01:27:17 -0300
- Subject: Re: [PATCH] Further improved native as support on Solaris/x86
- References: <Pine.LNX.4.44.0607211515340.15174-100000@www.eyesopen.com>
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}