Linux patch.
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Thu, 9 Sep 1993 18:18:54 +0000 (18:18 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Thu, 9 Sep 1993 18:18:54 +0000 (18:18 +0000)
v7/src/microcode/bchdmp.c
v7/src/microcode/unxutl/config
v7/src/microcode/ux.h

index 2fc48a18c33bd6f4e38df10d921222a18dd85a23..6acaf589e191c6e8ed5a12330c9669b8ecb27929 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Id: bchdmp.c,v 9.71 1993/08/23 02:20:41 gjr Exp $
+$Id: bchdmp.c,v 9.72 1993/09/09 18:12:44 gjr Exp $
 
 Copyright (c) 1987-1993 Massachusetts Institute of Technology
 
@@ -273,7 +273,7 @@ DEFUN (fasdump_exit, (length), long length)
 
 #ifdef HAVE_FTRUNCATE
   {
-#ifndef _HPUX
+#if (! (defined(_HPUX) || defined(__linux)))
     /* HP-UX version < 9.0 has the wrong type in the prototype
        in <unistd.h>
      */
index f5f2668078661c051b5e743b7ea98d1eb6239d34..4d15dedcebf974f66596d8ccdc8e4e311a599c4c 100755 (executable)
@@ -1,7 +1,10 @@
 #!/bin/sh
 # Configuration script for MIT Scheme
-# $Id: config,v 1.19 1993/06/24 04:22:09 gjr Exp $
+# $Id: config,v 1.20 1993/09/09 18:15:01 gjr Exp $
 # Modelled on the configuration script for GNU CC
+# The section between lines is the copyright prefix from the GNU CC config.
+#----------------------------------------------------------------------
+
 #   Copyright (C) 1988 Free Software Foundation, Inc.
 
 #This file is part of GNU CC.
@@ -20,6 +23,7 @@
 #along with GNU CC; see the file COPYING.  If not, write to
 #the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 
+#----------------------------------------------------------------------
 #
 # Shell script to create proper links to machine-dependent files in
 # preparation for compiling gcc.
@@ -77,7 +81,7 @@ case $# in
                cmpint_file=mips.h
                cmpaux_file=mips.m4
                ;;
-       386bsd)
+       linux | 386bsd)
                system_file=386bsd
                machine_file=i386
                cmpint_file=i386.h
index 2d69bf9ad2aee6e95f6c7b8af686bfb03bcdf77b..251239582ca2356be56fdf7e138bc3d666230346 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Id: ux.h,v 1.50 1993/08/03 08:30:08 gjr Exp $
+$Id: ux.h,v 1.51 1993/09/09 18:18:54 gjr Exp $
 
 Copyright (c) 1988-1993 Massachusetts Institute of Technology
 
@@ -279,13 +279,6 @@ extern int EXFUN (kill, (pid_t, int));
 #ifdef __linux
 #include <sys/time.h>
 #define SYSTEM_VARIANT "Linux"
-#undef HAVE_SIGCONTEXT
-/* Hacks to put handlers for non-existent signals on SIGSEGV.
-   (Scheme handles SIGSEGV, SIGBUS, SIGEMT, and SIGSYS the same way anyway:
-    defsignal (SIGSEGV, "SIGSEGV",     dfl_terminate,  CORE_DUMP); */
-#define SIGBUS SIGSEGV
-#define SIGEMT SIGSEGV
-#define SIGSYS SIGSEGV
 #endif
 
 #ifdef _ULTRIX