aboutsummaryrefslogtreecommitdiffstats
path: root/src/m
diff options
context:
space:
mode:
authorDan Nicolaescu2008-06-26 04:24:54 +0000
committerDan Nicolaescu2008-06-26 04:24:54 +0000
commitf2a77c3a41744e43b52f0ac7a2c9bd7f8d406ae1 (patch)
tree05d027376fd22d8624eefdd512362109f7b2389a /src/m
parent3617b1eb8da69a836148741cd35a7d8ec59191af (diff)
downloademacs-f2a77c3a41744e43b52f0ac7a2c9bd7f8d406ae1.tar.gz
emacs-f2a77c3a41744e43b52f0ac7a2c9bd7f8d406ae1.zip
* unexnext.c:
* m/ews4800.h: * m/hp9000s300.h: * m/ibm370aix.h: * m/mips-siemens.h: * m/ncr386.h: * m/next.h: * m/pmax.h: * m/powerpcle.h: * m/tandem-s2.h: * s/386bsd.h: * s/bsd386.h: * s/bsd4-1.h: * s/bsd4-2.h: * s/bsdos2-1.h: * s/bsdos2.h: * s/bsdos3.h: * s/bsdos4.h: * s/nextstep.h: * s/ultrix4-3.h: * s/usg5-0.h: * s/usg5-2-2.h: * s/usg5-2.h: * s/usg5-4-3.h: * s/ux4800.h: * s/uxpds.h: * s/uxpv.h: Remove support for obsolete systems. * s/hpux.h, s/hpux10.h, s/hpux8.h, s/hpux9.h, s/hpux9shr.h: Remove, insert contents in s/hpux-10.20.h * s/aix3-1.h, s/aix3-2-5.h, s/aix3-2.h, s/aix4-1.h, s/aix4.h: Remove, insert contents in s/aix-4.2.h * s/usg5-3.h: Remove, insert contents in s/usg5-4.h. * s/bsd4-3.h: Rename to .. * s/bsd-common.h: ... this. * src/data.c: * src/doc.c: * src/ecrt0.c: * src/emacs.c: * src/fileio.c: * src/floatfns.c: * src/keyboard.c: * src/mem-limits.h: * src/print.c: * src/process.c: * src/sysdep.c: * src/syssignal.h: * src/systty.h: * src/syswait.h: * src/term.c: * src/unexec.c: * src/unexelf.c: * src/unexhp9k800.c: * src/m/hp800.h: * src/m/ibmrs6000.h: * src/m/mips.h: * src/m/vax.h: * src/s/darwin.h: * src/s/freebsd.h: * src/s/gnu.h: * src/s/ms-w32.h: * src/s/msdos.h: * src/s/netbsd.h: * src/s/template.h: Remove references to obsolete variables. * Makefile.in: Add dependencies for all unexec files. (admindir): Remove unused variable. (UNEXEC_SRC): Remove references. * config.nt: Remove reference to UNEXEC_SRC. * lwlib.c: Remove references to obsolete variables. * fakemail.c: Remove references to obsolete variables. * os.texi: Remove references to obsolete systems. * configure.in: * configure: Remove references to obsolete systems.
Diffstat (limited to 'src/m')
-rw-r--r--src/m/ews4800.h40
-rw-r--r--src/m/hp800.h7
-rw-r--r--src/m/hp9000s300.h212
-rw-r--r--src/m/ibm370aix.h51
-rw-r--r--src/m/ibmrs6000.h12
-rw-r--r--src/m/mips-siemens.h161
-rw-r--r--src/m/mips.h2
-rw-r--r--src/m/ncr386.h18
-rw-r--r--src/m/next.h125
-rw-r--r--src/m/pmax.h127
-rw-r--r--src/m/powerpcle.h61
-rw-r--r--src/m/tandem-s2.h24
-rw-r--r--src/m/vax.h6
13 files changed, 5 insertions, 841 deletions
diff --git a/src/m/ews4800.h b/src/m/ews4800.h
deleted file mode 100644
index 5badc7ecf1a..00000000000
--- a/src/m/ews4800.h
+++ /dev/null
@@ -1,40 +0,0 @@
1/* m- file for NEC EWS4800 RISC series.
2 Copyright (C) 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
3 2008 Free Software Foundation, Inc.
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19
20#undef LIB_STANDARD
21#undef C_DEBUG_SWITCH
22#define INHIBIT_BSD_TIME
23#undef USG
24#include "mips.h"
25#define USG
26#undef UNEXEC
27#define UNEXEC unexelf.o
28#undef LIBS_MACHINE
29#undef LD_SWITCH_MACHINE
30#undef START_FILES
31#undef DATA_START
32#undef LIB_STANDARD
33#undef C_SWITCH_MACHINE
34#ifndef __GNUC__
35#undef C_DEBUG_SWITCH
36#define C_DEBUG_SWITCH -O -KOlimit=3000 -ZXNd=5000
37#endif /* !__GNUC__ */
38
39/* arch-tag: 27f72f54-45cd-40a3-b182-345127f04955
40 (do not change this comment) */
diff --git a/src/m/hp800.h b/src/m/hp800.h
index 28d7e4d7371..1a1a6abc465 100644
--- a/src/m/hp800.h
+++ b/src/m/hp800.h
@@ -62,13 +62,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
62/* Common definitions for HPUX and GNU/Linux. */ 62/* Common definitions for HPUX and GNU/Linux. */
63 63
64#if defined (__hpux) || defined (GNU_LINUX) 64#if defined (__hpux) || defined (GNU_LINUX)
65/* Now define a symbol for the cpu type, if your compiler
66 does not define it automatically:
67 Ones defined so far include vax, m68000, ns16000, pyramid,
68 orion, tahoe, APOLLO and many others */
69#ifndef hp9000s800
70# define hp9000s800
71#endif
72 65
73/* Define CANNOT_DUMP on machines where unexec does not work. 66/* Define CANNOT_DUMP on machines where unexec does not work.
74 Then the function dump-emacs will not be defined 67 Then the function dump-emacs will not be defined
diff --git a/src/m/hp9000s300.h b/src/m/hp9000s300.h
deleted file mode 100644
index d7fb8b4015a..00000000000
--- a/src/m/hp9000s300.h
+++ /dev/null
@@ -1,212 +0,0 @@
1/* machine description file for hp9000 series 200 or 300 on either HPUX or BSD.
2 Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
3 2008 Free Software Foundation, Inc.
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19
20
21/* The following line tells the configuration script what sort of
22 operating system this machine is likely to run.
23 USUAL-OPSYS="note"
24
25NOTE-START
26HP 9000 series 200 or 300 (-machine=hp9000s300)
27
28 These machines are 68000-series CPUs running HP-UX
29 (a derivative of sysV with some BSD features) or BSD 4.3 ported by Utah.
30
31 If you're running HP-UX, specify `-opsystem=hpux'.
32 If you're running BSD, specify `-opsystem=bsd4-3'.
33NOTE-END */
34
35/* I don't understand why we have to do this at all! -JimB */
36
37/* Define NOMULTIPLEJOBS on versions of HPUX before 6.5. */
38
39/* #define NOMULTIPLEJOBS */
40
41/* Define this symbol if you are running a version of HP-UX
42 which predates version 6.01 */
43
44/* #define HPUX_5 */
45
46/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
47 is the most significant byte. */
48
49#define WORDS_BIG_ENDIAN
50
51/* Define NO_ARG_ARRAY if you cannot take the address of the first of a
52 * group of arguments and treat it as an array of the arguments. */
53
54/* #define NO_ARG_ARRAY */
55
56/* Define WORD_MACHINE if addresses and such have
57 * to be corrected before they can be used as byte counts. */
58
59/* #define WORD_MACHINE */
60
61/* Now define a symbol for the cpu type, if your compiler
62 does not define it automatically. */
63
64#ifndef hp9000s300
65#define hp9000s300
66#endif
67
68/* Use type int rather than a union, to represent Lisp_Object */
69/* This is desirable for most machines. */
70
71#define NO_UNION_TYPE
72
73/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
74 the 24-bit bit field into an int. In other words, if bit fields
75 are always unsigned.
76
77 If you use NO_UNION_TYPE, this flag does not matter. */
78
79#define EXPLICIT_SIGN_EXTEND
80
81/* Define CANNOT_DUMP on machines where unexec does not work.
82 Then the function dump-emacs will not be defined
83 and temacs will do (load "loadup") automatically unless told otherwise. */
84
85/* #define CANNOT_DUMP */
86
87/* Define VIRT_ADDR_VARIES if the virtual addresses of
88 pure and impure space as loaded can vary, and even their
89 relative order cannot be relied on.
90
91 Otherwise Emacs assumes that text space precedes data space,
92 numerically. */
93
94/* #define VIRT_ADDR_VARIES */
95
96/* For University of Utah 4.3bsd implementation on HP300s.
97 The #ifndef __GNUC__ definitions are required for the "standard" cc,
98 a very old, brain-dead version of PCC. */
99
100#ifdef BSD4_3
101
102/* Tell crt0.c that this is an ordinary 68020. */
103#undef hp9000s300
104#define m68000
105
106#define CRT0_DUMMIES bogus_a6,
107
108#ifndef __GNUC__
109#define LIBS_DEBUG /* don't have -lg that works */
110#define C_DEBUG_SWITCH /* don't support -g */
111#endif
112
113#undef LOAD_AVE_TYPE
114#undef LOAD_AVE_CVT
115#define LOAD_AVE_TYPE long
116#define LOAD_AVE_CVT(x) ((int) (((double) (x)) / 2048.0 * 100.0))
117
118#endif /* BSD4_3 */
119
120#ifndef BSD4_3
121/* The following definitions are for HPUX only. */
122
123/* The symbol in the kernel where the load average is found
124 is named _avenrun on this machine. */
125
126#define LDAV_SYMBOL "_avenrun"
127
128/* Data type of load average, as read out of kmem. */
129
130#define LOAD_AVE_TYPE double
131
132/* Convert that into an integer that is 100 for a load average of 1.0 */
133
134#define LOAD_AVE_CVT(x) ((int) ((x) * 100.0))
135
136/* This library is needed with -g, on the 200/300 only. */
137
138#if !defined(__GNUC__) || defined(__HPUX_ASM__)
139#define LIBS_DEBUG /usr/lib/end.o
140#endif
141
142/* Need a TEXT_START. On the HP9000/s300 that is 0. */
143#ifdef __GNUC__
144#define TEXT_START 0
145#endif
146
147/* The symbol FIONREAD is defined, but the feature does not work
148 on the 200/300. */
149
150#define BROKEN_FIONREAD
151
152/* In older versions of hpux, for unknown reasons, S_IFLNK is defined
153 even though symbolic links do not exist.
154 Make sure our conditionals based on S_IFLNK are not confused.
155
156 Here we assume that stat.h is included before config.h
157 so that we can override it here.
158
159 Version 6 of HP-UX has symbolic links. */
160
161#ifdef HPUX_5
162#undef S_IFLNK
163#endif
164
165/* Define the BSTRING functions in terms of the sysV functions.
166 Version 6 of HP-UX supplies these in the BSD library,
167 but that library has reported bugs in `signal'. */
168
169/* #ifdef HPUX_5 */
170#define bcopy(a,b,s) memcpy (b,a,s)
171#define bzero(a,s) memset (a,0,s)
172#define bcmp memcmp
173/* #endif */
174
175/* On USG systems these have different names.
176 Version 6 of HP-UX supplies these in the BSD library,
177 which we currently want to avoid using. */
178
179/* #ifdef HPUX_5 */
180#define index strchr
181#define rindex strrchr
182/* #endif */
183
184/* Define C_SWITCH_MACHINE to be +X if you want the s200/300
185 * Emacs to run on both 68010 and 68020 based hp-ux's.
186 *
187 * Define OLD_HP_ASSEMBLER if you have an ancient assembler
188 *
189 * Define HPUX_68010 if you are using the new assembler but
190 * compiling for a s200 (upgraded) or s310. 68010 based
191 * processor without 68881.
192 */
193
194/* These switches increase the size of some internal C compiler tables.
195 They are required for compiling the X11 interface files. */
196
197#ifndef HPUX_5
198#ifndef __GNUC__
199#define C_SWITCH_MACHINE -Wc,-Nd4000,-Ns3000
200#endif
201#endif
202
203/* Define NEED_BSDTTY if you have such. */
204
205#ifndef NOMULTIPLEJOBS
206#define NEED_BSDTTY
207#endif
208
209#endif /* not BSD4_3 */
210
211/* arch-tag: 6e0001a5-ed62-4258-9235-204348f6bdb9
212 (do not change this comment) */
diff --git a/src/m/ibm370aix.h b/src/m/ibm370aix.h
deleted file mode 100644
index daaa4ddff02..00000000000
--- a/src/m/ibm370aix.h
+++ /dev/null
@@ -1,51 +0,0 @@
1/* m/ file for IBM 370 running AIX.
2 Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
3 2008 Free Software Foundation, Inc.
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19
20#define AIX
21
22/* Include unistd.h, even though we don't define POSIX. */
23#define NEED_UNISTD_H
24
25/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
26 is the most significant byte. */
27
28#define WORDS_BIG_ENDIAN
29
30#undef TEXT_START
31#undef SEGMENT_MASK
32#undef DATA_SECTION_ALIGNMENT
33
34#define TEXT_START 0
35#define SEGMENT_MASK 0
36#define DATA_SECTION_ALIGNMENT 0x00001000
37
38#undef LOAD_AVE_CVT
39#undef LOAD_AVE_TYPE
40/* Data type of load average, as read out of kmem. */
41#define LOAD_AVE_CVT(x) (int)(((double) (x)) * 100.0 / 1.0)
42#define LOAD_AVE_TYPE double
43
44#undef LIBS_MACHINE
45#define LIBS_MACHINE
46
47#undef LD_SWITCH_MACHINE
48#define LD_SWITCH_MACHINE -xa
49
50/* arch-tag: 8605b600-0580-4e49-9ba9-8b4a977f860a
51 (do not change this comment) */
diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h
index fcbb8f28864..db6ebee0d78 100644
--- a/src/m/ibmrs6000.h
+++ b/src/m/ibmrs6000.h
@@ -107,15 +107,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
107 107
108/* Here override various assumptions in ymakefile */ 108/* Here override various assumptions in ymakefile */
109 109
110#ifdef AIXHFT
111#define OBJECTS_MACHINE hftctl.o
112#endif
113
114#ifndef USG5 110#ifndef USG5
115#define C_SWITCH_MACHINE -D_BSD 111#define C_SWITCH_MACHINE -D_BSD
116#endif 112#endif
117 113
118#ifdef AIX3_2 114#ifdef AIX
119/* -lpthreads seems to be necessary for Xlib in X11R6, and should be harmless 115/* -lpthreads seems to be necessary for Xlib in X11R6, and should be harmless
120 on older versions of X where it happens to exist. */ 116 on older versions of X where it happens to exist. */
121#ifdef HAVE_LIBPTHREADS 117#ifdef HAVE_LIBPTHREADS
@@ -159,15 +155,15 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
159 because .inp is a better convention to use in make-dist for naming 155 because .inp is a better convention to use in make-dist for naming
160 random input files. */ 156 random input files. */
161#ifdef THIS_IS_MAKEFILE /* Don't use this in configure. */ 157#ifdef THIS_IS_MAKEFILE /* Don't use this in configure. */
162#ifdef AIX4 158#ifdef AIX
163#define LD_SWITCH_MACHINE -Wl,-bnodelcsect 159#define LD_SWITCH_MACHINE -Wl,-bnodelcsect
164#else /* not AIX4 */ 160#else /* not AIX */
165#ifdef HAVE_AIX_SMT_EXP 161#ifdef HAVE_AIX_SMT_EXP
166#define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp,-bI:/usr/lpp/X11/bin/smt.exp 162#define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp,-bI:/usr/lpp/X11/bin/smt.exp
167#else 163#else
168#define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp 164#define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp
169#endif 165#endif
170#endif /* not AIX4 */ 166#endif /* not AIX */
171#endif /* THIS_IS_MAKEFILE */ 167#endif /* THIS_IS_MAKEFILE */
172 168
173/* Avoid gcc 2.7.x collect2 bug by using /bin/ld instead. */ 169/* Avoid gcc 2.7.x collect2 bug by using /bin/ld instead. */
diff --git a/src/m/mips-siemens.h b/src/m/mips-siemens.h
deleted file mode 100644
index 1fa475e95d7..00000000000
--- a/src/m/mips-siemens.h
+++ /dev/null
@@ -1,161 +0,0 @@
1/* m- file for Mips machines.
2 Copyright (C) 1987, 1992, 1993, 1995, 2001, 2002, 2003, 2004, 2005,
3 2006, 2007, 2008 Free Software Foundation, Inc.
4
5 This file contains some changes for our SVR4 based SINIX-Mips 5.4.
6 I hope this is helpful to port the emacs to our RM?00 series and
7 maybe to the DC/OSx (Mips-based) machines of Pyramid Inc.
8 (Marco.Walther@mch.sni.de)
9
10This file is part of GNU Emacs.
11
12GNU Emacs is free software: you can redistribute it and/or modify
13it under the terms of the GNU General Public License as published by
14the Free Software Foundation, either version 3 of the License, or
15(at your option) any later version.
16
17GNU Emacs is distributed in the hope that it will be useful,
18but WITHOUT ANY WARRANTY; without even the implied warranty of
19MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20GNU General Public License for more details.
21
22You should have received a copy of the GNU General Public License
23along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
24
25
26/* The following line tells the configuration script what sort of
27 operating system this machine is likely to run.
28 USUAL-OPSYS="note"
29
30NOTE-START
31Use m-mips4.h for RISCOS version 4; use s-bsd4-3.h with the BSD world.
32Note that the proper m- file for the Decstation is m-pmax.h.
33This is the m- file for SNI RM*00 machines. Use s- sinix5-4.h file!
34With this the file mips-siemens.h is obsolete.
35NOTE-END */
36
37/* Define BIG_ENDIAN if lowest-numbered byte in a word
38 is the most significant byte. */
39
40#define BIG_ENDIAN
41
42/* Define NO_ARG_ARRAY if you cannot take the address of the first of a
43 * group of arguments and treat it as an array of the arguments. */
44
45#define NO_ARG_ARRAY
46
47/* Define WORD_MACHINE if addresses and such have
48 * to be corrected before they can be used as byte counts. */
49
50#undef WORD_MACHINE
51
52/* Define how to take a char and sign-extend into an int.
53 On machines where char is signed, this is a no-op. */
54
55#define SIGN_EXTEND_CHAR(c) ((signed char)(c))
56
57/* Now define a symbol for the cpu type, if your compiler
58 does not define it automatically:
59 Ones defined so far include vax, m68000, ns16000, pyramid,
60 orion, tahoe, APOLLO and many others */
61#ifndef mips
62# define mips
63#endif
64
65/* Use type int rather than a union, to represent Lisp_Object */
66/* This is desirable for most machines. */
67
68#define NO_UNION_TYPE
69
70/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
71 the 24-bit bit field into an int. In other words, if bit fields
72 are always unsigned.
73
74 If you use NO_UNION_TYPE, this flag does not matter. */
75
76#define EXPLICIT_SIGN_EXTEND
77
78/* Data type of load average, as read out of kmem. */
79
80#define LOAD_AVE_TYPE long
81
82/* Convert that into an integer that is 100 for a load average of 1.0 */
83
84#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / 256.0)
85
86/* CDC EP/IX 1.4.3 uses /unix */
87
88#undef KERNEL_FILE
89#define KERNEL_FILE "/unix"
90
91/* Define CANNOT_DUMP on machines where unexec does not work.
92 Then the function dump-emacs will not be defined
93 and temacs will do (load "loadup") automatically unless told otherwise. */
94
95#undef CANNOT_DUMP
96
97/* Define VIRT_ADDR_VARIES if the virtual addresses of
98 pure and impure space as loaded can vary, and even their
99 relative order cannot be relied on.
100
101 Otherwise Emacs assumes that text space precedes data space,
102 numerically. */
103
104/* #define VIRT_ADDR_VARIES */
105
106/* Define NO_REMAP if memory segmentation makes it not work well
107 to change the boundary between the text section and data section
108 when Emacs is dumped. If you define this, the preloaded Lisp
109 code will not be sharable; but that's better than failing completely. */
110
111#define NO_REMAP
112
113/* Describe layout of the address space in an executing process. */
114/* MARCO ???
115*/
116#define TEXT_START 0x400000
117/*
118#define DATA_START 0x10000000
119#define DATA_SEG_BITS 0x10000000
120*/
121#ifdef UNEXEC
122#undef UNEXEC
123#endif
124#define UNEXEC unexsni.o
125
126#undef ORDINARY_LINK
127
128#undef LIBS_DEBUG
129
130/* Alter some of the options used when linking. */
131
132#define LIBS_MACHINE -lmld
133#define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xt.o
134
135#ifdef LIB_STANDARD
136#undef LIB_STANDARD
137#endif
138#define LIB_STANDARD -lc /usr/ccs/lib/crtn.o
139
140#ifdef __GNUC__
141#define C_DEBUG_SWITCH
142#define LD_SWITCH_MACHINE
143#else
144#define C_DEBUG_SWITCH -DSYSV
145#define C_OPTIMIZE_SWITCH -DSYSV
146#define LD_SWITCH_MACHINE
147#endif
148
149
150/* The standard definitions of these macros would work ok,
151 but these are faster because the constants are short. */
152
153#define XUINT(a) (((unsigned)(a) << (BITS_PER_INT-VALBITS)) >> (BITS_PER_INT-VALBITS))
154
155#define XSET(var, type, ptr) \
156 ((var) = \
157 ((int)(type) << VALBITS) \
158 + (((unsigned) (ptr) << (BITS_PER_INT-VALBITS)) >> (BITS_PER_INT-VALBITS)))
159
160/* arch-tag: a4f5c090-0bd5-48f0-9724-b7d531f9b6c8
161 (do not change this comment) */
diff --git a/src/m/mips.h b/src/m/mips.h
index b3192d75de7..877e4e4c900 100644
--- a/src/m/mips.h
+++ b/src/m/mips.h
@@ -187,7 +187,7 @@ NOTE-END */
187 187
188#define HAVE_SYSVIPC 188#define HAVE_SYSVIPC
189 189
190#if defined(emacs) && !defined(INHIBIT_BSD_TIME) 190#if defined(emacs)
191#include <bsd/sys/time.h> 191#include <bsd/sys/time.h>
192#endif 192#endif
193 193
diff --git a/src/m/ncr386.h b/src/m/ncr386.h
deleted file mode 100644
index f98566a2959..00000000000
--- a/src/m/ncr386.h
+++ /dev/null
@@ -1,18 +0,0 @@
1#include "intel386.h"
2
3#ifndef __GNUC__
4/* Allow emacs to link with "bcopy()" unresolved. Works around a
5 problem where /usr/lib/libX11.so provides bcopy, but
6 /usr/ccs/lib/libX11.so does not. */
7#define LD_SWITCH_X_DEFAULT -Wl,-z,nodefs
8#else /* __GNUC__ */
9
10/* Assuming we are using GNU ld, pass a -R option to it
11 so that shared libraries will be found at execution time
12 just as they are found at link time. */
13#define LD_SWITCH_X_DEFAULT -Xlinker LD_SWITCH_X_SITE_AUX
14
15#endif /* __GNUC__ */
16
17/* arch-tag: 79c76283-7d50-499b-b910-8ef980357758
18 (do not change this comment) */
diff --git a/src/m/next.h b/src/m/next.h
deleted file mode 100644
index c6e2358fdd9..00000000000
--- a/src/m/next.h
+++ /dev/null
@@ -1,125 +0,0 @@
1/* Configuration file for the NeXT machine.
2 Copyright (C) 1990, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
3 2008 Free Software Foundation, Inc.
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19
20
21/* Say this machine is a next if not previously defined */
22
23#ifndef NeXT
24#define NeXT
25#endif
26
27/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
28 is the most significant byte. */
29
30/* Let the compiler tell us. */
31#ifdef __BIG_ENDIAN__
32#define WORDS_BIG_ENDIAN
33#endif
34
35/* Define how to take a char and sign-extend into an int.
36 On machines where char is signed, this is a no-op. */
37
38#define SIGN_EXTEND_CHAR(c) (c)
39
40/* Use type int rather than a union, to represent Lisp_Object */
41
42#define NO_UNION_TYPE
43
44/* XINT must explicitly sign-extend */
45
46#define EXPLICIT_SIGN_EXTEND
47
48/* Data type of load average, as read out of kmem. */
49
50#define LOAD_AVE_TYPE long
51
52/* Convert that into an integer that is 100 for a load average of 1.0 */
53
54#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
55
56/* Say that the text segment of a.out includes the header;
57 the header actually occupies the first few bytes of the text segment
58 and is counted in hdr.a_text. */
59
60#define A_TEXT_OFFSET(HDR) sizeof (HDR)
61
62/* Mask for address bits within a memory segment */
63
64#define SEGSIZ 0x20000
65#define SEGMENT_MASK (SEGSIZ - 1)
66
67#define SYSTEM_MALLOC
68
69#define HAVE_UNIX_DOMAIN
70
71#define LIB_X11_LIB -L/usr/lib/X11 -lX11
72
73/* This avoids a problem in Xos.h when using co-Xist 3.01. */
74#define X_NOT_POSIX
75
76/* Conflicts in process.c between ioctl.h & tty.h use of t_foo fields */
77
78#define NO_T_CHARS_DEFINES
79
80/* Use our own unexec routines */
81
82#define UNEXEC unexnext.o
83
84/* We don't have a g library either, so override the -lg LIBS_DEBUG switch */
85
86#define LIBS_DEBUG
87
88/* We don't have a libgcc.a, so we can't let LIB_GCC default to -lgcc */
89
90#define LIB_GCC
91
92#if 0 /* ohl@chico.harvard.edu says to do this. */
93/* Compile "strict bsd" to avoid warnings from include files */
94
95#define C_SWITCH_MACHINE -bsd
96#endif
97
98/* Link this program just by running cc. */
99#define ORDINARY_LINK
100
101/* start_of_text isn't actually used, so make it compile without error. */
102#define TEXT_START 0
103/* This seems to be right for end_of_text, but it may not be used anyway. */
104#define TEXT_END get_etext ()
105/* This seems to be right for end_of_data, but it may not be used anyway. */
106#define DATA_END get_edata ()
107
108/* Defining KERNEL_FILE causes lossage because sys/file.h
109 stupidly gets confused by it. */
110#undef KERNEL_FILE
111
112#define LD_SWITCH_MACHINE -X -noseglinkedit
113
114#define environ _environ
115
116#if 0 /* This is ok for NeXT system version 3.0 or above. */
117/* Where to find the kernel, for load average. */
118#define KERNEL_FILE "/mach"
119#endif
120
121/* This should be true for recent NeXT systems. At least since 3.2. */
122#define HAVE_MACH_MACH_H
123
124/* arch-tag: 1155cdcb-1f6c-4208-a2da-22c7473060a1
125 (do not change this comment) */
diff --git a/src/m/pmax.h b/src/m/pmax.h
deleted file mode 100644
index ad884ca8b36..00000000000
--- a/src/m/pmax.h
+++ /dev/null
@@ -1,127 +0,0 @@
1/* Machine description file for DEC MIPS machines.
2
3 Copyright (C) 1992, 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
4 2008 Free Software Foundation, Inc.
5
6This file is part of GNU Emacs.
7
8GNU Emacs is free software: you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by
10the Free Software Foundation, either version 3 of the License, or
11(at your option) any later version.
12
13GNU Emacs is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU General Public License
19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20
21
22#include "mips.h"
23
24/* The following line tells the configuration script what sort of
25 operating system this machine is likely to run.
26 USUAL-OPSYS="note"
27
28NOTE-START
29The operating system would be either osf1, ultrix, or NetBSD.
30NOTE-END */
31
32#ifndef __MIPSEB__
33#undef WORDS_BIG_ENDIAN
34#endif
35#if defined (__NetBSD__)
36#define BROKEN_NOCOMBRELOC
37#else
38#undef LIB_STANDARD
39#undef START_FILES
40#endif
41#undef COFF
42#undef TERMINFO
43#define MAIL_USE_FLOCK
44#define HAVE_UNION_WAIT
45
46
47#ifdef MACH
48#define START_FILES pre-crt0.o /usr/lib/crt0.o
49#else
50#if !defined (__NetBSD__)
51/* This line starts being needed with ultrix 4.0. */
52/* You must delete it for version 3.1. */
53#define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o
54#endif
55#endif
56
57/* Supposedly the following will overcome a kernel bug. */
58#undef LD_SWITCH_MACHINE
59#undef DATA_START
60#define DATA_START 0x10000000
61#define DATA_SEG_BITS 0x10000000
62
63#if 0
64/* I don't see any such conflict in Ultrix 4.2, 4.2a, or 4.3. And
65 the relocating allocator is a real win. -JimB */
66
67/* In Ultrix 4.1, XvmsAlloc.o in libX11.a seems to insist
68 on defining malloc itself. This should avoid conflicting with it. */
69#define SYSTEM_MALLOC
70#endif
71
72/* Override what mips.h says about this. */
73#if !defined (__NetBSD__)
74#undef LINKER
75#endif
76
77#ifdef ultrix
78/* Ultrix 4.2 (perhaps also 4.1) implements O_NONBLOCK
79 but it doesn't work right;
80 and it causes hanging in read_process_output. */
81#define BROKEN_O_NONBLOCK
82#endif
83
84#ifndef __NetBSD__
85/* mcc@timessqr.gc.cuny.edu says this makes Emacs work with DECnet. */
86#ifdef HAVE_LIBDNET
87#define LIBS_MACHINE -ldnet
88#endif
89
90/* mcc@timessqr.gc.cuny.edu says it is /vmunix on Ultrix 4.2a. */
91#undef KERNEL_FILE
92#define KERNEL_FILE "/vmunix"
93#endif
94
95#ifdef ultrix
96/* Jim Wilson writes:
97 [...] The X11 include files that Dec distributes with Ultrix
98 are bogus.
99
100 When __STDC__ is defined (which is true with gcc), the X11 include files
101 try to define prototypes. The prototypes however use types which haven't
102 been defined yet, and thus we get syntax/parse errors.
103
104 You can not fix this by changing the include files, because the prototypes
105 create circular dependencies, in particular Xutil.h depends on types defined
106 in Xlib.h, and Xlib.h depends on types defined in Xutil.h. So, no matter
107 which order you try to include them in, it will still fail.
108
109 Compiling with -DNeedFunctionPrototypes=0 will solve the problem by
110 directly inhibiting the bad prototypes. This could perhaps just be put in
111 an a Ultrix configuration file.
112
113 Using the MIT X11 distribution instead of the one provided by Dec will
114 also solve the problem, but I doubt you can convince everyone to do this. */
115/* Addendum: the MIT X11 distribution neglects to define certain symbols
116 when NeedFunctionPrototypes is 0, but still tries to use them when
117 NeedVarargsPrototypes is 1 (which is its default value). So if we're
118 going to disable non-variadic prototypes, we also need to disable
119 variadic prototypes. --kwzh@gnu.ai.mit.edu */
120#define C_SWITCH_X_MACHINE -DNeedFunctionPrototypes=0 -DNeedVarargsPrototypes=0
121#endif
122
123/* Enable a fix in process.c. */
124#define SET_CHILD_PTY_PGRP
125
126/* arch-tag: 45d5070e-d2b7-479f-b336-3fd497c36e15
127 (do not change this comment) */
diff --git a/src/m/powerpcle.h b/src/m/powerpcle.h
deleted file mode 100644
index 071ea29d61e..00000000000
--- a/src/m/powerpcle.h
+++ /dev/null
@@ -1,61 +0,0 @@
1/* machine description file for PowerPC.
2 Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
3 2008 Free Software Foundation, Inc.
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19
20/* The following line tells the configuration script what sort of
21 operating system this machine is likely to run.
22 USUAL-OPSYS="Solaris2.5.1 Windows/NT AIX 4.1.2"
23*/
24
25/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
26 is the most significant byte. */
27
28#undef WORDS_BIG_ENDIAN
29
30/* Define NO_ARG_ARRAY if you cannot take the address of the first of a
31 * group of arguments and treat it as an array of the arguments. */
32
33#define NO_ARG_ARRAY
34
35/* Say this machine is a PowerPC Refernce Platform */
36
37#ifndef prep
38#define prep
39#endif
40
41/* Use type int rather than a union, to represent Lisp_Object */
42
43#define NO_UNION_TYPE
44
45/* XINT must explicitly sign-extend */
46
47#define EXPLICIT_SIGN_EXTEND
48
49/* Data type of load average, as read out of kmem. */
50
51#define LOAD_AVE_TYPE long
52
53/* Convert that into an integer that is 100 for a load average of 1.0 */
54
55#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
56
57/* Control a conditional in unexelf.c. */
58#define SOLARIS_POWERPC
59
60/* arch-tag: dc2c3cb6-4683-45ae-961f-0a4f2bda3c61
61 (do not change this comment) */
diff --git a/src/m/tandem-s2.h b/src/m/tandem-s2.h
deleted file mode 100644
index b22f9bb66af..00000000000
--- a/src/m/tandem-s2.h
+++ /dev/null
@@ -1,24 +0,0 @@
1/* machine description file for the Tandem Integrity S2. */
2
3#include "mips.h"
4
5/* The following line tells the configuration script what sort of
6 operating system this machine is likely to run.
7 USUAL-OPSYS="usg5-3" */
8
9/* This overrides some of the usual support for the mips and system V.3. */
10
11/* The operating system apparently defines TIOCGETC
12 but it doesn't work. */
13#undef BROKEN_TIOCGETC
14
15/* rs@ai.mit.edu said this was necessary for it to work. However, some
16 user of this machine ought to try to get subprocesses to work. */
17#undef subprocesses
18
19/* Correct some library file names. */
20#define START_FILES pre-crt0.o /usr/lib/crt1.o1.31
21#define LIB_STANDARD -lbsd -lc /usr/lib/crtn.o1.31
22
23/* arch-tag: ae34a1a6-6408-4b23-a6d3-ce4e8f124916
24 (do not change this comment) */
diff --git a/src/m/vax.h b/src/m/vax.h
index 631a25d50c9..35050a11e10 100644
--- a/src/m/vax.h
+++ b/src/m/vax.h
@@ -100,12 +100,6 @@ NOTE-END */
100#ifdef USG 100#ifdef USG
101#define LIB_STANDARD -lPW -lc 101#define LIB_STANDARD -lPW -lc
102 102
103/* There is some bug in unexec in for usg 5.2 on a vax
104 which nobody who runs such a system has yet tracked down. */
105#ifndef USG5_0
106#define NO_REMAP
107#endif /* USG 5_0 */
108
109#define TEXT_START 0 103#define TEXT_START 0
110#endif /* USG */ 104#endif /* USG */
111 105