This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

doc patch for pr 16406

Sorry this took so long.  As penance, I've added sketchy doco for

	* 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
+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
+@end defmac
 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]