diff options
author | Alexander Monakov <amonakov@ispras.ru> | 2013-08-12 13:40:28 +0400 |
---|---|---|
committer | Alexander Monakov <amonakov@gcc.gnu.org> | 2013-08-12 13:40:28 +0400 |
commit | 94109a6a3a769c33b3f26c1eafd3b80ef7bf1f07 (patch) | |
tree | 7318ecc541b60d7ff3de404000975de478fd85cc | |
parent | 4e11510216215d01cd88fa7310703d432c532a0a (diff) | |
download | gcc-94109a6a3a769c33b3f26c1eafd3b80ef7bf1f07.zip gcc-94109a6a3a769c33b3f26c1eafd3b80ef7bf1f07.tar.gz gcc-94109a6a3a769c33b3f26c1eafd3b80ef7bf1f07.tar.bz2 |
* doc/invoke.texi: Mention that -ftls-model does not force the final model.
From-SVN: r201661
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cda36e7..21b66d6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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> Marc Glisse <marc.glisse@inria.fr> diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 70f09e7..663b9fd 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -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}). The @var{model} argument should be one of @code{global-dynamic}, @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 @option{-fpic} the default is @code{global-dynamic}. |