gcc/ChangeLog
        PR other/122243
        * config/alpha/alpha.opt (mgas): Mark as Undocumented.
        * doc/invoke.texi (Option Summary) <DEC Alpha Options>:  Add
        -mtls-kernel, -mtls-size=, -mlong-double-128, and -mlong-double-64.
        (DEC Alpha Options): Likewise.
---
 gcc/config/alpha/alpha.opt |  2 +-
 gcc/doc/invoke.texi        | 22 +++++++++++++++++++++-
 2 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/gcc/config/alpha/alpha.opt b/gcc/config/alpha/alpha.opt
index 3c1320b5112..31f4cb5ed61 100644
--- a/gcc/config/alpha/alpha.opt
+++ b/gcc/config/alpha/alpha.opt
@@ -27,7 +27,7 @@ Target Mask(FPREGS)
 Use fp registers.
 
 mgas
-Target Ignore
+Target Ignore Undocumented
 Does nothing. Preserved for backward compatibility.
 
 mieee-conformant
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 9cfeb690c21..4a72eca2d9c 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -1072,7 +1072,9 @@ Objective-C and Objective-C++ Dialects}.
 -mfloat-vax  -mfloat-ieee
 -mexplicit-relocs  -msmall-data  -mlarge-data
 -msmall-text  -mlarge-text
--mmemory-latency=@var{time}}
+-mmemory-latency=@var{time}
+-mtls-kernel  -mtls-size=@var{bitsize}
+-mlong-double-128  -mlong-double-64}
 
 @emph{eBPF Options} (@ref{eBPF Options})
 @gccoptlist{-mbig-endian -mlittle-endian
@@ -27361,6 +27363,24 @@ The compiler contains estimates of the number of clock 
cycles for
 Note that L3 is only valid for EV5.
 
 @end table
+
+@opindex mtls-kernel
+@opindex mno-tls-kernel
+@item -mtls-kernel
+Emit @code{rdval} instead of @code{rduniq} for thread pointer.
+
+@opindex mtls-size
+@item -mtls-size=@var{bitsize}
+Specify bit size of immediate TLS offsets.  Valid values for @var{bitsize}
+are 16, 32, and 64; it defaults to 32.
+
+@opindex mlong-double-128
+@opindex mlong-double-64
+@item -mlong-double-128
+@itemx -mlong-double-64
+Specify the size of the @code{long double} type.  Note that
+@option{-mlong-double-128} is incompatible with VAX floating point.
+
 @end table
 
 @node eBPF Options
-- 
2.39.5

Reply via email to