This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs
- From: Jakub Jelinek <jakub at redhat dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: Alan Modra <amodra at bigpond dot net dot au>, gcc at gcc dot gnu dot org, binutils at sources dot redhat dot com
- Date: Mon, 25 Jun 2007 08:31:17 -0400
- Subject: Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs
- References: <20070625110601.GQ7012@devserv.devel.redhat.com> <200706251132.l5PBWnQ32146@makai.watson.ibm.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Jun 25, 2007 at 07:32:48AM -0400, David Edelsohn wrote:
> >>>>> Jakub Jelinek writes:
>
> Jakub> compiled on ppc64-linux with -O2 -m64 -mminimal-toc
> Jakub> leads to bl bar without nop in the following instruction
> Jakub> and to sibling call.
> Jakub> Now, when this together with bar's definition is linked
> Jakub> into a big binary and foo and bar need to have different TOCs,
>
> Just out of curiosity, are you using a version of GCC with or
> without the section anchor support? Is the application still overrunning
> the TOC with sectcion anchors?
Without (4.1.2). The program being linked is frysk and has quite a lot of
Java stuff linked into it.
Jakub