diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-10-22 01:07:01 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-10-22 01:07:01 +0200 |
commit | e58d5f65d7b44bb7c1e620501cc7877a677152a2 (patch) | |
tree | 089868ba76f169ac6e8e66d38fe1ce3c58676450 | |
parent | cb7c15f8c4f5bf21d773b640a4ef7a7da86c79a1 (diff) | |
download | gcc-e58d5f65d7b44bb7c1e620501cc7877a677152a2.zip gcc-e58d5f65d7b44bb7c1e620501cc7877a677152a2.tar.gz gcc-e58d5f65d7b44bb7c1e620501cc7877a677152a2.tar.bz2 |
re PR target/37880 (Documentation of option -mcmodel=medium is wrong)
PR target/37880
* doc/invoke.texi: Fix spelling of -mlarge-data-threshold option.
Adjust -mcmodel=medium description for 2005-07-31 changes.
From-SVN: r141281
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 9 |
2 files changed, 11 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7dcfcbc..08743f8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-10-22 Jakub Jelinek <jakub@redhat.com> + + PR target/37880 + * doc/invoke.texi: Fix spelling of -mlarge-data-threshold option. + Adjust -mcmodel=medium description for 2005-07-31 changes. + 2008-10-22 Jan Hubicka <jh@suse.cz> Jakub Jelinek <jakub@redhat.com> diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 646bb55..aa17a25 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -10910,7 +10910,7 @@ their size as well as function calling convention for function taking @code{long double} will be modified. Hence they will not be binary compatible with arrays or structures in code compiled without that switch. -@item -mmlarge-data-threshold=@var{number} +@item -mlarge-data-threshold=@var{number} @opindex mlarge-data-threshold=@var{number} When @option{-mcmodel=medium} is specified, the data greater than @var{threshold} are placed in large data section. This value must be the @@ -11281,9 +11281,10 @@ This model has to be used for Linux kernel code. @item -mcmodel=medium @opindex mcmodel=medium Generate code for the medium model: The program is linked in the lower 2 -GB of the address space but symbols can be located anywhere in the -address space. Programs can be statically or dynamically linked, but -building of shared libraries are not supported with the medium model. +GB of the address space and symbols with small size as well. Symbols +with sizes larger than @option{-mlarge-data-threshold} are put into +large data or bss sections and can be located above 2GB. Programs can +be statically or dynamically linked. @item -mcmodel=large @opindex mcmodel=large |