Commit 94109a6a by Alexander Monakov Committed by Alexander Monakov

* doc/invoke.texi: Mention that -ftls-model does not force the final model.

From-SVN: r201661
parent 4e115102
2013-08-12 Alexander Monakov <amonakov@ispras.ru>
* doc/invoke.texi: Mention that -ftls-model does not force the final
model.
2013-08-12 Marek Polacek <polacek@redhat.com> 2013-08-12 Marek Polacek <polacek@redhat.com>
Marc Glisse <marc.glisse@inria.fr> Marc Glisse <marc.glisse@inria.fr>
......
...@@ -20929,6 +20929,9 @@ Not all targets provide complete support for this switch. ...@@ -20929,6 +20929,9 @@ Not all targets provide complete support for this switch.
Alter the thread-local storage model to be used (@pxref{Thread-Local}). Alter the thread-local storage model to be used (@pxref{Thread-Local}).
The @var{model} argument should be one of @code{global-dynamic}, The @var{model} argument should be one of @code{global-dynamic},
@code{local-dynamic}, @code{initial-exec} or @code{local-exec}. @code{local-dynamic}, @code{initial-exec} or @code{local-exec}.
Note that the choice is subject to optimization: the compiler may use
a more efficient model for symbols not visible outside of the translation
unit, or if @option{-fpic} is not given on the command line.
The default without @option{-fpic} is @code{initial-exec}; with The default without @option{-fpic} is @code{initial-exec}; with
@option{-fpic} the default is @code{global-dynamic}. @option{-fpic} the default is @code{global-dynamic}.
......
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