diff options
author | Alan Modra <amodra@gmail.com> | 2010-09-09 12:00:54 +0930 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2010-09-09 12:00:54 +0930 |
commit | 5a79bcc454b5792db3471c4deba84630b2c26dd7 (patch) | |
tree | 973fb37729da99edb86f368e6501cb1f8334f719 /gcc/doc | |
parent | f5b281c0ed43ec7ac3e5851e28bcc5825aa26c6b (diff) | |
download | gcc-5a79bcc454b5792db3471c4deba84630b2c26dd7.zip gcc-5a79bcc454b5792db3471c4deba84630b2c26dd7.tar.gz gcc-5a79bcc454b5792db3471c4deba84630b2c26dd7.tar.bz2 |
invoke.text: Reinstate mcmodel=medium.
* 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.
From-SVN: r164045
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 7e15e3f..b24688b 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 |