Commit e58d5f65 by Jakub Jelinek Committed by Jakub Jelinek

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
parent cb7c15f8
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> 2008-10-22 Jan Hubicka <jh@suse.cz>
Jakub Jelinek <jakub@redhat.com> Jakub Jelinek <jakub@redhat.com>
......
...@@ -10910,7 +10910,7 @@ their size as well as function calling convention for function taking ...@@ -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 @code{long double} will be modified. Hence they will not be binary
compatible with arrays or structures in code compiled without that switch. 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} @opindex mlarge-data-threshold=@var{number}
When @option{-mcmodel=medium} is specified, the data greater than When @option{-mcmodel=medium} is specified, the data greater than
@var{threshold} are placed in large data section. This value must be the @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. ...@@ -11281,9 +11281,10 @@ This model has to be used for Linux kernel code.
@item -mcmodel=medium @item -mcmodel=medium
@opindex mcmodel=medium @opindex mcmodel=medium
Generate code for the medium model: The program is linked in the lower 2 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 GB of the address space and symbols with small size as well. Symbols
address space. Programs can be statically or dynamically linked, but with sizes larger than @option{-mlarge-data-threshold} are put into
building of shared libraries are not supported with the medium model. large data or bss sections and can be located above 2GB. Programs can
be statically or dynamically linked.
@item -mcmodel=large @item -mcmodel=large
@opindex mcmodel=large @opindex mcmodel=large
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment