aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-07-15 21:32:05 +0000
committerEric Christopher <echristo@gcc.gnu.org>2014-07-15 21:32:05 +0000
commita6d0b75042c9b56580edbcfb7a4ecfcdc76cbb04 (patch)
tree8c682203547f9d639a6b93d3dc760879b18b76bb
parent0090cacae6e9f0d3649dff9e428ea92a10d69cfa (diff)
downloadgcc-a6d0b75042c9b56580edbcfb7a4ecfcdc76cbb04.zip
gcc-a6d0b75042c9b56580edbcfb7a4ecfcdc76cbb04.tar.gz
gcc-a6d0b75042c9b56580edbcfb7a4ecfcdc76cbb04.tar.bz2
invoke.texi (Link Options): Document -z option.
2014-07-15 Eric Christopher <echristo@gmail.com> * doc/invoke.texi (Link Options): Document -z option. From-SVN: r212575
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/invoke.texi8
2 files changed, 11 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 415ec92..6cd6e8c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2014-07-15 Eric Christopher <echristo@gmail.com>
+
+ * doc/invoke.texi (Link Options): Document -z option.
+
2014-07-15 Uros Bizjak <ubizjak@gmail.com>
* config/alpha/alpha.c (alpha_atomic_assign_expand_fenv): New.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 3473b7b..b5e8d98 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -464,7 +464,7 @@ Objective-C and Objective-C++ Dialects}.
-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 @@ linker. When using the GNU linker, you can also get the same effect with
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