diff options
author | James E Wilson <wilson@specifixinc.com> | 2004-01-09 23:14:29 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2004-01-09 23:14:29 +0000 |
commit | 9813058e848a5ff8950db9df412118a0128721da (patch) | |
tree | 1e903dff7dd3d8392b722a803ddc1674b6dd24fb /gcc/config/ia64/t-hpux | |
parent | 27c99ffebca238cfc77736076f7d79fc9cc77f8e (diff) | |
download | gcc-9813058e848a5ff8950db9df412118a0128721da.tar.gz |
gcc.c (init_spec): Remove -lunwind from shared case.
2004-01-09 James E Wilson <wilson@specifixinc.com>
* gcc.c (init_spec): Remove -lunwind from shared case.
* conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
From-SVN: r75611
Diffstat (limited to 'gcc/config/ia64/t-hpux')
-rw-r--r-- | gcc/config/ia64/t-hpux | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/ia64/t-hpux b/gcc/config/ia64/t-hpux index 48baadd6582..597c2acbe2a 100644 --- a/gcc/config/ia64/t-hpux +++ b/gcc/config/ia64/t-hpux @@ -26,9 +26,11 @@ LIBGCC1_TEST = LIB2ADDEH = SHLIB_EXT = .so +# Must include -lunwind in the link, so that libgcc_s.so has the necessary +# DT_NEEDED entry for libunwind. SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \ -Wl,+h,@shlib_base_name@.so.0 \ - -o @shlib_base_name@.so @multilib_flags@ @shlib_objs@ -lc && \ + -o @shlib_base_name@.so @multilib_flags@ @shlib_objs@ -lunwind -lc && \ rm -f @shlib_base_name@.so.0 && \ $(LN_S) @shlib_base_name@.so @shlib_base_name@.so.0 # $(slibdir) double quoted to protect it from expansion while building |