diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-04-15 10:31:57 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-04-15 10:31:57 +0000 |
commit | 8aaed91dfc5f8fcd17fd6b61de3a6d68e59b5e1e (patch) | |
tree | c14f024bbdb6a514a3b90e6bfd980a6fc278ed5a /gcc/doc | |
parent | 98c0d6572c62b325c1e8635df3d6b22003b83619 (diff) | |
download | gcc-8aaed91dfc5f8fcd17fd6b61de3a6d68e59b5e1e.tar.gz |
Use -z ignore instead of --as-needed on Solaris
* configure.ac (gcc_cv_ld_as_needed): Set
gcc_cv_ld_as_needed_option, gcc_cv_no_as_needed_option.
Use -z ignore, -z record on *-*-solaris2*.
(HAVE_LD_AS_NEEDED): Update comment.
(LD_AS_NEEDED_OPTION, LD_NO_AS_NEEDED_OPTION): Define.
* configure: Regenerate.
* config.in: Regenerate.
* gcc.c (init_gcc_specs) [USE_LD_AS_NEEDED]: Use
LD_AS_NEEDED_OPTION, LD_NO_AS_NEEDED_OPTION.
* config/sol2.h [HAVE_LD_AS_NEEDED] (USE_LD_AS_NEEDED): Define.
* doc/tm.texi.in (USE_LD_AS_NEEDED): Allow for --as-needed
equivalents. Fix markup.
* doc/tm.texi: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197964 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/tm.texi | 3 | ||||
-rw-r--r-- | gcc/doc/tm.texi.in | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index e1df98f3fe3..c88a89f28c3 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -260,7 +260,8 @@ line, but, unlike @code{LIBGCC_SPEC}, it is used unmodified. @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 +generated that uses @option{--as-needed} or equivalent options and the +shared @file{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 diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in index 964f2e78297..d70ce4cfd36 100644 --- a/gcc/doc/tm.texi.in +++ b/gcc/doc/tm.texi.in @@ -260,7 +260,8 @@ line, but, unlike @code{LIBGCC_SPEC}, it is used unmodified. @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 +generated that uses @option{--as-needed} or equivalent options and the +shared @file{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 |