[PATCH, docs] Document -z option

Eric Christopher echristo@gmail.com
Tue Jul 15 21:30:00 GMT 2014


Just to document that it's passed directly on to the linker.

OK? Wording changes?

-eric

2014-07-15  Eric Christopher  <echristo@gmail.com>

        * doc/invoke.texi (Link Options): Document -z option.

Index: gcc/doc/invoke.texi
===================================================================
--- gcc/doc/invoke.texi (revision 212574)
+++ gcc/doc/invoke.texi (working copy)
@@ -464,7 +464,7 @@
 -static-libasan -static-libtsan -static-liblsan -static-libubsan @gol
 -shared -shared-libgcc  -symbolic @gol
 -T @var{script}  -Wl,@var{option}  -Xlinker @var{option} @gol
--u @var{symbol}}
+-u @var{symbol} -z @var{keyword}}

 @item Directory Options
 @xref{Directory Options,,Options for Directory Search}.
@@ -10690,6 +10690,12 @@
 Pretend the symbol @var{symbol} is undefined, to force linking of
 library modules to define it.  You can use @option{-u} multiple times with
 different symbols to force loading of additional library modules.
+
+@item -z @var{keyword}
+@opindex z
+@option{-z} is passed directly on to the linker along with the keyword
+@var{keyword}. See the section in the documentation of your linker for
+permitted values and their meanings.
 @end table

 @node Directory Options



More information about the Gcc-patches mailing list