added SPARC architecture
authorroot <devnull@localhost>
Tue, 27 Feb 1996 23:18:11 +0000 (23:18 +0000)
committerroot <devnull@localhost>
Tue, 27 Feb 1996 23:18:11 +0000 (23:18 +0000)
CVS patchset: 434
CVS date: 1996/02/27 23:18:11

lib/misc.c

index 6a0910f..fb985fe 100644 (file)
@@ -107,6 +107,9 @@ static void init_arch_os(void)
     } else if (!strcmp(un.machine, "alpha")) {
        archnum = 2;
        archname = "axp";
+    } else if (!strcmp(un.machine, "sparc")) {
+       archnum = 3;
+       archname = "sparc";
     } else {
        /* XXX unknown arch - how should we handle this? */
     }