ReliantUNIX is renamed SINIX. OJI_19980430_BASE
authorwtc
Wed, 29 Apr 1998 00:08:32 +0000
changeset 73 e30e8b8611c904be15399237ae88863360560169
parent 72 c831519d2e8fcf150a16c9dc9ffb9518b96ca8ad
child 74 7efee0bb07c7394fe7c99d261265299b3055e6c6
child 75 649729814855d730218233b46573f3616a79dc9d
push idunknown
push userunknown
push dateunknown
ReliantUNIX is renamed SINIX.
lib/msgc/tests/Makefile
pr/include/md/Makefile
pr/include/md/_reliantunix.h
pr/src/md/unix/Makefile
pr/src/md/unix/objs.mk
pr/src/md/unix/reliantunix.c
pr/tests/Makefile
--- a/lib/msgc/tests/Makefile
+++ b/lib/msgc/tests/Makefile
@@ -186,17 +186,17 @@ ifeq ($(OS_ARCH), SCO_SV)
 # already linked with these system libraries when we built libnspr.so.
 EXTRA_LIBS = -lsocket
 # This hardcodes in the executable programs the directory to find
 # libnspr.so etc. at program startup.  Equivalent to the -R or -rpath 
 # option for ld on other platforms.
 export LD_RUN_PATH = $(PWD)/$(DIST)/lib
 endif
 
-ifeq ($(OS_ARCH),ReliantUNIX)
+ifeq ($(OS_ARCH),SINIX)
 EXTRA_LIBS = -lsocket -lnsl -lgen -ldl -lresolv /usr/ucblib/libucb.a
 # This hardcodes in the executable programs the directory to find
 # libnspr.so etc. at program startup.  Equivalent to the -R or -rpath
 # option for ld on other platforms.
 export LD_RUN_PATH = $(PWD)/$(DIST)/lib
 endif
 
 ifeq ($(OS_ARCH), UNIXWARE)
--- a/pr/include/md/Makefile
+++ b/pr/include/md/Makefile
@@ -70,17 +70,17 @@ endif
 ifeq ($(OS_ARCH),SunOS)
 ifeq ($(OS_RELEASE),4.1.3_U1)
 MDCPUCFG_H = _sunos4.cfg
 else
 MDCPUCFG_H = _solaris.cfg
 endif
 endif
 
-ifeq ($(OS_ARCH),ReliantUNIX)
+ifeq ($(OS_ARCH),SINIX)
 MDCPUCFG_H = _reliantunix.cfg
 endif
 
 ifeq ($(OS_ARCH),NEWS-OS)
 MDCPUCFG_H = _sony.cfg
 endif
 
 ifeq ($(OS_ARCH),NEC)
--- a/pr/include/md/_reliantunix.h
+++ b/pr/include/md/_reliantunix.h
@@ -23,18 +23,18 @@
  */
 #ifndef nspr_reliantunix_defs_h___
 #define nspr_reliantunix_defs_h___
 
 /*
  * Internal configuration macros
  */
 
-#define PR_LINKER_ARCH	"reliantunix"
-#define _PR_SI_SYSNAME	"ReliantUNIX"
+#define PR_LINKER_ARCH	"sinix"
+#define _PR_SI_SYSNAME	"SINIX"
 #define _PR_SI_ARCHITECTURE "mips"
 #define PR_DLL_SUFFIX ".so"
 
 #define _PR_VMBASE		0x30000000
 #define _PR_STACK_VMBASE	0x50000000
 #define _MD_DEFAULT_STACK_SIZE	(2*65536L)
 #define _MD_MMAP_FLAGS		MAP_PRIVATE|MAP_FIXED
 
--- a/pr/src/md/unix/Makefile
+++ b/pr/src/md/unix/Makefile
@@ -129,17 +129,17 @@ ifeq ($(OS_ARCH),OSF1)
 CSRCS += $(OSF1_CSRCS)
 endif
 ifeq ($(OS_ARCH),Linux)
 CSRCS += $(LINUX_CSRCS)
 endif
 ifeq ($(OS_ARCH),UNIXWARE)
 CSRCS += $(UNIXWARE_CSRCS)
 endif
-ifeq ($(OS_ARCH),ReliantUNIX)
+ifeq ($(OS_ARCH),SINIX)
 CSRCS += $(RELIANTUNIX_CSRCS)
 endif
 ifeq ($(OS_ARCH),NEC)
 CSRCS += $(NEC_CSRCS)
 endif
 ifeq ($(OS_ARCH),NEWS-OS)
 CSRCS += $(SONY_CSRCS)
 endif
@@ -165,18 +165,18 @@ ifeq ($(OS_ARCH),SunOS)
 	ASFILES = os_$(OS_ARCH)_x86.s
     else
 	ifneq ($(OS_RELEASE),4.1.3_U1)
 		ASFILES = os_$(OS_ARCH).s
 	endif
     endif
 endif
 
-ifeq ($(OS_ARCH), ReliantUNIX)
-    ASFILES   = os_$(OS_ARCH).s
+ifeq ($(OS_ARCH), SINIX)
+    ASFILES   = os_ReliantUNIX.s
 endif
 
 ifeq ($(OS_ARCH)$(OS_RELEASE),BSD_OS2.1)
     ASFILES = os_BSD_386_2.s
 endif
 
 TARGETS		= $(OBJS)
 
--- a/pr/src/md/unix/objs.mk
+++ b/pr/src/md/unix/objs.mk
@@ -122,17 +122,17 @@ ifeq ($(OS_ARCH),OSF1)
 CSRCS += $(OSF1_CSRCS)
 endif
 ifeq ($(OS_ARCH),Linux)
 CSRCS += $(LINUX_CSRCS)
 endif
 ifeq ($(OS_ARCH),UNIXWARE)
 CSRCS += $(UNIXWARE_CSRCS)
 endif
-ifeq ($(OS_ARCH),ReliantUNIX)
+ifeq ($(OS_ARCH),SINIX)
 CSRCS += $(RELIANTUNIX_CSRCS)
 endif
 ifeq ($(OS_ARCH),NEC)
 CSRCS += $(NEC_CSRCS)
 endif
 ifeq ($(OS_ARCH),NEWS-OS)
 CSRCS += $(SONY_CSRCS)
 endif
@@ -158,18 +158,18 @@ ifeq ($(OS_ARCH),SunOS)
 	ASFILES = os_$(OS_ARCH)_x86.s
     else
 	ifneq ($(OS_RELEASE),4.1.3_U1)
             ASFILES = os_$(OS_ARCH).s
 	endif
     endif
 endif
 
-ifeq ($(OS_ARCH), ReliantUNIX)
-    ASFILES   = os_$(OS_ARCH).s
+ifeq ($(OS_ARCH), SINIX)
+    ASFILES   = os_ReliantUNIX.s
 endif
 
 ifeq ($(OS_ARCH)$(OS_RELEASE),BSD_OS2.1)
     ASFILES = os_BSD_386_2.s
 endif
 
 OBJS += $(addprefix md/unix/$(OBJDIR)/,$(CSRCS:.c=.$(OBJ_SUFFIX)))  \
 	$(addprefix md/unix/$(OBJDIR)/,$(ASFILES:.s=.$(OBJ_SUFFIX)))
--- a/pr/src/md/unix/reliantunix.c
+++ b/pr/src/md/unix/reliantunix.c
@@ -12,17 +12,17 @@
  * 
  * The Initial Developer of this code under the NPL is Netscape
  * Communications Corporation.  Portions created by Netscape are
  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  * Reserved.
  */
 
 /*
- * ReliantUNIX5.4 - copied from unixware.c by chrisk 040497
+ * SINIX (ReliantUNIX) 5.4 - copied from unixware.c by chrisk 040497
  */
 #include "primpl.h"
 
 #include <ucontext.h>
 
 void _MD_EarlyInit(void)
 {
 }
@@ -84,31 +84,31 @@ PRStatus
 _MD_WAKEUP_WAITER(PRThread *thread)
 {
     if (thread) {
 	PR_ASSERT(!(thread->flags & _PR_GLOBAL_SCOPE));
     }
     return PR_SUCCESS;
 }
 
-/* These functions should not be called for ReliantUNIX */
+/* These functions should not be called for SINIX */
 /* Why? Just copied it from UNIXWARE... flying-by-night, chrisk 040497 */
 void
 _MD_YIELD(void)
 {
-    PR_NOT_REACHED("_MD_YIELD should not be called for ReliantUNIX.");
+    PR_NOT_REACHED("_MD_YIELD should not be called for SINIX.");
 }
 
 PRStatus
 _MD_CREATE_THREAD(
     PRThread *thread,
     void (*start) (void *),
     PRUintn priority,
     PRThreadScope scope,
     PRThreadState state,
     PRUint32 stackSize)
 {
-    PR_NOT_REACHED("_MD_CREATE_THREAD should not be called for ReliantUNIX.");
+    PR_NOT_REACHED("_MD_CREATE_THREAD should not be called for SINIX.");
 #if defined(SNI) && !defined(__GNUC__)
     /* make compiler happy */
     return (PRStatus)NULL;
 #endif
 }
--- a/pr/tests/Makefile
+++ b/pr/tests/Makefile
@@ -274,17 +274,17 @@ ifeq ($(OS_ARCH), SCO_SV)
 # already linked with these system libraries when we built libnspr.so.
 EXTRA_LIBS = -lsocket
 # This hardcodes in the executable programs the directory to find
 # libnspr.so etc. at program startup.  Equivalent to the -R or -rpath 
 # option for ld on other platforms.
 export LD_RUN_PATH = $(PWD)/$(DIST)/lib
 endif
 
-ifeq ($(OS_ARCH),ReliantUNIX)
+ifeq ($(OS_ARCH),SINIX)
 EXTRA_LIBS = -lsocket -lnsl -lgen -ldl -lresolv /usr/ucblib/libucb.a
 # This hardcodes in the executable programs the directory to find
 # libnspr.so etc. at program startup.  Equivalent to the -R or -rpath
 # option for ld on other platforms.
 export LD_RUN_PATH = $(PWD)/$(DIST)/lib
 endif
 
 ifeq ($(OS_ARCH), UNIXWARE)