http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41644

Peter Bergner <bergner at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bergner at gcc dot gnu.org

--- Comment #11 from Peter Bergner <bergner at gcc dot gnu.org> 2010-11-11 
16:07:17 UTC ---
I'll note that Alan just added support for two new ppc64 code models that
should help, but they won't be available in an official FSF GCC release, until
GCC 4.6. 
The code models for ppc64 are now:

  1) -mcmodel=small [-mminimal-toc]    # Ie, the old ppc64 code model.
  2) -mcmodel=medium                   # The new default in GCC 4.6
  3) -mcmodel=large

Alan's original patch submission describes the different options (there
have been multiple changes made since that post):

    http://gcc.gnu.org/ml/gcc-patches/2010-06/msg00747.html

The new GCC code model support requires a newish binutils, where Alan has added
some linker optimizations when the TOC offsets are small.  Search for "large
toc" in the binutils mailing list.

Reply via email to