backport: re PR target/40913 (hppa-hpux: libgcc_s.sl does not have the 'internal name' (=soname) set)

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.

From-SVN: r152883
This commit is contained in:
John David Anglin 2009-10-16 00:04:11 +00:00 committed by John David Anglin
parent ba7dd97b3d
commit 7af1c0f787
2 changed files with 7 additions and 0 deletions

View File

@ -1,5 +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.
Backport from mainline
2009-05-05 Ben Elliston <bje@au.ibm.com>

View 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 \