This is the mail archive of the
mailing list for the GCC project.
Re: PowerPC [target/17828] -O2 -fPIC doesn't work with switches in linkonce functions and new binutils
On Tue, Jul 26, 2005 at 10:44:39PM -0400, David Edelsohn wrote:
> Can you reuse any of the MINIMAL_TOC functionality? That option
> is able to create a TOC per function with much less pervasive changes.
Not really. ABI_V4 doesn't have a global toc pointer register, but
rather sets up the toc pointer on function entry. Given that model,
it doesn't make sense to use a two-level toc.
IBM OzLabs - Linux Technology Centre