diff options
Diffstat (limited to 'contrib/gcc/config/ia64/t-hpux')
-rw-r--r-- | contrib/gcc/config/ia64/t-hpux | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/contrib/gcc/config/ia64/t-hpux b/contrib/gcc/config/ia64/t-hpux index 7b42fe5..597c2ac 100644 --- a/contrib/gcc/config/ia64/t-hpux +++ b/contrib/gcc/config/ia64/t-hpux @@ -20,22 +20,17 @@ quadlib.c: $(srcdir)/config/ia64/quadlib.c LIBGCC1_TEST = -# Don't run fix-headers. HP-UX headers are standards conformant -# and don't need to be fixed up in this way. -# If we remove this (and run fix-headers) we should define FIXPROTO_DEFINES -# and also fix the definition of putenv in sys-protos.h (const char not char). - -STMP_FIXPROTO = - # We do not want to include the EH stuff that linux uses, we want to use # the HP-UX libunwind library. 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 |