]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* doc/invoke.texi: Mention that -ftls-model does not force the final model.
authoramonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Aug 2013 09:40:28 +0000 (09:40 +0000)
committeramonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Aug 2013 09:40:28 +0000 (09:40 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201661 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/invoke.texi

index cda36e7257c89dbebd34d71f8b2bff94306fdbe6..21b66d6278f42e706c52c90e818560f9c5247b42 100644 (file)
@@ -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>
 
index 70f09e72773509330f6b1e0cddd1bfced10ff7a8..663b9fdf1b7fe1ff247623ae45b6cf639f8111ba 100644 (file)
@@ -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}.