https://gcc.gnu.org/g:90c4a63aa8cff750cf599ad4ca5fcd7416d1058f

commit r16-5710-g90c4a63aa8cff750cf599ad4ca5fcd7416d1058f
Author: Sandra Loosemore <[email protected]>
Date:   Sun Nov 16 16:10:30 2025 +0000

    doc, c6x: Document missing C6X options [PR122243]
    
    gcc/ChangeLog
            PR other/122243
            * doc/invoke.texi (Option Summary) <C6X Options>: Add -mdbst
            and -mlong-calls.
            (C6X Options): Likewise.

Diff:
---
 gcc/doc/invoke.texi | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 544f12e27cbd..d150c6654ec2 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -1002,7 +1002,7 @@ Objective-C and Objective-C++ Dialects}.
 
 @emph{C6X Options} (@ref{C6X Options})
 @gccoptlist{-mbig-endian  -mlittle-endian  -march=@var{cpu}
--msim  -msdata=@var{sdata-type}}
+-msim  -msdata=@var{sdata-type} -mdsbt -mlong-calls}
 
 @emph{CRIS Options} (@ref{CRIS Options})
 @gccoptlist{-mcpu=@var{cpu}  -march=@var{cpu}
@@ -26365,6 +26365,17 @@ addresses to access all data.  Put all initialized 
global and static
 data in the @code{.fardata} section, and all uninitialized data in the
 @code{.far} section.  Put all constant data into the @code{.const}
 section.
+
+@opindex mdsbt
+@opindex mno-dsbt
+@item -mdsbt
+Compile for the DSBT shared library ABI.  This option is required to
+compile with @option{-fpic} or @option{-fPIC}, and implies @option{-fpic}.
+
+@opindex mlong-calls
+@opindex mno-long-calls
+@item -mlong-calls
+Avoid generating PC-relative calls; use indirection instead.
 @end table
 
 @node CRIS Options

Reply via email to