From: John David Anglin Date: Fri, 16 Oct 2009 00:07:28 +0000 (+0000) Subject: backport: re PR target/40913 (hppa-hpux: libgcc_s.sl does not have the 'internal... X-Git-Tag: releases/gcc-4.3.5~338 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d2862d4355d8fe4872bc50086a0daae7e2a7239;p=thirdparty%2Fgcc.git backport: re PR target/40913 (hppa-hpux: libgcc_s.sl does not have the 'internal name' (=soname) set) Backport from mainline 2009-09-17 Michael Haubenwallner PR target/40913 * config/pa/t-hpux-shlib: Set soname in libgcc_s.sl. From-SVN: r152884 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dbd7ada215e7..3bfb4e915510 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2009-10-15 John David Anglin + + Backport from mainline + 2009-09-17 Michael Haubenwallner + + PR target/40913 + * config/pa/t-hpux-shlib: Set soname in libgcc_s.sl. + 2009-10-14 Hans-Peter Nilsson PR target/38948 diff --git a/gcc/config/pa/t-hpux-shlib b/gcc/config/pa/t-hpux-shlib index d609d3f86246..3d0b65b87e0e 100644 --- a/gcc/config/pa/t-hpux-shlib +++ b/gcc/config/pa/t-hpux-shlib @@ -8,6 +8,7 @@ SHLIB_DIR = @multilib_dir@ SHLIB_SLIBDIR_QUAL = @shlib_slibdir_qual@ SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \ + -Wl,+h -Wl,$(SHLIB_SONAME) \ -o $(SHLIB_DIR)/$(SHLIB_NAME).tmp @multilib_flags@ $(SHLIB_OBJS) && \ rm -f $(SHLIB_DIR)/$(SHLIB_SONAME) && \ if [ -f $(SHLIB_DIR)/$(SHLIB_NAME) ]; then \