This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
doc patch for pr 16406
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: gcc-patches at gcc dot gnu dot org
- Cc: jsm at polyomino dot org dot uk
- Date: Thu, 26 Aug 2004 11:29:47 +0930
- Subject: doc patch for pr 16406
Sorry this took so long. As penance, I've added sketchy doco for
LINK_EH_SPEC too.
* doc/tm.texi (USE_LD_AS_NEEDED, LINK_EH_SPEC): Document.
Index: gcc/doc/tm.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/tm.texi,v
retrieving revision 1.359
diff -u -p -r1.359 tm.texi
--- gcc/doc/tm.texi 26 Aug 2004 00:24:37 -0000 1.359
+++ gcc/doc/tm.texi 26 Aug 2004 01:55:16 -0000
@@ -306,6 +306,21 @@ driver how to place a reference to @file
line, but, unlike @code{LIBGCC_SPEC}, it is used unmodified.
@end defmac
+@defmac USE_LD_AS_NEEDED
+A macro that controls the modifications to @code{LIBGCC_SPEC}
+mentioned in @code{REAL_LIBGCC_SPEC}. If nonzero, a spec will be
+generated that uses --as-needed and the shared libgcc in place of the
+static exception handler library, when linking without any of
+@code{-static}, @code{-static-libgcc}, or @code{-shared-libgcc}.
+@end defmac
+
+@defmac LINK_EH_SPEC
+If defined, this C string constant is added to @code{LINK_SPEC}.
+When @code{USE_LD_AS_NEEDED} is zero or undefined, it also affects
+the modifications to @code{LIBGCC_SPEC} mentioned in
+@code{REAL_LIBGCC_SPEC}.
+@end defmac
+
@defmac STARTFILE_SPEC
Another C string constant used much like @code{LINK_SPEC}. The
difference between the two is that @code{STARTFILE_SPEC} is used at
--
Alan Modra
IBM OzLabs - Linux Technology Centre