Commit 9813058e by James E Wilson Committed by Zack Weinberg

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
parent 27c99ffe
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.
2004-01-09 Steve Ellcey <sje@cup.hp.com> 2004-01-09 Steve Ellcey <sje@cup.hp.com>
* configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*. * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
...@@ -40,7 +45,7 @@ ...@@ -40,7 +45,7 @@
(expand_end_bindings): Save and restor last_expr_alt_rtl. (expand_end_bindings): Save and restor last_expr_alt_rtl.
* tree.def (RTL_EXPR): Give it an additional operand. * tree.def (RTL_EXPR): Give it an additional operand.
* tree.h (RTL_EXPR_ALT_RTL): New macro. * tree.h (RTL_EXPR_ALT_RTL): New macro.
2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> 2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__. * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
...@@ -86,10 +91,10 @@ ...@@ -86,10 +91,10 @@
PR opt/12441 PR opt/12441
Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz> Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
* i386.c (aligned_operand): Be prepared for SUBREGed registers. * i386.c (aligned_operand): Be prepared for SUBREGed registers.
(ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG. (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
(ix86_address_cost): Be prepared for SUBREGed registers. (ix86_address_cost): Be prepared for SUBREGed registers.
(legitimate_address_p): Accept SUBREGed registers. (legitimate_address_p): Accept SUBREGed registers.
2004-01-08 Kelley Cook <kcook@gcc.gnu.org> 2004-01-08 Kelley Cook <kcook@gcc.gnu.org>
......
...@@ -26,9 +26,11 @@ LIBGCC1_TEST = ...@@ -26,9 +26,11 @@ LIBGCC1_TEST =
LIB2ADDEH = LIB2ADDEH =
SHLIB_EXT = .so 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 \ SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
-Wl,+h,@shlib_base_name@.so.0 \ -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 && \ rm -f @shlib_base_name@.so.0 && \
$(LN_S) @shlib_base_name@.so @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 # $(slibdir) double quoted to protect it from expansion while building
......
...@@ -1633,9 +1633,6 @@ init_spec (void) ...@@ -1633,9 +1633,6 @@ init_spec (void)
#else #else
"-lgcc_s%M" "-lgcc_s%M"
#endif #endif
#ifdef USE_LIBUNWIND_EXCEPTIONS
" -lunwind"
#endif
, ,
"-lgcc", "-lgcc",
"-lgcc_eh" "-lgcc_eh"
...@@ -1657,9 +1654,6 @@ init_spec (void) ...@@ -1657,9 +1654,6 @@ init_spec (void)
#else #else
"-lgcc_s%M" "-lgcc_s%M"
#endif #endif
#ifdef USE_LIBUNWIND_EXCEPTIONS
" -lunwind"
#endif
, ,
"libgcc.a%s", "libgcc.a%s",
"libgcc_eh.a%s" "libgcc_eh.a%s"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment