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: "Andrew Pinski" <pinskia at gmail dot com>
- To: "David Edelsohn" <dje at watson dot ibm dot com>
- Cc: "Jakub Jelinek" <jakub at redhat dot com>, "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 04:48:31 -0700
- Subject: Re: ppc64 __attribute__((visibility ("hidden"))) and multiple TOCs
- References: <jakub@redhat.com> <20070625110601.GQ7012@devserv.devel.redhat.com> <200706251132.l5PBWnQ32146@makai.watson.ibm.com>
On 6/25/07, David Edelsohn <dje@watson.ibm.com> wrote:
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?
I have access to programs that overflow the TOC even with section
anchors (this is with a modified PPC64 linux ABI in that pointers are
32bits so it takes even more to overflow the TOC). I have noticed
that the linker does not combine duplicated TOC entries across objects
which makes it even easier to overflow the TOC.
Thanks,
Andrew Pinski