[committed] Set soname in libgcc_s.sl on hpux
John David Anglin
dave@hiauly1.hia.nrc.ca
Fri Sep 18 00:50:00 GMT 2009
I have committed the following one liner from Michael Haubenwallner
after testing on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. It
fixes an obvious oversight.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
2009-09-17 Michael Haubenwallner <michael.haubenwallner@salomon.at>
PR target/40913
* config/pa/t-hpux-shlib: Set soname in libgcc_s.sl.
Index: config/pa/t-hpux-shlib
===================================================================
--- config/pa/t-hpux-shlib (revision 151675)
+++ config/pa/t-hpux-shlib (working copy)
@@ -26,6 +26,7 @@
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 \
More information about the Gcc-patches
mailing list