This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Jakub Jelinek <jakub at redhat 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 07:32:48 -0400
- Subject: Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs
- References: <20070625110601.GQ7012@devserv.devel.redhat.com>
>>>>> 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?
Thanks, David