re PR target/40913 (hppa-hpux: libgcc_s.sl does not have the 'internal name' (=soname...
authorMichael Haubenwallner <michael.haubenwallner@salomon.at>
Fri, 18 Sep 2009 00:03:19 +0000 (02:03 +0200)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 18 Sep 2009 00:03:19 +0000 (00:03 +0000)
PR target/40913
* config/pa/t-hpux-shlib: Set soname in libgcc_s.sl.

From-SVN: r151826

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

index 70495b93107d069ea7d1a7177e51a028403aa522..d0e229f930435af5304db74b6c799e36a7266580 100644 (file)
@@ -1,3 +1,8 @@
+2009-09-17  Michael Haubenwallner  <michael.haubenwallner@salomon.at>
+
+       PR target/40913
+       * config/pa/t-hpux-shlib: Set soname in libgcc_s.sl.
+
 2009-09-17  Jakub Jelinek  <jakub@redhat.com>
 
        * c-decl.c (finish_struct): Adjust DECL_SOURCE_LOCATION of
index 66556d4cbd1f09558518a5ca3e15ba92fa63d591..d5a5b6c8609e129285e442bf44f1133e3de3c38b 100644 (file)
@@ -26,6 +26,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 \