summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2007-01-16 01:39:41 +0000
committerwtchang%redhat.com <devnull@localhost>2007-01-16 01:39:41 +0000
commit599a256ead6adb2f7dbb64ebd34b88f26318309e (patch)
treece2584acbb4dfc24376bd5e1c440df8ac1311b0e
parent849dfc279080a8810dd5d7b5c405f2b88d4760fa (diff)
downloadnspr-hg-599a256ead6adb2f7dbb64ebd34b88f26318309e.tar.gz
Bugzilla bug 362768: improved comments.
-rw-r--r--pr/src/pthreads/ptthread.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/pr/src/pthreads/ptthread.c b/pr/src/pthreads/ptthread.c
index 1c499908..c5063737 100644
--- a/pr/src/pthreads/ptthread.c
+++ b/pr/src/pthreads/ptthread.c
@@ -941,8 +941,15 @@ void _PR_InitThreads(
*/
static void _PR_Fini(void) __attribute__ ((destructor));
#elif defined(__SUNPRO_C)
+/*
+ * Sun Studio compiler
+ */
#pragma fini(_PR_Fini)
#elif defined(HPUX)
+/*
+ * Current versions of HP C compiler define __HP_cc.
+ * HP C compiler A.11.01.20 doesn't define __HP_cc.
+ */
#if defined(__ia64) || defined(_LP64)
#pragma FINI "_PR_Fini"
#else
@@ -974,7 +981,7 @@ void PR_HPUX10xInit(shl_t handle, int loading)
}
#endif
#elif defined(AIX)
-/* Need to use the binitfini::_PR_Fini linker option. */
+/* Need to use the -binitfini::_PR_Fini linker option. */
#endif
static void _PR_Fini(void)