]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: re PR target/40913 (hppa-hpux: libgcc_s.sl does not have the 'internal...
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Fri, 16 Oct 2009 00:07:28 +0000 (00:07 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 16 Oct 2009 00:07:28 +0000 (00:07 +0000)
Backport from mainline
2009-09-17  Michael Haubenwallner  <michael.haubenwallner@salomon.at>

PR target/40913
* config/pa/t-hpux-shlib: Set soname in libgcc_s.sl.

From-SVN: r152884

gcc/ChangeLog
gcc/config/pa/t-hpux-shlib

index dbd7ada215e767390fc699e53022b6fb600e7f52..3bfb4e915510f9a7b546c8a89afbbae6c1467fd5 100644 (file)
@@ -1,3 +1,11 @@
+2009-10-15  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       Backport from mainline
+       2009-09-17  Michael Haubenwallner  <michael.haubenwallner@salomon.at>
+
+       PR target/40913
+       * config/pa/t-hpux-shlib: Set soname in libgcc_s.sl.
+
 2009-10-14  Hans-Peter Nilsson  <hp@axis.com>
 
        PR target/38948
index d609d3f8624615003f966842bb8c798edc2d22bc..3d0b65b87e0e1487ea03f3bcba5e5712cba72f67 100644 (file)
@@ -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 \