re PR other/16406 (USE_LD_AS_NEEDED undocumented)
authorAlan Modra <amodra@bigpond.net.au>
Wed, 6 Oct 2004 00:54:01 +0000 (00:54 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Wed, 6 Oct 2004 00:54:01 +0000 (10:24 +0930)
PR 16406
* doc/tm.texi (USE_LD_AS_NEEDED, LINK_EH_SPEC): Document.

From-SVN: r88586

gcc/ChangeLog
gcc/doc/tm.texi

index 24da20f69a2ae05dde8070bfc1e383ffd4789038..5505870b506e56d651ea6714cfa1416a929f262f 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-06  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 16406
+       * doc/tm.texi (USE_LD_AS_NEEDED, LINK_EH_SPEC): Document.
+
 2004-10-05  Kazu Hirata  <kazu@cs.umass.edu>
 
        * basic-block.h: Remove the prototype for
index 102d4f8c06c05dc6f83fcb26f7e0996158ef4611..c22ae29905b0180e403a07de97fb6348f251c783 100644 (file)
@@ -306,6 +306,21 @@ driver how to place a reference to @file{libgcc} on the link command
 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