# HG changeset patch
# User Jim Blandy <jimb@redhat.com>
# Date 696892757 0
# Node ID 79ea818b6aedbda7157b0c95da524f2586ca46ba
# Parent  aa0674056f594864b7bfc62680563a031afff577
entered into RCS

diff -r aa0674056f59 -r 79ea818b6aed src/m/mips4.h
--- a/src/m/mips4.h	Fri Jan 31 21:10:36 1992 +0000
+++ b/src/m/mips4.h	Fri Jan 31 21:19:17 1992 +0000
@@ -14,11 +14,15 @@
 /* Define MIPS2 if you have an R6000 or R4000.  */
 /* #define MIPS2 */
 
+#ifdef __GNUC__
+#define C_DEBUG_SWITCH -g -O
+#else
 #ifdef MIPS2
 #define C_DEBUG_SWITCH -systype bsd43 -O -Olimit 791 -g3 -mips2
 #else
 #define C_DEBUG_SWITCH -systype bsd43 -O -Olimit 791 -g3
 #endif
+#endif
 
 #ifdef TERMINFO
 #undef TERMINFO
diff -r aa0674056f59 -r 79ea818b6aed src/s/isc2-2.h
--- a/src/s/isc2-2.h	Fri Jan 31 21:10:36 1992 +0000
+++ b/src/s/isc2-2.h	Fri Jan 31 21:19:17 1992 +0000
@@ -7,7 +7,17 @@
 #define HAVE_RENAME
 #define HAVE_CLOSEDIR
 #define MAXNAMLEN 512
-#define LIB_STANDARD -lcposix -lc
+#define LIB_STANDARD -lPW -lcposix -lc
 #define O_NDELAY O_NONBLOCK
 #define MEMORY_IN_STRING_H
 #undef SIGTSTP
+
+/* This communicates with m-intel386.h.  */
+#define DONT_DEFINE_SIGNAL
+
+/* May be needed to avoid undefined symbols
+   such as gethostname, inet_addr, gethostbyname, socket, connect... */
+#define LIBS_SYSTEM -linet
+
+/* This system has job control.  */
+#undef NOMULTIPLEJOBS
diff -r aa0674056f59 -r 79ea818b6aed src/unexfx2800.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/unexfx2800.c	Fri Jan 31 21:19:17 1992 +0000
@@ -0,0 +1,16 @@
+/* Unexec for the Alliant FX/2800.  */
+
+#include <stdio.h>
+
+unexec (new_name, a_name, data_start, bss_start, entry_address)
+     char *new_name, *a_name;
+     unsigned data_start, bss_start, entry_address;
+{
+  int stat;
+    
+  stat = elf_write_modified_data (a_name, new_name);
+  if (stat < 0)
+    perror ("emacs: elf_write_modified_data");
+  else if (stat > 0)
+    fprintf (stderr, "Unspecified error from elf_write_modified_data.\n");
+}