aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy1992-01-31 21:19:17 +0000
committerJim Blandy1992-01-31 21:19:17 +0000
commit93a3712002fec52f80d4cf0500f762e8dd8a558b (patch)
tree58f0b5761223b205a9f4fef0c6e470843e3c8449
parent9ae5ee04cdfdb5668eb49343efe6cde929ee7406 (diff)
downloademacs-93a3712002fec52f80d4cf0500f762e8dd8a558b.tar.gz
emacs-93a3712002fec52f80d4cf0500f762e8dd8a558b.zip
entered into RCS
-rw-r--r--src/m/mips4.h4
-rw-r--r--src/s/isc2-2.h12
-rw-r--r--src/unexfx2800.c16
3 files changed, 31 insertions, 1 deletions
diff --git a/src/m/mips4.h b/src/m/mips4.h
index 91cda937841..c334905fe2e 100644
--- a/src/m/mips4.h
+++ b/src/m/mips4.h
@@ -14,11 +14,15 @@ NOTE-END */
14/* Define MIPS2 if you have an R6000 or R4000. */ 14/* Define MIPS2 if you have an R6000 or R4000. */
15/* #define MIPS2 */ 15/* #define MIPS2 */
16 16
17#ifdef __GNUC__
18#define C_DEBUG_SWITCH -g -O
19#else
17#ifdef MIPS2 20#ifdef MIPS2
18#define C_DEBUG_SWITCH -systype bsd43 -O -Olimit 791 -g3 -mips2 21#define C_DEBUG_SWITCH -systype bsd43 -O -Olimit 791 -g3 -mips2
19#else 22#else
20#define C_DEBUG_SWITCH -systype bsd43 -O -Olimit 791 -g3 23#define C_DEBUG_SWITCH -systype bsd43 -O -Olimit 791 -g3
21#endif 24#endif
25#endif
22 26
23#ifdef TERMINFO 27#ifdef TERMINFO
24#undef TERMINFO 28#undef TERMINFO
diff --git a/src/s/isc2-2.h b/src/s/isc2-2.h
index 907974abd1f..a8a53310f5a 100644
--- a/src/s/isc2-2.h
+++ b/src/s/isc2-2.h
@@ -7,7 +7,17 @@
7#define HAVE_RENAME 7#define HAVE_RENAME
8#define HAVE_CLOSEDIR 8#define HAVE_CLOSEDIR
9#define MAXNAMLEN 512 9#define MAXNAMLEN 512
10#define LIB_STANDARD -lcposix -lc 10#define LIB_STANDARD -lPW -lcposix -lc
11#define O_NDELAY O_NONBLOCK 11#define O_NDELAY O_NONBLOCK
12#define MEMORY_IN_STRING_H 12#define MEMORY_IN_STRING_H
13#undef SIGTSTP 13#undef SIGTSTP
14
15/* This communicates with m-intel386.h. */
16#define DONT_DEFINE_SIGNAL
17
18/* May be needed to avoid undefined symbols
19 such as gethostname, inet_addr, gethostbyname, socket, connect... */
20#define LIBS_SYSTEM -linet
21
22/* This system has job control. */
23#undef NOMULTIPLEJOBS
diff --git a/src/unexfx2800.c b/src/unexfx2800.c
new file mode 100644
index 00000000000..89e14e678d8
--- /dev/null
+++ b/src/unexfx2800.c
@@ -0,0 +1,16 @@
1/* Unexec for the Alliant FX/2800. */
2
3#include <stdio.h>
4
5unexec (new_name, a_name, data_start, bss_start, entry_address)
6 char *new_name, *a_name;
7 unsigned data_start, bss_start, entry_address;
8{
9 int stat;
10
11 stat = elf_write_modified_data (a_name, new_name);
12 if (stat < 0)
13 perror ("emacs: elf_write_modified_data");
14 else if (stat > 0)
15 fprintf (stderr, "Unspecified error from elf_write_modified_data.\n");
16}