+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
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