diff options
author | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-09 02:30:54 +0000 |
---|---|---|
committer | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-09 02:30:54 +0000 |
commit | 40e2644f031980cf36cadd208aa3ea7e911af8e6 (patch) | |
tree | 973fb37729da99edb86f368e6501cb1f8334f719 /gcc/doc | |
parent | 5442e68ea6b0e2ce91cd5f1243a5549e4f8eff4f (diff) | |
download | gcc-40e2644f031980cf36cadd208aa3ea7e911af8e6.tar.gz |
* doc/invoke.text: Reinstate mcmodel=medium.
* config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Set
CMODEL_MEDIUM as default.
* config/rs6000/rs6000.h (enum rs6000_cmodel): Add CMODEL_MEDIUM.
* config/rs6000/rs6000.c (rs6000_handle_option): Add mcmodel=medium.
(toc_relative_ok, offsettable_ok_by_alignment): New functions.
(rs6000_emit_move): Reinstate mcmodel=medium optimization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164045 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 7e15e3fd4b4..b24688b2f0d 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -15213,6 +15213,11 @@ scheduling parameters set by @option{-mtune}. Generate PowerPC64 code for the small model: The TOC is limited to 64k. +@item -mcmodel=medium +@opindex mcmodel=medium +Generate PowerPC64 code for the medium model: The TOC and other static +data may be up to a total of 4G in size. + @item -mcmodel=large @opindex mcmodel=large Generate PowerPC64 code for the large model: The TOC may be up to 4G |