]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc, c6x: Document missing C6X options [PR122243]
authorSandra Loosemore <sloosemore@baylibre.com>
Sun, 16 Nov 2025 16:10:30 +0000 (16:10 +0000)
committerSandra Loosemore <sloosemore@baylibre.com>
Sat, 29 Nov 2025 03:27:09 +0000 (03:27 +0000)
gcc/ChangeLog
PR other/122243
* doc/invoke.texi (Option Summary) <C6X Options>: Add -mdbst
and -mlong-calls.
(C6X Options): Likewise.

gcc/doc/invoke.texi

index 544f12e27cbd7f499aa6dcc9e7642ce17dfdc1b4..d150c6654ec23286b864061b2d82cc6db6140dcd 100644 (file)
@@ -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