diff options
author | Alan Modra <amodra@bigpond.net.au> | 2004-04-01 16:45:34 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2004-04-01 16:45:34 +0000 |
commit | 2620fa940dee5917c3db823830847275b0a4e5a3 (patch) | |
tree | 1a3ce88b8909a989116b51749ef3a5f061786ed7 /gcc/config.in | |
parent | 1e2ca0493fc800651936e45309518ce24d1067d1 (diff) |
* gcc.c (init_gcc_specs): If HAVE_LD_AS_NEEDED, link with
-lgcc --as-needed -lgcc_s --no-as-needed by default.
* configure.ac (HAVE_LD_AS_NEEDED): Check for ld --as-needed.
* configure: Rebuilt.
* config.in: Rebuilt.
* Makefile.in (stage1-start): Copy also libgcc_s*$(SHLIB_EXT).
(stage2-start, stage3-start, stage4-start): Likewise.
(stageprofile-start, stagefeedback-start): Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@80302 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.in')
-rw-r--r-- | gcc/config.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config.in b/gcc/config.in index 35cb545e31e..2d8f5836dc1 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -306,6 +306,9 @@ /* Define to 1 if you have the <ldfcn.h> header file. */ #undef HAVE_LDFCN_H +/* Define if your linker supports --as-needed and --no-as-needed options. */ +#undef HAVE_LD_AS_NEEDED + /* Define if your linker supports --eh-frame-hdr option. */ #undef HAVE_LD_EH_FRAME_HDR |