diff mbox

[PR,48093] document -mtls-dialect opt (and GCC_COMPARE_DEBUG env)

Message ID or8vutps3s.fsf@livre.localdomain
State New
Headers show

Commit Message

Alexandre Oliva April 29, 2011, 5:02 a.m. UTC
Ok to install?

Comments

Rainer Orth April 29, 2011, 8:38 a.m. UTC | #1
Alexandre,

> Index: gcc/doc/invoke.texi
> ===================================================================
> --- gcc/doc/invoke.texi.orig	2011-04-27 15:59:46.000000000 -0300
> +++ gcc/doc/invoke.texi	2011-04-29 01:31:58.603523692 -0300
> @@ -12581,6 +12581,13 @@ SYSV ABI.  You can control this behavior
>  using the function attribute @samp{ms_abi}/@samp{sysv_abi}.
>  @xref{Function Attributes}.
>  
> +@item -mtls-dialect=@var{type}
> +@opindex mtls-dialect
> +Generate code to access thread-local storage using the @samp{gnu} or
> +@samp{gnu2} conventions.  @samp{gnu} is the conservative default;
> +@samp{gnu2} is more efficient, but it may add compile- and run-time
> +requirements that are cannot be satisfied on all systems.
                     ^^^

Thanks for taking care of this.

	Rainer
diff mbox

Patch

for  gcc/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	PR other/48093
	* doc/invoke.texi: Document -mtls-dialect and GCC_COMPARE_DEBUG.

Index: gcc/doc/invoke.texi
===================================================================
--- gcc/doc/invoke.texi.orig	2011-04-27 15:59:46.000000000 -0300
+++ gcc/doc/invoke.texi	2011-04-29 01:31:58.603523692 -0300
@@ -12581,6 +12581,13 @@  SYSV ABI.  You can control this behavior
 using the function attribute @samp{ms_abi}/@samp{sysv_abi}.
 @xref{Function Attributes}.
 
+@item -mtls-dialect=@var{type}
+@opindex mtls-dialect
+Generate code to access thread-local storage using the @samp{gnu} or
+@samp{gnu2} conventions.  @samp{gnu} is the conservative default;
+@samp{gnu2} is more efficient, but it may add compile- and run-time
+requirements that are cannot be satisfied on all systems.
+
 @item -mpush-args
 @itemx -mno-push-args
 @opindex mpush-args
@@ -18239,6 +18246,12 @@  compilation which is to be used as input
 the output of the preprocessor, which is the input to the compiler
 proper.
 
+@item GCC_COMPARE_DEBUG
+@findex GCC_COMPARE_DEBUG
+Setting @env{GCC_COMPARE_DEBUG} is nearly equivalent to passing
+@option{-fcompare-debug} to the compiler driver.  See the documentation
+of this option for more details.
+
 @item GCC_EXEC_PREFIX
 @findex GCC_EXEC_PREFIX
 If @env{GCC_EXEC_PREFIX} is set, it specifies a prefix to use in the