diff options
author | Alan Modra <amodra@bigpond.net.au> | 2004-10-06 00:54:01 +0000 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2004-10-06 10:24:01 +0930 |
commit | 743eeb5a817d2557e813a65b3fc49ac92714c49c (patch) | |
tree | 8d91542854620d60a045a14d7e7f6e352e8bf2fc /gcc | |
parent | 7e5f29431cee00ee46d8ebf645e06d1bd1226a69 (diff) | |
download | gcc-743eeb5a817d2557e813a65b3fc49ac92714c49c.zip gcc-743eeb5a817d2557e813a65b3fc49ac92714c49c.tar.gz gcc-743eeb5a817d2557e813a65b3fc49ac92714c49c.tar.bz2 |
re PR other/16406 (USE_LD_AS_NEEDED undocumented)
PR 16406
* doc/tm.texi (USE_LD_AS_NEEDED, LINK_EH_SPEC): Document.
From-SVN: r88586
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 15 |
2 files changed, 20 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 24da20f..5505870 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 102d4f8..c22ae29 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -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 |