diff options
author | Michael Haubenwallner <michael.haubenwallner@salomon.at> | 2009-09-18 02:03:19 +0200 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2009-09-18 00:03:19 +0000 |
commit | 43eb8947669ef42382a53439b9ea084629b4c874 (patch) | |
tree | 2d200e776df21fb2ddd7b0ef9d7de5361a3de276 | |
parent | f16fd827c3f1ea804f8cddb85ac70268de5b81f0 (diff) | |
download | gcc-43eb8947669ef42382a53439b9ea084629b4c874.zip gcc-43eb8947669ef42382a53439b9ea084629b4c874.tar.gz gcc-43eb8947669ef42382a53439b9ea084629b4c874.tar.bz2 |
re PR target/40913 (hppa-hpux: libgcc_s.sl does not have the 'internal name' (=soname) set)
PR target/40913
* config/pa/t-hpux-shlib: Set soname in libgcc_s.sl.
From-SVN: r151826
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/pa/t-hpux-shlib | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 70495b9..d0e229f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/pa/t-hpux-shlib b/gcc/config/pa/t-hpux-shlib index 66556d4..d5a5b6c 100644 --- a/gcc/config/pa/t-hpux-shlib +++ b/gcc/config/pa/t-hpux-shlib @@ -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 \ |