summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2006-05-19 00:12:01 +0000
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2006-05-19 00:12:01 +0000
commit56967b5bafdc796f14e14b4a8ad6cd10ce12177e (patch)
treec91d98711e50674aec8b042cdff86a8731d059c7 /gcc/config
parenta0c938f0e74166de102281ac2f445e4be5ff257e (diff)
downloadgcc-56967b5bafdc796f14e14b4a8ad6cd10ce12177e.tar.gz
* pa/t-hpux-shlib (SHLIB_LINK): Remove `-lc'.
* pa/pa-hpux11.h (LIB_SPEC): Update comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113894 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/pa/pa-hpux11.h5
-rw-r--r--gcc/config/pa/t-hpux-shlib3
2 files changed, 5 insertions, 3 deletions
diff --git a/gcc/config/pa/pa-hpux11.h b/gcc/config/pa/pa-hpux11.h
index ad16bb41e3f..819dea157a4 100644
--- a/gcc/config/pa/pa-hpux11.h
+++ b/gcc/config/pa/pa-hpux11.h
@@ -129,7 +129,10 @@ Boston, MA 02110-1301, USA. */
%{static:-a archive} %{shared:-b}"
#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
#define LIB_SPEC \
"%{!shared:\
diff --git a/gcc/config/pa/t-hpux-shlib b/gcc/config/pa/t-hpux-shlib
index 4bb9d676e7a..d609d3f8624 100644
--- a/gcc/config/pa/t-hpux-shlib
+++ b/gcc/config/pa/t-hpux-shlib
@@ -8,8 +8,7 @@ SHLIB_DIR = @multilib_dir@
SHLIB_SLIBDIR_QUAL = @shlib_slibdir_qual@
SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
- -o $(SHLIB_DIR)/$(SHLIB_NAME).tmp @multilib_flags@ \
- $(SHLIB_OBJS) -lc && \
+ -o $(SHLIB_DIR)/$(SHLIB_NAME).tmp @multilib_flags@ $(SHLIB_OBJS) && \
rm -f $(SHLIB_DIR)/$(SHLIB_SONAME) && \
if [ -f $(SHLIB_DIR)/$(SHLIB_NAME) ]; then \
mv -f $(SHLIB_DIR)/$(SHLIB_NAME) $(SHLIB_DIR)/$(SHLIB_NAME).backup; \