Commit 03be9d6b by John David Anglin Committed by John David Anglin

t-hpux-shlib (SHLIB_LINK): Remove `-lc'.

	* pa/t-hpux-shlib (SHLIB_LINK): Remove `-lc'.
	* pa/pa-hpux11.h (LIB_SPEC): Update comment.

From-SVN: r113894
parent c22cacf3
2006-05-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* pa/t-hpux-shlib (SHLIB_LINK): Remove `-lc'.
* pa/pa-hpux11.h (LIB_SPEC): Update comment.
2006-05-18 Mike Stump <mrs@apple.com> 2006-05-18 Mike Stump <mrs@apple.com>
Fix up vla, vm and [*] sematics. Fix up vla, vm and [*] sematics.
......
...@@ -129,7 +129,10 @@ Boston, MA 02110-1301, USA. */ ...@@ -129,7 +129,10 @@ Boston, MA 02110-1301, USA. */
%{static:-a archive} %{shared:-b}" %{static:-a archive} %{shared:-b}"
#endif #endif
/* hpux 11 has posix threads. */ /* HP-UX 11 has posix threads. HP libc contains pthread stubs so that
non-threaded applications can be linked with a thread-safe libc
without a subsequent loss of performance. For more details, see
<http://docs.hp.com/en/1896/pthreads.html>. */
#undef LIB_SPEC #undef LIB_SPEC
#define LIB_SPEC \ #define LIB_SPEC \
"%{!shared:\ "%{!shared:\
......
...@@ -8,8 +8,7 @@ SHLIB_DIR = @multilib_dir@ ...@@ -8,8 +8,7 @@ SHLIB_DIR = @multilib_dir@
SHLIB_SLIBDIR_QUAL = @shlib_slibdir_qual@ SHLIB_SLIBDIR_QUAL = @shlib_slibdir_qual@
SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \ SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
-o $(SHLIB_DIR)/$(SHLIB_NAME).tmp @multilib_flags@ \ -o $(SHLIB_DIR)/$(SHLIB_NAME).tmp @multilib_flags@ $(SHLIB_OBJS) && \
$(SHLIB_OBJS) -lc && \
rm -f $(SHLIB_DIR)/$(SHLIB_SONAME) && \ rm -f $(SHLIB_DIR)/$(SHLIB_SONAME) && \
if [ -f $(SHLIB_DIR)/$(SHLIB_NAME) ]; then \ if [ -f $(SHLIB_DIR)/$(SHLIB_NAME) ]; then \
mv -f $(SHLIB_DIR)/$(SHLIB_NAME) $(SHLIB_DIR)/$(SHLIB_NAME).backup; \ mv -f $(SHLIB_DIR)/$(SHLIB_NAME) $(SHLIB_DIR)/$(SHLIB_NAME).backup; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment