diff options
| author | Dan Nicolaescu | 2008-01-06 00:56:56 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-01-06 00:56:56 +0000 |
| commit | f3041af143f4ab74041fc918feee43aa8ac2da88 (patch) | |
| tree | a84bdb93b8f941075b511480aa283e2847fbbcac /src/m | |
| parent | 37d6e31370557ab868033dde113f11b54994e576 (diff) | |
| download | emacs-f3041af143f4ab74041fc918feee43aa8ac2da88.tar.gz emacs-f3041af143f4ab74041fc918feee43aa8ac2da88.zip | |
* configure.in: Remove references to unsupported systems.
* notes/copyright:
* MAINTAINERS: Remove references to files that have been removed.
* os.texi (System Environment): Remove references to OSes that are
not supported anymore.
* PROBLEMS:
* MACHINES: Remove references to systems not supported anymore.
* makefile.w32-in:
* Makefile.in: Remove references to Xenix.
* gnus.el (gnus-use-long-file-name): Remove reference to xenix.
* obsolete/x-apollo.el: Remove file for unsupported system.
* term/x-win.el (vendor-specific-keysyms): Remove reference to
Apollo.
* progmodes/gud.el (gud-dgux-p): Remove.
(dbx): Remove reference to dgux.
* progmodes/ps-mode.el (ps-mode-print-function):
* ps-print.el (ps-lp-system):
* paths.el (rmail-spool-directory):
* ls-lisp.el (ls-lisp-emulation):
* lpr.el (lpr-lp-system):
* dired.el (dired-chown-program): Remove references to dgux.
* m/7300.h:
* m/acorn.h:
* m/alliant-2800.h:
* m/alliant.h:
* m/alliant1.h:
* m/alliant4.h:
* m/altos.h:
* m/amdahl.h:
* m/apollo.h:
* m/att3b.h:
* m/aviion-intel.h:
* m/aviion.h:
* m/celerity.h:
* m/clipper.h:
* m/cnvrgnt.h:
* m/convex.h:
* m/cydra5.h:
* m/delta88k.h:
* m/dpx2.h:
* m/dual.h:
* m/elxsi.h:
* m/f301.h:
* m/gould-np1.h:
* m/gould.h:
* m/i860.h:
* m/ibmps2-aix.h:
* m/ibmrt-aix.h:
* m/ibmrt.h:
* m/irist.h:
* m/is386.h:
* m/isi-ov.h:
* m/mega68.h:
* m/mg1.h:
* m/news-r6.h:
* m/news-risc.h:
* m/news.h:
* m/nh3000.h:
* m/nh4000.h:
* m/ns16000.h:
* m/ns32000.h:
* m/nu.h:
* m/orion.h:
* m/orion105.h:
* m/paragon.h:
* m/pfa50.h:
* m/plexus.h:
* m/pyramid.h:
* m/pyrmips.h:
* m/sh3el.h:
* m/sps7.h:
* m/sr2k.h:
* m/stride.h:
* m/sun1.h:
* m/sun2.h:
* m/sun3-68881.h:
* m/sun3-fpa.h:
* m/sun3-soft.h:
* m/sun3.h:
* m/sun386.h:
* m/symmetry.h:
* m/tad68k.h:
* m/tahoe.h:
* m/targon31.h:
* m/tek4300.h:
* m/tekxd88.h:
* m/tower32.h:
* m/tower32v3.h:
* m/ustation.h:
* m/wicat.h:
* m/xps100.h:
* s/cxux.h:
* s/cxux7.h:
* s/dgux.h:
* s/dgux4.h:
* s/dgux5-4-3.h:
* s/dgux5-4r2.h:
* s/esix.h:
* s/esix5r4.h:
* s/hiuxmpp.h:
* s/hiuxwe2.h:
* s/iris3-5.h:
* s/iris3-6.h:
* s/isc2-2.h:
* s/isc3-0.h:
* s/isc4-0.h:
* s/isc4-1.h:
* s/newsos5.h:
* s/newsos6.h:
* s/osf1.h:
* s/osf5-0.h:
* s/riscix1-1.h:
* s/riscix12.h:
* s/sco4.h:
* s/sco5.h:
* s/sunos4-0.h:
* s/sunos4-1.h:
* s/sunos413.h:
* s/sunos4shr.h:
* s/umax.h:
* s/unipl5-2.h:
* s/xenix.h:
* cxux-crt0.s:
* unexapollo.c:
* unexconvex.c:
* unexenix.c:
* unexsni.c: Remove files for systems no longer supported.
* m/intel386.h: Remove references to unsupported systems.
* w32.c (get_emacs_configuration): Remove reference to i860.
* sysdep.c: Remove dead code.
Diffstat (limited to 'src/m')
71 files changed, 2 insertions, 6891 deletions
diff --git a/src/m/7300.h b/src/m/7300.h deleted file mode 100644 index 6e439a829cc..00000000000 --- a/src/m/7300.h +++ /dev/null | |||
| @@ -1,98 +0,0 @@ | |||
| 1 | /* machine description file for AT&T UNIX PC model 7300 | ||
| 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | Modified for this machine by mtxinu!rtech!gonzo!daveb | ||
| 5 | |||
| 6 | This file is part of GNU Emacs. | ||
| 7 | |||
| 8 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 3, or (at your option) | ||
| 11 | any later version. | ||
| 12 | |||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. */ | ||
| 22 | |||
| 23 | |||
| 24 | /* The following line tells the configuration script what sort of | ||
| 25 | operating system this machine is likely to run. | ||
| 26 | USUAL-OPSYS="usg5-2-2" */ | ||
| 27 | |||
| 28 | /* Supposedly now these machines have flexnames. | ||
| 29 | |||
| 30 | /* # define SHORTNAMES */ | ||
| 31 | |||
| 32 | |||
| 33 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 34 | is the most significant byte. */ | ||
| 35 | |||
| 36 | #define WORDS_BIG_ENDIAN | ||
| 37 | |||
| 38 | /* XINT must explicitly sign-extend */ | ||
| 39 | |||
| 40 | #define EXPLICIT_SIGN_EXTEND | ||
| 41 | |||
| 42 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 43 | |||
| 44 | #define NO_UNION_TYPE | ||
| 45 | |||
| 46 | /* Now define a symbol for the cpu type, if your compiler | ||
| 47 | does not define it automatically: | ||
| 48 | vax, m68000, ns16000 are the ones defined so far. */ | ||
| 49 | |||
| 50 | # ifndef mc68k | ||
| 51 | # define mc68k | ||
| 52 | # endif | ||
| 53 | #ifndef m68k | ||
| 54 | #define m68k | ||
| 55 | #endif | ||
| 56 | |||
| 57 | /* Cause crt0.c to define errno. */ | ||
| 58 | |||
| 59 | #define NEED_ERRNO | ||
| 60 | |||
| 61 | /* Data type of load average, as read out of kmem. */ | ||
| 62 | /* These are commented out since it is not supported by this machine. */ | ||
| 63 | |||
| 64 | /* #define LOAD_AVE_TYPE long */ | ||
| 65 | |||
| 66 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 67 | |||
| 68 | /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */ | ||
| 69 | |||
| 70 | #ifndef __GNUC__ | ||
| 71 | |||
| 72 | #define SWITCH_ENUM_BUG | ||
| 73 | |||
| 74 | #endif | ||
| 75 | |||
| 76 | /* If you have the PD pty driver installed, uncomment the following line. */ | ||
| 77 | /* #define HAVE_PTYS */ | ||
| 78 | |||
| 79 | #define HAVE_SYSVIPC | ||
| 80 | |||
| 81 | /* We don't have memmove. */ | ||
| 82 | #define memmove(d, s, n) safe_bcopy (s, d, n) | ||
| 83 | |||
| 84 | /* These three lines were new in 18.50. They were said to permit | ||
| 85 | a demand-paged executable, but someone else says they don't work. | ||
| 86 | Someone else says they do. They didn't work because errno was an | ||
| 87 | initialized variable in crt0.c, and because of %splimit (also therein), | ||
| 88 | both of which have been fixed now. */ | ||
| 89 | #define SECTION_ALIGNMENT 0x03ff | ||
| 90 | #define SEGMENT_MASK 0xffff | ||
| 91 | #define LD_SWITCH_MACHINE -z | ||
| 92 | |||
| 93 | /* Insist on using cc when compiling this. GCC may have been | ||
| 94 | configured to use GAS syntax, which causes problems. */ | ||
| 95 | #define CRT0_COMPILE cc -c -O -Demacs | ||
| 96 | |||
| 97 | /* arch-tag: 66219dc7-ef45-4f0c-bb98-f35421f39c8d | ||
| 98 | (do not change this comment) */ | ||
diff --git a/src/m/acorn.h b/src/m/acorn.h deleted file mode 100644 index 148d46454ab..00000000000 --- a/src/m/acorn.h +++ /dev/null | |||
| @@ -1,185 +0,0 @@ | |||
| 1 | /* Machine description file for Acorn RISCiX machines. | ||
| 2 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 25 | is the most significant byte. */ | ||
| 26 | |||
| 27 | #undef WORDS_BIG_ENDIAN | ||
| 28 | |||
| 29 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 30 | * group of arguments and treat it as an array of the arguments. We can't | ||
| 31 | * do this on the arm with gcc, since the first 4 args are in registers. */ | ||
| 32 | |||
| 33 | #ifdef __GNUC__ | ||
| 34 | #define NO_ARG_ARRAY | ||
| 35 | #else | ||
| 36 | #undef NO_ARG_ARRAY | ||
| 37 | #endif | ||
| 38 | |||
| 39 | /* Define WORD_MACHINE if addresses and such have | ||
| 40 | * to be corrected before they can be used as byte counts. */ | ||
| 41 | |||
| 42 | #undef WORD_MACHINE | ||
| 43 | |||
| 44 | /* Define how to take a char and sign-extend into an int. | ||
| 45 | On machines where char is signed, this is a no-op. */ | ||
| 46 | |||
| 47 | /* ARM note - The RISCiX Norcroft C Compiler has ALL | ||
| 48 | non-32-bit types as unsigned */ | ||
| 49 | |||
| 50 | #define SIGN_EXTEND_CHAR(c) (((int)(c) << 24) >> 24) | ||
| 51 | |||
| 52 | /* Now define a symbol for the cpu type, if your compiler | ||
| 53 | does not define it automatically: | ||
| 54 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 55 | orion, tahoe, APOLLO and many others */ | ||
| 56 | |||
| 57 | /* ARM note - this is done by the Norcroft compiler - symbol is `__arm' */ | ||
| 58 | |||
| 59 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 60 | /* This is desirable for most machines. */ | ||
| 61 | |||
| 62 | #define NO_UNION_TYPE | ||
| 63 | |||
| 64 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 65 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 66 | are always unsigned. | ||
| 67 | |||
| 68 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 69 | |||
| 70 | #define EXPLICIT_SIGN_EXTEND | ||
| 71 | |||
| 72 | #ifdef LDAV_SYMBOL | ||
| 73 | #undef LDAV_SYMBOL | ||
| 74 | #endif | ||
| 75 | |||
| 76 | #define LDAV_SYMBOL "_iavenrun" | ||
| 77 | |||
| 78 | |||
| 79 | /* Data type of load average, as read out of kmem. */ | ||
| 80 | |||
| 81 | #define LOAD_AVE_TYPE long | ||
| 82 | |||
| 83 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 84 | |||
| 85 | /* | ||
| 86 | * Scale factor for scaled integers used to count | ||
| 87 | * %cpu time and load averages. | ||
| 88 | */ | ||
| 89 | |||
| 90 | /* FSHIFT and FSCALE are defined in param.h, but are required by | ||
| 91 | LOAD_AVE_CVT, so they need to be defined here. */ | ||
| 92 | |||
| 93 | #ifndef FSHIFT | ||
| 94 | #define FSHIFT 8 /* bits to right of fixed binary point */ | ||
| 95 | #endif | ||
| 96 | |||
| 97 | #ifndef FSCALE | ||
| 98 | #define FSCALE (1<<FSHIFT) | ||
| 99 | #endif | ||
| 100 | |||
| 101 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 102 | |||
| 103 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 104 | Then the function dump-emacs will not be defined | ||
| 105 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 106 | |||
| 107 | #undef CANNOT_DUMP | ||
| 108 | |||
| 109 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 110 | pure and impure space as loaded can vary, and even their | ||
| 111 | relative order cannot be relied on. | ||
| 112 | |||
| 113 | Otherwise Emacs assumes that text space precedes data space, | ||
| 114 | numerically. */ | ||
| 115 | |||
| 116 | #undef VIRT_ADDR_VARIES | ||
| 117 | |||
| 118 | /* This prevents Emacs dumping an unsqueezed binary with the | ||
| 119 | SQUEEZE bit set in the magic number. */ | ||
| 120 | |||
| 121 | #define ADJUST_EXEC_HEADER {hdr.a_magic &= ~MF_SQUEEZED;} | ||
| 122 | |||
| 123 | #ifdef __GNUC__ | ||
| 124 | |||
| 125 | /* Keep gcc/RISCiX happy - it uses __gccmain where other versions of | ||
| 126 | gcc use __main, because of a library routine name clash. */ | ||
| 127 | #define __main __gccmain | ||
| 128 | |||
| 129 | #endif /* __GNUC__ */ | ||
| 130 | |||
| 131 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 132 | to change the boundary between the text section and data section | ||
| 133 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 134 | code will not be sharable; but that's better than failing completely. */ | ||
| 135 | |||
| 136 | #define NO_REMAP | ||
| 137 | |||
| 138 | |||
| 139 | #ifndef NOT_C_CODE | ||
| 140 | #define TEXT_START 0x8000 | ||
| 141 | #define DATA_END &_edata | ||
| 142 | extern int _edata; | ||
| 143 | #define etext _etext | ||
| 144 | #endif | ||
| 145 | |||
| 146 | /* Avoid debugging library */ | ||
| 147 | #define LIBS_DEBUG | ||
| 148 | |||
| 149 | /* Avoid sharing libc */ | ||
| 150 | #define LIB_STANDARD -lc_n | ||
| 151 | |||
| 152 | /* Avoid sharing libX11 */ | ||
| 153 | #define LIB_X11_LIB -lX11_n | ||
| 154 | |||
| 155 | /* All kinds of symbol definitions, so as to avoid multiply defined symbol | ||
| 156 | errors from the RISCiX linker. */ | ||
| 157 | |||
| 158 | #ifdef __GNUC__ | ||
| 159 | #define C_DEBUG_SWITCH | ||
| 160 | |||
| 161 | #define C_OPTIMIZE_SWITCH -O1 -fomit-frame-pointer -w -g -Dgetopt=gnu_getopt -Dopterr=gnu_opterr -Doptind=gnu_optind -Doptarg=gnu_optarg -Dcfree=gnu_cfree -D___type= | ||
| 162 | |||
| 163 | #else | ||
| 164 | #define C_DEBUG_SWITCH -O -w -g -Dgetopt=gnu_getopt -Dopterr=gnu_opterr -Doptind=gnu_optind -Doptarg=gnu_optarg -Dcfree=gnu_cfree | ||
| 165 | #endif | ||
| 166 | |||
| 167 | /* Turn this on to avoid the emacs malloc and use standard one */ | ||
| 168 | |||
| 169 | #undef SYSTEM_MALLOC | ||
| 170 | |||
| 171 | /* Use <dirent.h>. */ | ||
| 172 | #define SYSV_SYSTEM_DIR | ||
| 173 | |||
| 174 | #ifdef NO_REMAP | ||
| 175 | /* CRT0_O is defined in s/riscix1-1.h or s/riscix1-2.h, as appropriate. */ | ||
| 176 | #define START_FILES pre-crt0.o CRT0_O | ||
| 177 | #else | ||
| 178 | Cannot | ||
| 179 | do | ||
| 180 | this | ||
| 181 | yet | ||
| 182 | #endif | ||
| 183 | |||
| 184 | /* arch-tag: acee2955-8c49-4b40-813c-579f76f4c0c3 | ||
| 185 | (do not change this comment) */ | ||
diff --git a/src/m/alliant-2800.h b/src/m/alliant-2800.h deleted file mode 100644 index 405267afb2b..00000000000 --- a/src/m/alliant-2800.h +++ /dev/null | |||
| @@ -1,130 +0,0 @@ | |||
| 1 | /* alliant-2800.h - Alliant FX/2800 machine running Concentrix 2800. | ||
| 2 | Copyright (C) 1990, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="bsd4-3" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #undef WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 33 | * group of arguments and treat it as an array of the arguments. */ | ||
| 34 | |||
| 35 | #define NO_ARG_ARRAY | ||
| 36 | |||
| 37 | /* Define WORD_MACHINE if addresses and such have | ||
| 38 | * to be corrected before they can be used as byte counts. */ | ||
| 39 | |||
| 40 | #undef WORD_MACHINE | ||
| 41 | |||
| 42 | /* Now define a symbol for the cpu type, if your compiler | ||
| 43 | does not define it automatically: | ||
| 44 | vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO | ||
| 45 | are the ones defined so far. */ | ||
| 46 | |||
| 47 | #define ALLIANT | ||
| 48 | #define ALLIANT_2800 | ||
| 49 | #define sun /* Use X support for Sun keyboard stuff. */ | ||
| 50 | #define C_OPTIMIZE_SWITCH -Og /* No concurrent code allowed here. */ | ||
| 51 | |||
| 52 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 53 | /* This is desirable for most machines. */ | ||
| 54 | |||
| 55 | #define NO_UNION_TYPE | ||
| 56 | |||
| 57 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 58 | the bit field into an int. In other words, if bit fields | ||
| 59 | are always unsigned. | ||
| 60 | |||
| 61 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 62 | /* On Alliants, bitfields are unsigned. */ | ||
| 63 | |||
| 64 | #define EXPLICIT_SIGN_EXTEND | ||
| 65 | |||
| 66 | /* Concentrix uses a different kernel symbol for load average. */ | ||
| 67 | |||
| 68 | #undef LDAV_SYMBOL /* Undo definition in s-bsd4-2.h */ | ||
| 69 | #define LDAV_SYMBOL "_Loadavg" | ||
| 70 | |||
| 71 | /* Data type of load average, as read out of kmem. */ | ||
| 72 | |||
| 73 | #define LOAD_AVE_TYPE long | ||
| 74 | |||
| 75 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 76 | |||
| 77 | #define LOAD_AVE_CVT(x) (x * 100 / LOADAVG_SCALE) | ||
| 78 | |||
| 79 | /* include <sys/param.h> for the definition of LOADAVG_SCALE, and also | ||
| 80 | LOADAVG_SIZE, the number of items in the Loadavg array. */ | ||
| 81 | |||
| 82 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 83 | Then the function dump-emacs will not be defined | ||
| 84 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 85 | |||
| 86 | /* #define CANNOT_DUMP */ | ||
| 87 | #define UNEXEC unexfx2800.o | ||
| 88 | #define LIBS_MACHINE -lalliant | ||
| 89 | |||
| 90 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 91 | pure and impure space as loaded can vary, and even their | ||
| 92 | relative order cannot be relied on. | ||
| 93 | |||
| 94 | Otherwise Emacs assumes that text space precedes data space, | ||
| 95 | numerically. */ | ||
| 96 | |||
| 97 | #undef VIRT_ADDR_VARIES | ||
| 98 | |||
| 99 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 100 | to change the boundary between the text section and data section | ||
| 101 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 102 | code will not be sharable; but that's better than failing completely. */ | ||
| 103 | /* Actually, Alliant CONCENTRIX does paging "right": | ||
| 104 | data pages are copy-on-write, which means that the pure data areas | ||
| 105 | are shared automatically and remapping is not necessary. */ | ||
| 106 | |||
| 107 | #define NO_REMAP | ||
| 108 | |||
| 109 | /* Alliant needs special crt0.o because system version is not reentrant */ | ||
| 110 | |||
| 111 | #define START_FILES crt0.o | ||
| 112 | |||
| 113 | /* Alliant dependent code for dumping executing image. | ||
| 114 | See crt0.c code for alliant. */ | ||
| 115 | |||
| 116 | #define ADJUST_EXEC_HEADER {\ | ||
| 117 | extern int _curbrk, _setbrk;\ | ||
| 118 | _setbrk = _curbrk;\ | ||
| 119 | hdr.a_bss_addr = bss_start;\ | ||
| 120 | unexec_text_start = hdr.a_text_addr;} | ||
| 121 | |||
| 122 | /* POSIX Compatibility */ | ||
| 123 | /* Use System V.4 style getdents/readdir <dirent.h> for 2.2 and up. */ | ||
| 124 | #define SYSV_SYSTEM_DIR | ||
| 125 | |||
| 126 | /* Use the K&R version of the DEFUN macro. */ | ||
| 127 | #define USE_NONANSI_DEFUN | ||
| 128 | |||
| 129 | /* arch-tag: 8ba70b15-d082-40f6-931d-14adfd7f9dbd | ||
| 130 | (do not change this comment) */ | ||
diff --git a/src/m/alliant.h b/src/m/alliant.h deleted file mode 100644 index 7cad4bfb0c1..00000000000 --- a/src/m/alliant.h +++ /dev/null | |||
| @@ -1,123 +0,0 @@ | |||
| 1 | /* alliant.h Alliant machine running system version 2 or 3. | ||
| 2 | Copyright (C) 1985, 1986, 1987, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | Note that for version 1 of the Alliant system | ||
| 5 | you should use alliant1.h instead of this file. | ||
| 6 | Use alliant4.h for version 4. | ||
| 7 | |||
| 8 | This file is part of GNU Emacs. | ||
| 9 | |||
| 10 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 11 | it under the terms of the GNU General Public License as published by | ||
| 12 | the Free Software Foundation; either version 3, or (at your option) | ||
| 13 | any later version. | ||
| 14 | |||
| 15 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 16 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 18 | GNU General Public License for more details. | ||
| 19 | |||
| 20 | You should have received a copy of the GNU General Public License | ||
| 21 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 22 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 23 | Boston, MA 02110-1301, USA. */ | ||
| 24 | |||
| 25 | /* The following line tells the configuration script what sort of | ||
| 26 | operating system this machine is likely to run. | ||
| 27 | USUAL-OPSYS="bsd4-2" */ | ||
| 28 | |||
| 29 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 30 | is the most significant byte. */ | ||
| 31 | |||
| 32 | #define WORDS_BIG_ENDIAN | ||
| 33 | |||
| 34 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 35 | * group of arguments and treat it as an array of the arguments. */ | ||
| 36 | |||
| 37 | #ifdef ALLIANT_1 | ||
| 38 | #define NO_ARG_ARRAY | ||
| 39 | #endif | ||
| 40 | |||
| 41 | /* Define WORD_MACHINE if addresses and such have | ||
| 42 | * to be corrected before they can be used as byte counts. */ | ||
| 43 | |||
| 44 | #undef WORD_MACHINE | ||
| 45 | |||
| 46 | /* Now define a symbol for the cpu type, if your compiler | ||
| 47 | does not define it automatically: | ||
| 48 | vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO | ||
| 49 | are the ones defined so far. */ | ||
| 50 | |||
| 51 | #define ALLIANT | ||
| 52 | |||
| 53 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 54 | /* This is desirable for most machines. */ | ||
| 55 | |||
| 56 | #define NO_UNION_TYPE | ||
| 57 | |||
| 58 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 59 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 60 | are always unsigned. | ||
| 61 | |||
| 62 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 63 | /* On Alliants, bitfields are unsigned. */ | ||
| 64 | |||
| 65 | #define EXPLICIT_SIGN_EXTEND | ||
| 66 | |||
| 67 | /* No load average information available for Alliants. */ | ||
| 68 | |||
| 69 | #undef LOAD_AVE_TYPE | ||
| 70 | #undef LOAD_AVE_CVT | ||
| 71 | |||
| 72 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 73 | Then the function dump-emacs will not be defined | ||
| 74 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 75 | |||
| 76 | #undef CANNOT_DUMP | ||
| 77 | |||
| 78 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 79 | pure and impure space as loaded can vary, and even their | ||
| 80 | relative order cannot be relied on. | ||
| 81 | |||
| 82 | Otherwise Emacs assumes that text space precedes data space, | ||
| 83 | numerically. */ | ||
| 84 | |||
| 85 | #undef VIRT_ADDR_VARIES | ||
| 86 | |||
| 87 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 88 | to change the boundary between the text section and data section | ||
| 89 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 90 | code will not be sharable; but that's better than failing completely. */ | ||
| 91 | /* Actually, Alliant CONCENTRIX does paging "right": | ||
| 92 | data pages are copy-on-write, which means that the pure data areas | ||
| 93 | are shared automatically and remapping is not necessary. */ | ||
| 94 | |||
| 95 | #define NO_REMAP | ||
| 96 | |||
| 97 | /* Alliant needs special crt0.o because system version is not reentrant */ | ||
| 98 | |||
| 99 | #define START_FILES crt0.o | ||
| 100 | |||
| 101 | /* Alliant dependent code for dumping executing image. | ||
| 102 | See crt0.c code for alliant. */ | ||
| 103 | |||
| 104 | #define ADJUST_EXEC_HEADER {\ | ||
| 105 | extern int _curbrk, _setbrk;\ | ||
| 106 | _setbrk = _curbrk;\ | ||
| 107 | hdr.a_bss_addr = bss_start;\ | ||
| 108 | unexec_text_start = hdr.a_text_addr;} | ||
| 109 | |||
| 110 | /* cc screws up on long names. Try making cpp replace them. */ | ||
| 111 | |||
| 112 | #ifdef ALLIANT_1 | ||
| 113 | #define Finsert_abbrev_table_description Finsert_abbrev_table_descrip | ||
| 114 | #define internal_with_output_to_temp_buffer internal_with_output_to_tem | ||
| 115 | #endif | ||
| 116 | |||
| 117 | /* "vector" is a typedef in /usr/include/machine/reg.h, so its use as | ||
| 118 | a variable name causes errors when compiling under ANSI C. */ | ||
| 119 | |||
| 120 | #define vector xxvector | ||
| 121 | |||
| 122 | /* arch-tag: 0ad5f932-f29a-4458-a24c-496cafdfd50d | ||
| 123 | (do not change this comment) */ | ||
diff --git a/src/m/alliant1.h b/src/m/alliant1.h deleted file mode 100644 index ca597ac2762..00000000000 --- a/src/m/alliant1.h +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | /* config.h should include this file for version 1 of Alliant's | ||
| 2 | operating system. */ | ||
| 3 | |||
| 4 | /* The following line tells the configuration script what sort of | ||
| 5 | operating system this machine is likely to run. | ||
| 6 | USUAL-OPSYS="bsd4-2" */ | ||
| 7 | |||
| 8 | #define ALLIANT_1 | ||
| 9 | #include "alliant.h" | ||
| 10 | |||
| 11 | /* arch-tag: 516688f9-4b94-4356-9bf0-92b2d72e664e | ||
| 12 | (do not change this comment) */ | ||
diff --git a/src/m/alliant4.h b/src/m/alliant4.h deleted file mode 100644 index 2ab0a6bde1d..00000000000 --- a/src/m/alliant4.h +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | /* machine description file for Alliant Concentrix 4.0 or later. | ||
| 2 | Use alliant.h for versions 2 and 3. */ | ||
| 3 | |||
| 4 | /* The following line tells the configuration script what sort of | ||
| 5 | operating system this machine is likely to run. | ||
| 6 | USUAL-OPSYS="bsd4-2" */ | ||
| 7 | |||
| 8 | #include "alliant.h" | ||
| 9 | |||
| 10 | /* Concentrix uses a different kernel symbol for load average. */ | ||
| 11 | |||
| 12 | #undef LDAV_SYMBOL /* Undo definition in s-bsd4-2.h */ | ||
| 13 | #define LDAV_SYMBOL "_Loadavg" | ||
| 14 | |||
| 15 | /* Data type of load average, as read out of kmem. */ | ||
| 16 | |||
| 17 | #define LOAD_AVE_TYPE long | ||
| 18 | |||
| 19 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 20 | |||
| 21 | #define LOAD_AVE_CVT(x) (x * 100 / LOADAVG_SCALE) | ||
| 22 | |||
| 23 | /* include <sys/param.h> for the definition of LOADAVG_SCALE, and also | ||
| 24 | LOADAVG_SIZE, the number of items in the Loadavg array. */ | ||
| 25 | |||
| 26 | /* arch-tag: cf917b55-c95e-4079-a4d1-d31e00c61b66 | ||
| 27 | (do not change this comment) */ | ||
diff --git a/src/m/altos.h b/src/m/altos.h deleted file mode 100644 index 0f4bb9b810f..00000000000 --- a/src/m/altos.h +++ /dev/null | |||
| @@ -1,59 +0,0 @@ | |||
| 1 | /* altos machine description file Altos 3068 Unix System V Release 2 | ||
| 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="usg5-2" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | #define EXPLICIT_SIGN_EXTEND | ||
| 33 | |||
| 34 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 35 | |||
| 36 | #define NO_UNION_TYPE | ||
| 37 | |||
| 38 | #define LIB_STANDARD -lc | ||
| 39 | |||
| 40 | #define SWITCH_ENUM_BUG | ||
| 41 | |||
| 42 | #define NO_REMAP | ||
| 43 | |||
| 44 | #undef TERMINFO | ||
| 45 | |||
| 46 | #undef CANNOT_DUMP | ||
| 47 | #undef SHORTNAMES | ||
| 48 | #define TERMCAP | ||
| 49 | |||
| 50 | #define LIBS_TERMCAP -ltermlib | ||
| 51 | #define PURESIZE 220000 | ||
| 52 | #define ALTOS | ||
| 53 | |||
| 54 | #ifdef __GNUC__ | ||
| 55 | #define COFF_ENCAPSULATE | ||
| 56 | #endif | ||
| 57 | |||
| 58 | /* arch-tag: 4572d0ff-70bb-445f-80f1-2bbac3cf47cb | ||
| 59 | (do not change this comment) */ | ||
diff --git a/src/m/amdahl.h b/src/m/amdahl.h deleted file mode 100644 index 486e2925a55..00000000000 --- a/src/m/amdahl.h +++ /dev/null | |||
| @@ -1,140 +0,0 @@ | |||
| 1 | /* amdahl machine description file | ||
| 2 | Copyright (C) 1987, 1999, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | /* | ||
| 23 | This file for amdahl_uts created by modifying the template.h | ||
| 24 | by Jishnu Mukerji 3/1/87 | ||
| 25 | |||
| 26 | The following line tells the configuration script what sort of | ||
| 27 | operating system this machine is likely to run. | ||
| 28 | USUAL-OPSYS="usg5-2-2" | ||
| 29 | |||
| 30 | This file works with the Amdahl uts native C compiler. The 5.2u370 | ||
| 31 | compiler is so brain damaged that it is not even worth trying to use it. | ||
| 32 | */ | ||
| 33 | |||
| 34 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 35 | is the most significant byte. */ | ||
| 36 | |||
| 37 | #define WORDS_BIG_ENDIAN | ||
| 38 | |||
| 39 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 40 | * group of arguments and treat it as an array of the arguments. */ | ||
| 41 | |||
| 42 | #undef NO_ARG_ARRAY | ||
| 43 | |||
| 44 | /* Define WORD_MACHINE if addresses and such have | ||
| 45 | * to be corrected before they can be used as byte counts. */ | ||
| 46 | |||
| 47 | #define WORD_MACHINE /* not actually used anywhere yet! */ | ||
| 48 | |||
| 49 | /* Now define a symbol for the cpu type, if your compiler | ||
| 50 | does not define it automatically: | ||
| 51 | vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO | ||
| 52 | are the ones defined so far. */ | ||
| 53 | |||
| 54 | /* uts gets defined automatically */ | ||
| 55 | /* However for clarity define amdahl_uts */ | ||
| 56 | #define amdahl_uts | ||
| 57 | |||
| 58 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 59 | /* This is desirable for most machines. */ | ||
| 60 | |||
| 61 | #define NO_UNION_TYPE | ||
| 62 | |||
| 63 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 64 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 65 | are always unsigned. | ||
| 66 | |||
| 67 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 68 | |||
| 69 | #define EXPLICIT_SIGN_EXTEND | ||
| 70 | |||
| 71 | /* Data type of load average, as read out of kmem. */ | ||
| 72 | |||
| 73 | /* #define LOAD_AVE_TYPE long*/ | ||
| 74 | |||
| 75 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 76 | |||
| 77 | /*#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0)*/ | ||
| 78 | |||
| 79 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 80 | Then the function dump-emacs will not be defined | ||
| 81 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 82 | |||
| 83 | /* #define CANNOT_DUMP | ||
| 84 | |||
| 85 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 86 | pure and impure space as loaded can vary, and even their | ||
| 87 | relative order cannot be relied on. | ||
| 88 | |||
| 89 | Otherwise Emacs assumes that text space precedes data space, | ||
| 90 | numerically. */ | ||
| 91 | |||
| 92 | /* #define VIRT_ADDR_VARIES*/ | ||
| 93 | |||
| 94 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 95 | to change the boundary between the text section and data section | ||
| 96 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 97 | code will not be sharable; but that's better than failing completely. */ | ||
| 98 | |||
| 99 | /*#define NO_REMAP*/ | ||
| 100 | |||
| 101 | #define TERMINFO | ||
| 102 | |||
| 103 | /* The usual definition of XINT, which involves shifting, does not | ||
| 104 | sign-extend properly on this machine. */ | ||
| 105 | |||
| 106 | #define XINT(i) (((sign_extend_temp=(i)) & 0x00800000) \ | ||
| 107 | ? (sign_extend_temp | 0xFF000000) \ | ||
| 108 | : (sign_extend_temp & 0x00FFFFFF)) | ||
| 109 | |||
| 110 | #ifdef emacs /* Don't do this when making xmakefile! */ | ||
| 111 | extern int sign_extend_temp; | ||
| 112 | #endif | ||
| 113 | |||
| 114 | /* The following needed to load the proper crt0.o and to get the | ||
| 115 | proper declaration of data_start in the #undef NO_REMAP case */ | ||
| 116 | |||
| 117 | #ifndef NO_REMAP | ||
| 118 | #define START_FILES pre-crt0.o /lib/crt0.o | ||
| 119 | #endif | ||
| 120 | |||
| 121 | /* Perhaps this means that the optimizer isn't safe to use. */ | ||
| 122 | |||
| 123 | #define C_OPTIMIZE_SWITCH | ||
| 124 | |||
| 125 | /* Put text and data on non-segment boundary; makes image smaller */ | ||
| 126 | |||
| 127 | #define LD_SWITCH_MACHINE -N | ||
| 128 | |||
| 129 | /* When writing the 'xemacs' file, make text segment ro */ | ||
| 130 | #define EXEC_MAGIC 0410 | ||
| 131 | |||
| 132 | /* Mask for address bits within a memory segment */ | ||
| 133 | #define SEGSIZ 0x10000 /* Should this not be defined elsewhere ? */ | ||
| 134 | #define SEGMENT_MASK (SEGSIZ - 1) | ||
| 135 | |||
| 136 | /* Compensate for error in signal.h. */ | ||
| 137 | #define NSIG_MINIMUM 20 | ||
| 138 | |||
| 139 | /* arch-tag: cf665976-ddb1-49b0-b383-371e17f36acf | ||
| 140 | (do not change this comment) */ | ||
diff --git a/src/m/apollo.h b/src/m/apollo.h deleted file mode 100644 index 2eac3098db9..00000000000 --- a/src/m/apollo.h +++ /dev/null | |||
| @@ -1,96 +0,0 @@ | |||
| 1 | /* machine description file for Apollo machine. | ||
| 2 | Copyright (C) 1985, 1986, 1994, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="bsd4-3" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Say this machine is a 68000 */ | ||
| 33 | |||
| 34 | /* #define m68000 */ /* Done by the C compiler */ | ||
| 35 | |||
| 36 | #define APOLLO | ||
| 37 | |||
| 38 | /* Assume we use s-bsd4-3.h for system version 10. */ | ||
| 39 | |||
| 40 | #ifdef BSD4_3 | ||
| 41 | #define APOLLO_SR10 | ||
| 42 | #endif | ||
| 43 | |||
| 44 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 45 | |||
| 46 | #define NO_UNION_TYPE | ||
| 47 | |||
| 48 | /* Do not define LOAD_AVE_TYPE or LOAD_AVE_CVT | ||
| 49 | since there is no /dev/kmem */ | ||
| 50 | |||
| 51 | /* Undefine VIRT_ADDR_VARIES because the virtual addresses of | ||
| 52 | pure and impure space as loaded do not vary. */ | ||
| 53 | |||
| 54 | #undef VIRT_ADDR_VARIES | ||
| 55 | |||
| 56 | /* Prevent -lg from being used for debugging. Not needed. */ | ||
| 57 | |||
| 58 | #define LIBS_DEBUG | ||
| 59 | |||
| 60 | /* Can't use the system's termcap. It has compressed data sections that | ||
| 61 | interfere with dumping. That means we won't automatically get a vt100 | ||
| 62 | when we start up emacs in a dm pad (a dubious feature at best anyway). */ | ||
| 63 | |||
| 64 | #undef LIBS_TERMCAP | ||
| 65 | |||
| 66 | /* Must use the system's malloc and alloca. */ | ||
| 67 | |||
| 68 | #define SYSTEM_MALLOC | ||
| 69 | |||
| 70 | /* Define the file we use for UNEXEC. */ | ||
| 71 | |||
| 72 | #define UNEXEC unexapollo.o | ||
| 73 | |||
| 74 | /* The Apollo linker does not recognize the -X switch, so we remove it here. */ | ||
| 75 | |||
| 76 | #define LD_SWITCH_SYSTEM | ||
| 77 | |||
| 78 | /* Define C_SWITCH_MACHINE to compile for 68020/68030 or PRISM. | ||
| 79 | Define LD_SWITCH_MACHINE to save space by stripping symbols | ||
| 80 | and use X11 libraries. */ | ||
| 81 | |||
| 82 | #if _ISP__A88K | ||
| 83 | #define C_SWITCH_MACHINE -W0,-ncompress -W0,-opt,2 -A cpu,a88k -A sys,any -A run,bsd4.3 | ||
| 84 | #define LD_SWITCH_MACHINE -A cpu,a88k -A sys,any -A run,bsd4.3 | ||
| 85 | #else | ||
| 86 | #define C_SWITCH_MACHINE -W0,-ncompress -W0,-opt,2 -A cpu,3000 -A sys,any -A run,bsd4.3 | ||
| 87 | #define LD_SWITCH_MACHINE -A cpu,m68k -A sys,any -A run,bsd4.3 | ||
| 88 | #endif | ||
| 89 | |||
| 90 | #define OLDXMENU_OPTIONS ${C_SWITCH_MACHINE} | ||
| 91 | |||
| 92 | /* In SR10.4, unistd.h has bad prototype for getpgrp, so we don't include it. */ | ||
| 93 | #undef HAVE_UNISTD_H | ||
| 94 | |||
| 95 | /* arch-tag: 33336588-6242-4e2e-a194-e38848b12813 | ||
| 96 | (do not change this comment) */ | ||
diff --git a/src/m/att3b.h b/src/m/att3b.h deleted file mode 100644 index 8e9a589bcd2..00000000000 --- a/src/m/att3b.h +++ /dev/null | |||
| @@ -1,150 +0,0 @@ | |||
| 1 | /* Machine-dependent configuration for GNU Emacs for AT&T 3b machines. | ||
| 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | Modified by David Robinson (daver@csvax.caltech.edu) 6/6/86 | ||
| 6 | |||
| 7 | This file is part of GNU Emacs. | ||
| 8 | |||
| 9 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 10 | it under the terms of the GNU General Public License as published by | ||
| 11 | the Free Software Foundation; either version 3, or (at your option) | ||
| 12 | any later version. | ||
| 13 | |||
| 14 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | GNU General Public License for more details. | ||
| 18 | |||
| 19 | You should have received a copy of the GNU General Public License | ||
| 20 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 21 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 22 | Boston, MA 02110-1301, USA. */ | ||
| 23 | |||
| 24 | |||
| 25 | /* The following line tells the configuration script what sort of | ||
| 26 | operating system this machine is likely to run. | ||
| 27 | USUAL-OPSYS="usg5-2-2" */ | ||
| 28 | |||
| 29 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 30 | is the most significant byte. */ | ||
| 31 | |||
| 32 | #define WORDS_BIG_ENDIAN | ||
| 33 | |||
| 34 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 35 | * group of arguments and treat it as an array of the arguments. */ | ||
| 36 | |||
| 37 | /* #define NO_ARG_ARRAY */ | ||
| 38 | |||
| 39 | /* Define WORD_MACHINE if addresses and such have | ||
| 40 | * to be corrected before they can be used as byte counts. */ | ||
| 41 | |||
| 42 | /* #define WORD_MACHINE */ | ||
| 43 | |||
| 44 | /* Now define a symbol for the cpu type, if your compiler | ||
| 45 | does not define it automatically */ | ||
| 46 | #define ATT3B | ||
| 47 | |||
| 48 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 49 | /* This is desirable for most machines. */ | ||
| 50 | |||
| 51 | #define NO_UNION_TYPE | ||
| 52 | |||
| 53 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 54 | the bit field into an int. In other words, if bit fields | ||
| 55 | are always unsigned. | ||
| 56 | |||
| 57 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 58 | |||
| 59 | #define EXPLICIT_SIGN_EXTEND | ||
| 60 | |||
| 61 | /* Data type of load average, as read out of kmem. */ | ||
| 62 | /* #define LOAD_AVE_TYPE long */ | ||
| 63 | |||
| 64 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 65 | |||
| 66 | /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ | ||
| 67 | |||
| 68 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 69 | Then the function dump-emacs will not be defined | ||
| 70 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 71 | /* #define CANNOT_DUMP */ | ||
| 72 | |||
| 73 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 74 | pure and impure space as loaded can vary, and even their | ||
| 75 | relative order cannot be relied on. | ||
| 76 | |||
| 77 | Otherwise Emacs assumes that text space precedes data space, | ||
| 78 | numerically. */ | ||
| 79 | |||
| 80 | /* #define VIRT_ADDR_VARIES */ /* Karl Kleinpaste says this isn't needed. */ | ||
| 81 | |||
| 82 | /* SysV has alloca in the PW library */ | ||
| 83 | |||
| 84 | #define LIB_STANDARD -lPW -lc | ||
| 85 | |||
| 86 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 87 | to change the boundary between the text section and data section | ||
| 88 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 89 | code will not be sharable; but that's better than failing completely. */ | ||
| 90 | |||
| 91 | #define NO_REMAP | ||
| 92 | |||
| 93 | /* #define LD_SWITCH_MACHINE -N */ | ||
| 94 | |||
| 95 | /* Use Terminfo, not Termcap. */ | ||
| 96 | |||
| 97 | #define TERMINFO | ||
| 98 | |||
| 99 | /* -O has been observed to make correct C code in Emacs not work. | ||
| 100 | So don't try to use it. */ | ||
| 101 | |||
| 102 | #if u3b2 || u3b5 || u3b15 | ||
| 103 | #define C_OPTIMIZE_SWITCH | ||
| 104 | #endif | ||
| 105 | |||
| 106 | /* Define our page size. */ | ||
| 107 | |||
| 108 | #define NBPC 2048 | ||
| 109 | |||
| 110 | #if 0 /* If this is still needed, don't hard-code assumptions about | ||
| 111 | the number of VALBITS, or other assumptions about the | ||
| 112 | Lisp_Object representation. Try to extend lisp.h instead, if | ||
| 113 | necessary. */ | ||
| 114 | /* The usual definition of XINT, which involves shifting, does not | ||
| 115 | sign-extend properly on this machine. */ | ||
| 116 | |||
| 117 | #define XINT(i) (((sign_extend_temp=(i)) & 0x00800000) \ | ||
| 118 | ? (sign_extend_temp | 0xFF000000) \ | ||
| 119 | : (sign_extend_temp & 0x00FFFFFF)) | ||
| 120 | #endif | ||
| 121 | |||
| 122 | #ifdef emacs /* Don't do this when making xmakefile! */ | ||
| 123 | extern int sign_extend_temp; | ||
| 124 | #endif | ||
| 125 | |||
| 126 | #if u3b2 || u3b5 || u3b15 | ||
| 127 | /* On 3b2/5/15, data space has high order bit on. */ | ||
| 128 | #define DATA_SEG_BITS 0x80000000 | ||
| 129 | #endif /* 3b2, 3b5 or 3b15 */ | ||
| 130 | |||
| 131 | #define TEXT_START 0 | ||
| 132 | |||
| 133 | /* (short) negative-int doesn't sign-extend correctly */ | ||
| 134 | #define SHORT_CAST_BUG | ||
| 135 | |||
| 136 | /* 3B2s with WIN/3B have winsize defined in ptem.h */ | ||
| 137 | #if u3b2 | ||
| 138 | #define NEED_PTEM_H | ||
| 139 | #endif /* u3b2 */ | ||
| 140 | |||
| 141 | /* 3b2 does not have memmove, I'm told. */ | ||
| 142 | /* It is safe to have no parens around the args in the safe_bcopy call, | ||
| 143 | and parens would screw up the prototype decl for memmove. */ | ||
| 144 | #define memmove(d, s, n) safe_bcopy (s, d, n) | ||
| 145 | |||
| 146 | /* This affects filemode.c. */ | ||
| 147 | #define NO_MODE_T | ||
| 148 | |||
| 149 | /* arch-tag: 07441a37-d630-447f-94fa-7da19645c97a | ||
| 150 | (do not change this comment) */ | ||
diff --git a/src/m/aviion-intel.h b/src/m/aviion-intel.h deleted file mode 100644 index eb93a43214f..00000000000 --- a/src/m/aviion-intel.h +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | /* This file is minor changes for the Data General AViiON intel machines | ||
| 2 | i586-dg-dguxR4* (tested on i586-dg-dguxR4.11MU04) | ||
| 3 | Done by Ehud Karni, 1998-may-30, ehud@unix.simonwiesel.co.il */ | ||
| 4 | |||
| 5 | #include "aviion.h" /* 1st load m88k DGUX definitions */ | ||
| 6 | |||
| 7 | #define INTEL_DGUX /* define for future possible use */ | ||
| 8 | |||
| 9 | /* Intel machines are LITTLE ENDIAN */ | ||
| 10 | #undef WORDS_BIG_ENDIAN | ||
| 11 | |||
| 12 | /* No correction needed for byte addresses */ | ||
| 13 | #undef WORD_MACHINE | ||
| 14 | |||
| 15 | #ifndef INTEL386 | ||
| 16 | #define INTEL386 /* Identify as Intel machine */ | ||
| 17 | #endif | ||
| 18 | |||
| 19 | #undef m88k /* It sure is NOT a Motorola machine */ | ||
| 20 | |||
| 21 | /* arch-tag: 7cbf89ef-237c-4da5-bdd0-8d569ae5f3ce | ||
| 22 | (do not change this comment) */ | ||
diff --git a/src/m/aviion.h b/src/m/aviion.h deleted file mode 100644 index 832feb79a00..00000000000 --- a/src/m/aviion.h +++ /dev/null | |||
| @@ -1,126 +0,0 @@ | |||
| 1 | /* machine description file for Data General AViiON. | ||
| 2 | Copyright (C) 1985, 1986, 1991, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 24 | is the most significant byte. */ | ||
| 25 | |||
| 26 | #define WORDS_BIG_ENDIAN | ||
| 27 | |||
| 28 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 29 | * group of arguments and treat it as an array of the arguments. */ | ||
| 30 | |||
| 31 | #define NO_ARG_ARRAY | ||
| 32 | |||
| 33 | /* Define WORD_MACHINE if addresses and such have | ||
| 34 | * to be corrected before they can be used as byte counts. */ | ||
| 35 | |||
| 36 | #define WORD_MACHINE | ||
| 37 | |||
| 38 | /* Define DATA_SEG_BITS if pointers need to be corrected with | ||
| 39 | a segment field. */ | ||
| 40 | |||
| 41 | #ifdef FIX_ADDRESS | ||
| 42 | #define DATA_SEG_BITS 0xef000000 | ||
| 43 | #endif | ||
| 44 | |||
| 45 | /* Now define a symbol for the cpu type, if your compiler | ||
| 46 | does not define it automatically: | ||
| 47 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 48 | orion, tahoe, APOLLO and many others */ | ||
| 49 | |||
| 50 | #ifndef m88k | ||
| 51 | #define m88k | ||
| 52 | #endif | ||
| 53 | |||
| 54 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 55 | /* This is desirable for most machines. */ | ||
| 56 | |||
| 57 | #define NO_UNION_TYPE | ||
| 58 | |||
| 59 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 60 | the bit field into an int. In other words, if bit fields | ||
| 61 | are always unsigned. | ||
| 62 | |||
| 63 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 64 | |||
| 65 | #define EXPLICIT_SIGN_EXTEND | ||
| 66 | |||
| 67 | /* Data type of load average, as read out of kmem. */ | ||
| 68 | |||
| 69 | /* #define LOAD_AVE_TYPE long */ | ||
| 70 | |||
| 71 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 72 | |||
| 73 | /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ | ||
| 74 | |||
| 75 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 76 | Then the function dump-emacs will not be defined | ||
| 77 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 78 | |||
| 79 | /* #define CANNOT_DUMP */ | ||
| 80 | |||
| 81 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 82 | pure and impure space as loaded can vary, and even their | ||
| 83 | relative order cannot be relied on. | ||
| 84 | |||
| 85 | Otherwise Emacs assumes that text space precedes data space, | ||
| 86 | numerically. */ | ||
| 87 | |||
| 88 | /* #define VIRT_ADDR_VARIES */ | ||
| 89 | |||
| 90 | #define alloca(x) __builtin_alloca(x) | ||
| 91 | |||
| 92 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 93 | to change the boundary between the text section and data section | ||
| 94 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 95 | code will not be sharable; but that's better than failing completely. */ | ||
| 96 | |||
| 97 | #define NO_REMAP | ||
| 98 | |||
| 99 | /* Define ADDR_CORRECT(ADDR) to be a macro to correct an int which is | ||
| 100 | the bit pattern of a pointer to a byte into an int which is the | ||
| 101 | number of a byte. | ||
| 102 | |||
| 103 | This macro has a default definition which is usually right. | ||
| 104 | This default definition is a no-op on most machines (where a | ||
| 105 | pointer looks like an int) but not on all machines. */ | ||
| 106 | |||
| 107 | #define ADDR_CORRECT(ADDR) ((int)ADDR) | ||
| 108 | |||
| 109 | /* Cast pointers to this type to compare them. */ | ||
| 110 | |||
| 111 | #define PNTR_COMPARISON_TYPE void * | ||
| 112 | |||
| 113 | /* Some machines that use COFF executables require that each section | ||
| 114 | start on a certain boundary *in the COFF file*. Such machines should | ||
| 115 | define SECTION_ALIGNMENT to a mask of the low-order bits that must be | ||
| 116 | zero on such a boundary. This mask is used to control padding between | ||
| 117 | segments in the COFF file. | ||
| 118 | |||
| 119 | If SECTION_ALIGNMENT is not defined, the segments are written | ||
| 120 | consecutively with no attempt at alignment. This is right for | ||
| 121 | unmodified system V. */ | ||
| 122 | |||
| 123 | #define SECTION_ALIGNMENT 0x7 | ||
| 124 | |||
| 125 | /* arch-tag: 9de8e6ed-ddd8-4480-8308-17ddd7c86559 | ||
| 126 | (do not change this comment) */ | ||
diff --git a/src/m/celerity.h b/src/m/celerity.h deleted file mode 100644 index 556c2765883..00000000000 --- a/src/m/celerity.h +++ /dev/null | |||
| @@ -1,60 +0,0 @@ | |||
| 1 | /* machine description file for Celerity. | ||
| 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="bsd4-2" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* XINT must explicitly sign extend */ | ||
| 33 | |||
| 34 | #define EXPLICIT_SIGN_EXTEND | ||
| 35 | |||
| 36 | /* celerity preprocessor defines "accel", however the following is clearer */ | ||
| 37 | #define celerity | ||
| 38 | |||
| 39 | /* #define NO_UNION_TYPE would be preferable, | ||
| 40 | but it does not work, and the reason is not yet known. */ | ||
| 41 | |||
| 42 | #define NO_UNION_TYPE | ||
| 43 | |||
| 44 | /* Data type of load average, as read out of kmem. */ | ||
| 45 | |||
| 46 | #define LOAD_AVE_TYPE double | ||
| 47 | |||
| 48 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 49 | |||
| 50 | #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | ||
| 51 | |||
| 52 | /* A machine-specific loader switch is needed. */ | ||
| 53 | |||
| 54 | #define LD_SWITCH_MACHINE -k100000 | ||
| 55 | |||
| 56 | /* (short) negative-int doesn't sign-extend correctly */ | ||
| 57 | #define SHORT_CAST_BUG | ||
| 58 | |||
| 59 | /* arch-tag: b4df1828-fab6-48f8-97bc-b8998c200eea | ||
| 60 | (do not change this comment) */ | ||
diff --git a/src/m/clipper.h b/src/m/clipper.h deleted file mode 100644 index c0006f48eab..00000000000 --- a/src/m/clipper.h +++ /dev/null | |||
| @@ -1,98 +0,0 @@ | |||
| 1 | /* machine description file for clipper | ||
| 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 24 | is the most significant byte. */ | ||
| 25 | |||
| 26 | #undef WORDS_BIG_ENDIAN | ||
| 27 | |||
| 28 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 29 | * group of arguments and treat it as an array of the arguments. */ | ||
| 30 | |||
| 31 | #define NO_ARG_ARRAY | ||
| 32 | |||
| 33 | /* Define WORD_MACHINE if addresses and such have | ||
| 34 | * to be corrected before they can be used as byte counts. */ | ||
| 35 | |||
| 36 | /* #define WORD_MACHINE */ | ||
| 37 | |||
| 38 | /* Now define a symbol for the cpu type, if your compiler | ||
| 39 | does not define it automatically */ | ||
| 40 | |||
| 41 | #define clipper 1 | ||
| 42 | |||
| 43 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 44 | |||
| 45 | #define NO_UNION_TYPE | ||
| 46 | |||
| 47 | /* crt0.c should define a symbol `start' and do .globl with a dot. */ | ||
| 48 | |||
| 49 | #define DOT_GLOBAL_START | ||
| 50 | |||
| 51 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 52 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 53 | are always unsigned. | ||
| 54 | |||
| 55 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 56 | |||
| 57 | /* #define EXPLICIT_SIGN_EXTEND */ | ||
| 58 | |||
| 59 | /* USG systems I know of running on Vaxes do not actually | ||
| 60 | support the load average, so disable it for them. */ | ||
| 61 | |||
| 62 | /* Data type of load average, as read out of kmem. */ | ||
| 63 | |||
| 64 | #define LOAD_AVE_TYPE double | ||
| 65 | |||
| 66 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 67 | |||
| 68 | #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | ||
| 69 | |||
| 70 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 71 | Then the function dump-emacs will not be defined | ||
| 72 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 73 | /* #define CANNOT_DUMP */ | ||
| 74 | |||
| 75 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 76 | pure and impure space as loaded can vary, and even their | ||
| 77 | relative order cannot be relied on. | ||
| 78 | |||
| 79 | Otherwise Emacs assumes that text space precedes data space, | ||
| 80 | numerically. */ | ||
| 81 | |||
| 82 | /* #define VIRT_ADDR_VARIES */ /* Karl Kleinpaste says this isn't needed. */ | ||
| 83 | |||
| 84 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 85 | to change the boundary between the text section and data section | ||
| 86 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 87 | code will not be sharable; but that's better than failing completely. */ | ||
| 88 | |||
| 89 | /* #define NO_REMAP */ | ||
| 90 | |||
| 91 | #ifdef USG | ||
| 92 | #define TEXT_START 0 | ||
| 93 | #endif /* USG */ | ||
| 94 | |||
| 95 | #define LD_TEXT_START_ADDR 8000 | ||
| 96 | |||
| 97 | /* arch-tag: 2f7981c1-7018-4a1e-b7b6-b2900de36a04 | ||
| 98 | (do not change this comment) */ | ||
diff --git a/src/m/cnvrgnt.h b/src/m/cnvrgnt.h deleted file mode 100644 index 22478a273b6..00000000000 --- a/src/m/cnvrgnt.h +++ /dev/null | |||
| @@ -1,97 +0,0 @@ | |||
| 1 | /* machine description file for convergent S series. | ||
| 2 | Copyright (C) 1989, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 24 | is the most significant byte. */ | ||
| 25 | |||
| 26 | #define WORDS_BIG_ENDIAN | ||
| 27 | |||
| 28 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 29 | * group of arguments and treat it as an array of the arguments. */ | ||
| 30 | |||
| 31 | /* #define NO_ARG_ARRAY */ | ||
| 32 | |||
| 33 | /* Define WORD_MACHINE if addresses and such have | ||
| 34 | * to be corrected before they can be used as byte counts. */ | ||
| 35 | |||
| 36 | /* #define WORD_MACHINE */ | ||
| 37 | |||
| 38 | /* Now define a symbol for the cpu type, if your compiler | ||
| 39 | does not define it automatically. */ | ||
| 40 | |||
| 41 | #define m68000 | ||
| 42 | |||
| 43 | /* Use type int rather than a union, to represent Lisp_Object. | ||
| 44 | This is desirable for most machines. */ | ||
| 45 | |||
| 46 | #define NO_UNION_TYPE | ||
| 47 | |||
| 48 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 49 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 50 | are always unsigned. | ||
| 51 | |||
| 52 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 53 | |||
| 54 | #define EXPLICIT_SIGN_EXTEND | ||
| 55 | |||
| 56 | /* Data type of load average, as read out of kmem. | ||
| 57 | These are commented out since it is not supported by this machine. */ | ||
| 58 | |||
| 59 | #define LOAD_AVE_TYPE double | ||
| 60 | |||
| 61 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 62 | |||
| 63 | #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | ||
| 64 | |||
| 65 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 66 | Then the function dump-emacs will not be defined | ||
| 67 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 68 | |||
| 69 | /* #define CANNOT_DUMP */ | ||
| 70 | |||
| 71 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 72 | pure and impure space as loaded can vary, and even their | ||
| 73 | relative order cannot be relied on. | ||
| 74 | |||
| 75 | Otherwise Emacs assumes that text space precedes data space, | ||
| 76 | numerically. */ | ||
| 77 | |||
| 78 | #undef VIRT_ADDR_VARIES | ||
| 79 | |||
| 80 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 81 | to change the boundary between the text section and data section | ||
| 82 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 83 | code will not be sharable; but that's better than failing completely. */ | ||
| 84 | |||
| 85 | #define NO_REMAP | ||
| 86 | |||
| 87 | /* Change some things to avoid bugs in compiler. */ | ||
| 88 | |||
| 89 | #define SWITCH_ENUM_BUG | ||
| 90 | |||
| 91 | /* some errno.h's don't actually allocate the variable itself. | ||
| 92 | Cause crt0.c to define errno. */ | ||
| 93 | |||
| 94 | #define NEED_ERRNO | ||
| 95 | |||
| 96 | /* arch-tag: 1a227f79-37e4-43af-a186-53c61296b0be | ||
| 97 | (do not change this comment) */ | ||
diff --git a/src/m/convex.h b/src/m/convex.h deleted file mode 100644 index c8f447cf2fa..00000000000 --- a/src/m/convex.h +++ /dev/null | |||
| @@ -1,189 +0,0 @@ | |||
| 1 | /* machine description file for Convex (all models). | ||
| 2 | Copyright (C) 1987, 1994, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="bsd4-3" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 33 | * group of arguments and treat it as an array of the arguments. | ||
| 34 | * Maybe it would be better to simply correct the code. */ | ||
| 35 | |||
| 36 | #define NO_ARG_ARRAY | ||
| 37 | |||
| 38 | /* Define WORD_MACHINE if addresses and such have | ||
| 39 | * to be corrected before they can be used as byte counts. */ | ||
| 40 | |||
| 41 | /* #define WORD_MACHINE */ | ||
| 42 | |||
| 43 | /* Now define a symbol for the cpu type, if your compiler | ||
| 44 | does not define it automatically. */ | ||
| 45 | #ifndef convex /* The compiler doesn't always do this. */ | ||
| 46 | #define convex | ||
| 47 | #endif | ||
| 48 | |||
| 49 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 50 | /* This is desirable for most machines. */ | ||
| 51 | |||
| 52 | #define NO_UNION_TYPE | ||
| 53 | |||
| 54 | #ifndef __GNUC__ /* David M. Cooke <dcooke@haven.larc.nasa.gov> | ||
| 55 | and Ralph Sobek <Ralph.Sobek@cerfacs.fr> agree | ||
| 56 | must ignore one arg when compiled with convex compiler. */ | ||
| 57 | #define CRT0_DUMMIES ignore, | ||
| 58 | #else | ||
| 59 | #define CRT0_DUMMIES | ||
| 60 | #endif | ||
| 61 | |||
| 62 | /* crt0.c should define a symbol `start' and do .globl with a dot. */ | ||
| 63 | |||
| 64 | #define DOT_GLOBAL_START | ||
| 65 | |||
| 66 | /* Data type of load average, as read out of kmem. */ | ||
| 67 | |||
| 68 | #define LOAD_AVE_TYPE double | ||
| 69 | |||
| 70 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 71 | |||
| 72 | #define LOAD_AVE_CVT(x) (int) ((x) * 100.0) | ||
| 73 | |||
| 74 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 75 | Then the function dump-emacs will not be defined | ||
| 76 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 77 | |||
| 78 | /* #define CANNOT_DUMP */ | ||
| 79 | |||
| 80 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 81 | pure and impure space as loaded can vary, and even their | ||
| 82 | relative order cannot be relied on. | ||
| 83 | |||
| 84 | Otherwise Emacs assumes that text space precedes data space, | ||
| 85 | numerically. */ | ||
| 86 | |||
| 87 | /*#define VIRT_ADDR_VARIES*/ | ||
| 88 | |||
| 89 | /* Must use the system's termcap. It does special things. */ | ||
| 90 | |||
| 91 | #define LIBS_TERMCAP -ltermcap | ||
| 92 | |||
| 93 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 94 | to change the boundary between the text section and data section | ||
| 95 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 96 | code will not be sharable; but that's better than failing completely. */ | ||
| 97 | |||
| 98 | /* #define NO_REMAP */ | ||
| 99 | |||
| 100 | /* Addresses on the Convex have the high bit set. */ | ||
| 101 | #define DATA_SEG_BITS (1 << (BITS_PER_INT-1)) | ||
| 102 | |||
| 103 | /* Right shift is logical shift. | ||
| 104 | And the usual way of handling such machines, which involves | ||
| 105 | copying the number into sign_extend_temp, does not work | ||
| 106 | for reasons as yet unknown. */ | ||
| 107 | |||
| 108 | #define XINT(a) sign_extend_lisp_int (a) | ||
| 109 | |||
| 110 | /* Convex uses a special version of unexec. */ | ||
| 111 | |||
| 112 | #define UNEXEC unexconvex.o | ||
| 113 | |||
| 114 | /* you gotta define 'COFF' for post 6.1 unexec. */ | ||
| 115 | |||
| 116 | #define COFF | ||
| 117 | #define TEXT_START 0x80001000 | ||
| 118 | |||
| 119 | /* Posix stuff for Convex OS 8.1 and up. */ | ||
| 120 | |||
| 121 | #define LD_SWITCH_MACHINE \ | ||
| 122 | -e__start -L /usr/lib \ | ||
| 123 | '-A__iob=___ap$$iob' '-A_use_libc_sema=___ap$$use_libc_sema' | ||
| 124 | |||
| 125 | /* Use <dirent.h>. */ | ||
| 126 | #define SYSV_SYSTEM_DIR | ||
| 127 | |||
| 128 | #ifdef _POSIX_SOURCE | ||
| 129 | |||
| 130 | /* These symbols have been undefined to advance the state of the art. */ | ||
| 131 | |||
| 132 | #define S_IFMT _S_IFMT | ||
| 133 | #define S_IFDIR _S_IFDIR | ||
| 134 | |||
| 135 | #define S_IREAD _S_IREAD | ||
| 136 | #define S_IWRITE _S_IWRITE | ||
| 137 | #define S_IEXEC _S_IEXEC | ||
| 138 | |||
| 139 | #endif | ||
| 140 | |||
| 141 | /* Ptys may start below ptyp0; call a routine to hunt for where. */ | ||
| 142 | |||
| 143 | #undef FIRST_PTY_LETTER | ||
| 144 | #define FIRST_PTY_LETTER first_pty_letter() | ||
| 145 | |||
| 146 | #if 0 | ||
| 147 | /* | ||
| 148 | * Force a K&R compilation and libraries with the Convex V 4.0 C compiler | ||
| 149 | */ | ||
| 150 | #define C_SWITCH_MACHINE -pcc | ||
| 151 | #define LIB_STANDARD -lc_old | ||
| 152 | #define LIBS_MACHINE -lC2_old | ||
| 153 | #define LD_SWITCH_MACHINE -X -NL -fn -Enoposix -A__iob=___ap\$$iob \ | ||
| 154 | -A_use_libc_sema=___ap\$$use_libc_sema -L /usr/lib | ||
| 155 | #endif | ||
| 156 | |||
| 157 | /* Avoid error in xrdb.c - d.m.cooke@larc.nasa.gov. */ | ||
| 158 | #define DECLARE_GETPWUID_WITH_UID_T | ||
| 159 | |||
| 160 | /* Call getpgrp properly. */ | ||
| 161 | #define GETPGRP_NO_ARG | ||
| 162 | |||
| 163 | /* Tested for both Convex C and GNUC by d.m.cooke@larc.nasa.gov. */ | ||
| 164 | #define LIBS_MACHINE -lC2 | ||
| 165 | |||
| 166 | /* Avoid error in getloadavg.c. */ | ||
| 167 | #define NLIST_NAME_UNION 1 | ||
| 168 | |||
| 169 | #if 0 /* This is supposed to be an improvement. | ||
| 170 | It would be good for people to try enabling this code | ||
| 171 | and report the results. */ | ||
| 172 | /* gcc -nostdlib prevents some math symbols from being included. | ||
| 173 | So we have to use -nostartfiles instead. */ | ||
| 174 | #define LINKER $(CC) -nostartfiles | ||
| 175 | |||
| 176 | #define ORDINARY_LINK | ||
| 177 | |||
| 178 | #undef LD_SWITCH_MACHINE | ||
| 179 | #define LD_SWITCH_MACHINE \ | ||
| 180 | -L /usr/lib \ | ||
| 181 | '-A__iob=___ap$$iob' '-A_use_libc_sema=___ap$$use_libc_sema' | ||
| 182 | #endif | ||
| 183 | |||
| 184 | /* There is some indication that the convex has sys/wait.h | ||
| 185 | but it does not work right. */ | ||
| 186 | #undef HAVE_SYS_WAIT_H | ||
| 187 | |||
| 188 | /* arch-tag: 127e5ae1-4f03-40c0-a87e-d2cb02c59de8 | ||
| 189 | (do not change this comment) */ | ||
diff --git a/src/m/cydra5.h b/src/m/cydra5.h deleted file mode 100644 index 4c95f226371..00000000000 --- a/src/m/cydra5.h +++ /dev/null | |||
| @@ -1,117 +0,0 @@ | |||
| 1 | /* machine description file for Cydrome's CYDRA 5 mini super computer | ||
| 2 | Copyright (C) 1988, 1999, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="usg5-3" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 33 | * group of arguments and treat it as an array of the arguments. */ | ||
| 34 | |||
| 35 | #undef NO_ARG_ARRAY | ||
| 36 | |||
| 37 | /* Define WORD_MACHINE if addresses and such have | ||
| 38 | * to be corrected before they can be used as byte counts. */ | ||
| 39 | |||
| 40 | #undef WORD_MACHINE | ||
| 41 | |||
| 42 | /* Now define a symbol for the cpu type, if your compiler | ||
| 43 | does not define it automatically: | ||
| 44 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 45 | orion, tahoe, APOLLO and many others */ | ||
| 46 | |||
| 47 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 48 | /* This is desirable for most machines. */ | ||
| 49 | |||
| 50 | #define NO_UNION_TYPE | ||
| 51 | |||
| 52 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 53 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 54 | are always unsigned. | ||
| 55 | |||
| 56 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 57 | |||
| 58 | #define EXPLICIT_SIGN_EXTEND | ||
| 59 | |||
| 60 | /* Data type of load average, as read out of kmem. */ | ||
| 61 | |||
| 62 | #define LOAD_AVE_TYPE long | ||
| 63 | |||
| 64 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 65 | |||
| 66 | #define LOAD_AVE_CVT(x) x | ||
| 67 | |||
| 68 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 69 | Then the function dump-emacs will not be defined | ||
| 70 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 71 | |||
| 72 | /*#define CANNOT_DUMP*/ | ||
| 73 | |||
| 74 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 75 | pure and impure space as loaded can vary, and even their | ||
| 76 | relative order cannot be relied on. | ||
| 77 | |||
| 78 | Otherwise Emacs assumes that data space precedes text space, | ||
| 79 | numerically. */ | ||
| 80 | |||
| 81 | #undef VIRT_ADDR_VARIES | ||
| 82 | |||
| 83 | /* The data segment in this machine always starts at address 0x10000000. | ||
| 84 | An address of data cannot be stored correctly in a Lisp object; | ||
| 85 | we always lose the high bits. We must tell XPNTR to add them back. */ | ||
| 86 | |||
| 87 | #define DATA_SEG_BITS 0x20000000 | ||
| 88 | #define DATA_START 0x20000000 | ||
| 89 | |||
| 90 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 91 | to change the boundary between the text section and data section | ||
| 92 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 93 | code will not be sharable; but that's better than failing completely. */ | ||
| 94 | |||
| 95 | #define NO_REMAP | ||
| 96 | #define BROKEN_FIONREAD /* We son't even have it */ | ||
| 97 | #define LIBS_MACHINE -lsocket -lnsl | ||
| 98 | |||
| 99 | /* The data section in a coff file must be aligned in the file. */ | ||
| 100 | #define DATA_SECTION_ALIGNMENT 0xFFF | ||
| 101 | |||
| 102 | /* Compiler won't allow switch (x) when x is an enum. */ | ||
| 103 | #define SWITCH_ENUM_BUG | ||
| 104 | |||
| 105 | |||
| 106 | /* Explain how pty filenames work. */ | ||
| 107 | |||
| 108 | #define PTY_ITERATION for (i = 47; i >= 0; i--) | ||
| 109 | #define PTY_NAME_SPRINTF sprintf (ptyname, "/dev/pty%03x", i); | ||
| 110 | #define PTY_TTY_NAME_SPRINTF sprintf (ptyname, "/dev/ptm%03x", i); | ||
| 111 | |||
| 112 | /* We can't do interrupt-driven input, so don't let user try. */ | ||
| 113 | |||
| 114 | #define BROKEN_SIGIO | ||
| 115 | |||
| 116 | /* arch-tag: ad70aae4-1f54-4e67-8677-6eeafb9bcbd9 | ||
| 117 | (do not change this comment) */ | ||
diff --git a/src/m/delta88k.h b/src/m/delta88k.h deleted file mode 100644 index b5d0c8f190b..00000000000 --- a/src/m/delta88k.h +++ /dev/null | |||
| @@ -1,163 +0,0 @@ | |||
| 1 | /* Machine description file for Motorola System V/88 machines | ||
| 2 | Copyright (C) 1985, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="usg5-3" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 33 | * group of arguments and treat it as an array of the arguments. */ | ||
| 34 | |||
| 35 | #define NO_ARG_ARRAY | ||
| 36 | |||
| 37 | /* Define WORD_MACHINE if addresses and such have | ||
| 38 | * to be corrected before they can be used as byte counts. */ | ||
| 39 | |||
| 40 | /* #define WORD_MACHINE */ | ||
| 41 | |||
| 42 | /* Now define a symbol for the cpu type, if your compiler | ||
| 43 | does not define it automatically: | ||
| 44 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 45 | orion, tahoe, APOLLO and many others */ | ||
| 46 | |||
| 47 | #ifndef m88000 /* Some 88k C compilers already define this */ | ||
| 48 | #define m88000 | ||
| 49 | #endif | ||
| 50 | |||
| 51 | /* Now define a symbol for the cpu type, if your compiler | ||
| 52 | does not define it automatically. */ | ||
| 53 | |||
| 54 | |||
| 55 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 56 | /* This is desirable for most machines. */ | ||
| 57 | |||
| 58 | #define NO_UNION_TYPE | ||
| 59 | |||
| 60 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 61 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 62 | are always unsigned. | ||
| 63 | |||
| 64 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 65 | |||
| 66 | /* #define EXPLICIT_SIGN_EXTEND */ | ||
| 67 | |||
| 68 | /* Data type of load average, as read out of kmem. */ | ||
| 69 | /* No load average on Motorola machines. */ | ||
| 70 | /* #define LOAD_AVE_TYPE double */ | ||
| 71 | |||
| 72 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 73 | /* #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) */ | ||
| 74 | |||
| 75 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 76 | Then the function dump-emacs will not be defined | ||
| 77 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 78 | |||
| 79 | /* #define CANNOT_DUMP */ | ||
| 80 | |||
| 81 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 82 | pure and impure space as loaded can vary, and even their | ||
| 83 | relative order cannot be relied on. | ||
| 84 | |||
| 85 | Otherwise Emacs assumes that text space precedes data space, | ||
| 86 | numerically. */ | ||
| 87 | |||
| 88 | /* #define VIRT_ADDR_VARIES */ | ||
| 89 | |||
| 90 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 91 | to change the boundary between the text section and data section | ||
| 92 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 93 | code will not be sharable; but that's better than failing completely. */ | ||
| 94 | |||
| 95 | #define NO_REMAP | ||
| 96 | |||
| 97 | /* Motorola SysV has PTYs. Not all usg3-5 systems do, so this is defined | ||
| 98 | here. */ | ||
| 99 | |||
| 100 | #define HAVE_PTYS | ||
| 101 | #define SYSV_PTYS | ||
| 102 | |||
| 103 | /* Ditto for IPC. */ | ||
| 104 | |||
| 105 | |||
| 106 | /* | ||
| 107 | * we now have job control in R32V1 | ||
| 108 | */ | ||
| 109 | #undef NOMULTIPLEJOBS | ||
| 110 | |||
| 111 | /* | ||
| 112 | * we have bcopy, bzero, bcmp in libc.a (what isn't in libc.a?) | ||
| 113 | */ | ||
| 114 | #define BSTRING | ||
| 115 | |||
| 116 | /* | ||
| 117 | * sockets are in R32V1 | ||
| 118 | */ | ||
| 119 | #define HAVE_SOCKETS | ||
| 120 | |||
| 121 | /* | ||
| 122 | * we have the wrong name for networking libs | ||
| 123 | */ | ||
| 124 | #ifdef USG5_4 | ||
| 125 | /* rms: not needed; LIB_X11_LIB deals with this. */ | ||
| 126 | /* #define LIBX11_SYSTEM -lX11 */ | ||
| 127 | #else | ||
| 128 | #undef LIB_X11_LIB /* We don't have the shared libs as assumed in usg5-3.h. */ | ||
| 129 | #undef LIBX11_SYSTEM | ||
| 130 | #define LIBX11_SYSTEM -lnsl -lbsd | ||
| 131 | #endif /* USG5_4 */ | ||
| 132 | |||
| 133 | #define BROKEN_FIONREAD | ||
| 134 | |||
| 135 | /* previously defined in usg5-4, if we choose to use that. */ | ||
| 136 | #ifndef LIBS_SYSTEM | ||
| 137 | #ifdef USG5_4 | ||
| 138 | #define LIBS_SYSTEM -lsocket -lnsl | ||
| 139 | #else | ||
| 140 | #define LIBS_SYSTEM -lbsd -lg | ||
| 141 | #endif /* USG5_4 */ | ||
| 142 | #endif | ||
| 143 | |||
| 144 | #define HAVE_TERMIOS | ||
| 145 | #undef HAVE_TERMIO | ||
| 146 | #define NO_TERMIO | ||
| 147 | #undef sigsetmask | ||
| 148 | |||
| 149 | #define NO_SIOCTL_H | ||
| 150 | |||
| 151 | #ifdef USG5_4 | ||
| 152 | #ifdef HAVE_X_WINDOWS | ||
| 153 | #else | ||
| 154 | #undef BSTRING | ||
| 155 | #endif /* HAVE_X_WINDOWS */ | ||
| 156 | #endif /* USG5_4 */ | ||
| 157 | |||
| 158 | #define NO_PTY_H | ||
| 159 | |||
| 160 | #define USE_GETOBAUD | ||
| 161 | |||
| 162 | /* arch-tag: c8ea1965-99d7-43df-ba32-29b66fc069be | ||
| 163 | (do not change this comment) */ | ||
diff --git a/src/m/dpx2.h b/src/m/dpx2.h deleted file mode 100644 index b39ef93ee34..00000000000 --- a/src/m/dpx2.h +++ /dev/null | |||
| @@ -1,222 +0,0 @@ | |||
| 1 | /* machine description for Bull DPX/2 range | ||
| 2 | Copyright (C) 1985, 1986, 1999, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | /* The following line tells the configuration script what sort of | ||
| 23 | operating system this machine is likely to run. | ||
| 24 | USUAL-OPSYS="usg5-3" */ | ||
| 25 | |||
| 26 | /* | ||
| 27 | * You need to either un-comment one of these lines, or copy one | ||
| 28 | * of them to config.h before you include this file. | ||
| 29 | * Note that some simply define a constant and others set a value. | ||
| 30 | */ | ||
| 31 | |||
| 32 | /* #define ncl_el /* DPX/2 210,220 etc */ | ||
| 33 | /* #define ncl_mr 1 /* DPX/2 320,340 (and 360,380 ?) */ | ||
| 34 | |||
| 35 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 36 | is the most significant byte. */ | ||
| 37 | |||
| 38 | #define WORDS_BIG_ENDIAN | ||
| 39 | |||
| 40 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 41 | * group of arguments and treat it as an array of the arguments. */ | ||
| 42 | |||
| 43 | #define NO_ARG_ARRAY | ||
| 44 | |||
| 45 | /* Define WORD_MACHINE if addresses and such have | ||
| 46 | * to be corrected before they can be used as byte counts. */ | ||
| 47 | |||
| 48 | /* #define WORD_MACHINE /**/ | ||
| 49 | |||
| 50 | /* Now define a symbol for the cpu type, if your compiler | ||
| 51 | does not define it automatically: | ||
| 52 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 53 | orion, tahoe, APOLLO and many others */ | ||
| 54 | |||
| 55 | /* /bin/cc on ncl_el and ncl_mr define m68k and mc68000 */ | ||
| 56 | |||
| 57 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 58 | /* This is desirable for most machines. */ | ||
| 59 | |||
| 60 | #define NO_UNION_TYPE | ||
| 61 | |||
| 62 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 63 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 64 | are always unsigned. | ||
| 65 | |||
| 66 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 67 | |||
| 68 | #define EXPLICIT_SIGN_EXTEND | ||
| 69 | |||
| 70 | /* Data type of load average, as read out of kmem. */ | ||
| 71 | |||
| 72 | #define LOAD_AVE_TYPE long | ||
| 73 | |||
| 74 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 75 | |||
| 76 | #define FSCALE 1000.0 | ||
| 77 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 78 | |||
| 79 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 80 | Then the function dump-emacs will not be defined | ||
| 81 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 82 | |||
| 83 | /*#define CANNOT_DUMP /**/ | ||
| 84 | |||
| 85 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 86 | pure and impure space as loaded can vary, and even their | ||
| 87 | relative order cannot be relied on. | ||
| 88 | |||
| 89 | Otherwise Emacs assumes that text space precedes data space, | ||
| 90 | numerically. */ | ||
| 91 | |||
| 92 | /* #define VIRT_ADDR_VARIES /**/ | ||
| 93 | |||
| 94 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 95 | to change the boundary between the text section and data section | ||
| 96 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 97 | code will not be sharable; but that's better than failing completely. */ | ||
| 98 | |||
| 99 | #define NO_REMAP | ||
| 100 | |||
| 101 | /* | ||
| 102 | * end of the standard macro's | ||
| 103 | */ | ||
| 104 | |||
| 105 | /* | ||
| 106 | * a neat identifier to handle source mods (if needed) | ||
| 107 | */ | ||
| 108 | #ifndef DPX2 | ||
| 109 | #define DPX2 | ||
| 110 | #endif | ||
| 111 | |||
| 112 | /* Disable support for shared libraries in unexec. */ | ||
| 113 | |||
| 114 | #undef USG_SHARED_LIBRARIES | ||
| 115 | |||
| 116 | /* | ||
| 117 | * if we use X11, libX11.a has these... | ||
| 118 | */ | ||
| 119 | # undef LIB_X11_LIB | ||
| 120 | # define LIB_X11_LIB -lX11 | ||
| 121 | # undef LIBX11_SYSTEM | ||
| 122 | # define LIBX11_SYSTEM -lmalloc -lnsl | ||
| 123 | # define BSTRING | ||
| 124 | |||
| 125 | /* | ||
| 126 | * we must have INET loaded so we have sockets | ||
| 127 | */ | ||
| 128 | # define HAVE_SOCKETS | ||
| 129 | |||
| 130 | /* | ||
| 131 | * useful if you have INET loaded | ||
| 132 | */ | ||
| 133 | # define LIBS_MACHINE -linet | ||
| 134 | |||
| 135 | |||
| 136 | #if (defined(ncl_mr) || defined(ncl_el)) && !defined (NBPC) | ||
| 137 | # define NBPC 4096 | ||
| 138 | #endif | ||
| 139 | |||
| 140 | /* | ||
| 141 | * if SIGIO is defined, much of the emacs | ||
| 142 | * code assumes we are BSD !! | ||
| 143 | */ | ||
| 144 | #define BROKEN_SIGIO | ||
| 145 | |||
| 146 | |||
| 147 | /* | ||
| 148 | * a good idea on multi-user systems :-) | ||
| 149 | */ | ||
| 150 | #define CLASH_DETECTION /* probably a good idea */ | ||
| 151 | |||
| 152 | |||
| 153 | /* | ||
| 154 | * sysdep.c(sys_suspend) works fine with emacs-18.58 | ||
| 155 | * and BOS 02.00.45, if you have an earler version | ||
| 156 | * of Emacs and/or BOS, or have problems, or just prefer | ||
| 157 | * to start a sub-shell rather than suspend-emacs, | ||
| 158 | * un-comment out the next line. | ||
| 159 | */ | ||
| 160 | /* # define BROKEN_SIGTSTP /* make suspend-emacs spawn a sub-shell */ | ||
| 161 | #ifdef NOMULTIPLEJOBS | ||
| 162 | # undef NOMULTIPLEJOBS | ||
| 163 | #endif | ||
| 164 | /* | ||
| 165 | * no we don't want this at all | ||
| 166 | */ | ||
| 167 | #ifdef USG_JOBCTRL | ||
| 168 | # undef USG_JOBCTRL | ||
| 169 | #endif | ||
| 170 | |||
| 171 | /* | ||
| 172 | * but we have that | ||
| 173 | */ | ||
| 174 | #define GETPGRP_NO_ARG | ||
| 175 | |||
| 176 | /* select also needs this header file--but not in ymakefile. */ | ||
| 177 | #ifndef NOT_C_CODE | ||
| 178 | #include <sys/types.h> | ||
| 179 | #include <sys/select.h> | ||
| 180 | #endif | ||
| 181 | |||
| 182 | #define TEXT_START 0 | ||
| 183 | |||
| 184 | /* we have termios */ | ||
| 185 | #undef HAVE_TERMIO | ||
| 186 | #define HAVE_TERMIOS | ||
| 187 | #define HAVE_TCATTR | ||
| 188 | |||
| 189 | /* we also have this */ | ||
| 190 | #define HAVE_PTYS | ||
| 191 | #define SYSV_PTYS | ||
| 192 | |||
| 193 | /* It doesn't seem we have sigpause */ | ||
| 194 | #undef HAVE_SYSV_SIGPAUSE | ||
| 195 | |||
| 196 | #define POSIX_SIGNALS | ||
| 197 | |||
| 198 | /* We don't need the definition from usg5-3.h with POSIX_SIGNALS. */ | ||
| 199 | #undef sigsetmask | ||
| 200 | |||
| 201 | |||
| 202 | /* on bos2.00.45 there is a bug that makes the F_SETOWN fcntl() call | ||
| 203 | enters in an infinite loop. Avoid calling it */ | ||
| 204 | #define F_SETOWN_BUG | ||
| 205 | |||
| 206 | /* system closedir sometimes complains about wrong descriptor | ||
| 207 | for no apparent reasons. Use the provided closedir in sysdep.c instead */ | ||
| 208 | #ifdef HAVE_CLOSEDIR | ||
| 209 | #undef HAVE_CLOSEDIR | ||
| 210 | #endif | ||
| 211 | |||
| 212 | /* Send signals to subprocesses by "typing" signal chars at them. */ | ||
| 213 | #define SIGNALS_VIA_CHARACTERS | ||
| 214 | |||
| 215 | /* This is to prevent memory clobbering on the DPX/2 200. */ | ||
| 216 | #define LD_SWITCH_MACHINE -N -T32 | ||
| 217 | |||
| 218 | /* end of dpx2.h */ | ||
| 219 | |||
| 220 | |||
| 221 | /* arch-tag: 8cfdf817-aec7-4d99-a00d-0e77615e8e1b | ||
| 222 | (do not change this comment) */ | ||
diff --git a/src/m/dual.h b/src/m/dual.h deleted file mode 100644 index d287f9502d2..00000000000 --- a/src/m/dual.h +++ /dev/null | |||
| @@ -1,73 +0,0 @@ | |||
| 1 | /* machine description file for Dual machines using unisoft port. | ||
| 2 | Copyright (C) 1985, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | /* The following line tells the configuration script what sort of | ||
| 23 | operating system this machine is likely to run. | ||
| 24 | USUAL-OPSYS="note" | ||
| 25 | |||
| 26 | NOTE-START | ||
| 27 | Dual running System V (-machine=dual -opsystem=usg5-2) | ||
| 28 | |||
| 29 | As of 17.46, this works except for a few changes | ||
| 30 | needed in unexec.c. | ||
| 31 | |||
| 32 | Dual running Uniplus (-machine=dual -opsystem=unipl5-2) | ||
| 33 | |||
| 34 | Works, as of 17.51. | ||
| 35 | NOTE-END */ | ||
| 36 | |||
| 37 | |||
| 38 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 39 | is the most significant byte. */ | ||
| 40 | |||
| 41 | #define WORDS_BIG_ENDIAN | ||
| 42 | |||
| 43 | /* XINT must explicitly sign-extend */ | ||
| 44 | |||
| 45 | #define EXPLICIT_SIGN_EXTEND | ||
| 46 | |||
| 47 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 48 | |||
| 49 | #define NO_UNION_TYPE | ||
| 50 | |||
| 51 | /* Now define a symbol for the cpu type, if your compiler | ||
| 52 | does not define it automatically: | ||
| 53 | vax, m68000, ns16000 are the ones defined so far. */ | ||
| 54 | |||
| 55 | #ifndef m68000 | ||
| 56 | #define m68000 | ||
| 57 | #endif | ||
| 58 | |||
| 59 | /* Data type of load average, as read out of kmem. */ | ||
| 60 | /* These are commented out since it does not really work in uniplus */ | ||
| 61 | |||
| 62 | /* #define LOAD_AVE_TYPE long */ | ||
| 63 | |||
| 64 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 65 | |||
| 66 | /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */ | ||
| 67 | |||
| 68 | /* Change some things to avoid bugs in compiler */ | ||
| 69 | |||
| 70 | #define SWITCH_ENUM_BUG 1 | ||
| 71 | |||
| 72 | /* arch-tag: 7208d63c-9a23-469e-a9b1-908ac912c743 | ||
| 73 | (do not change this comment) */ | ||
diff --git a/src/m/elxsi.h b/src/m/elxsi.h deleted file mode 100644 index 07a00bbf714..00000000000 --- a/src/m/elxsi.h +++ /dev/null | |||
| @@ -1,133 +0,0 @@ | |||
| 1 | /* machine description file for Elxsi machine (running enix). | ||
| 2 | Copyright (C) 1986, 1992, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | Adapted by John Salmon | ||
| 5 | |||
| 6 | This file is part of GNU Emacs. | ||
| 7 | |||
| 8 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 3, or (at your option) | ||
| 11 | any later version. | ||
| 12 | |||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. */ | ||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="usg5-2" */ | ||
| 26 | |||
| 27 | /* This file was modified by Matt Crawford <matt@tank.uchicago.edu> | ||
| 28 | to work under Elxsi's 12.0 release of BSD unix. */ | ||
| 29 | |||
| 30 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 31 | is the most significant byte. */ | ||
| 32 | |||
| 33 | #undef WORDS_BIG_ENDIAN | ||
| 34 | |||
| 35 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 36 | * group of arguments and treat it as an array of the arguments. */ | ||
| 37 | |||
| 38 | /*#define NO_ARG_ARRAY */ | ||
| 39 | |||
| 40 | /* Define WORD_MACHINE if addresses and such have | ||
| 41 | * to be corrected before they can be used as byte counts. */ | ||
| 42 | |||
| 43 | /*#define WORD_MACHINE */ | ||
| 44 | |||
| 45 | /* Now define a symbol for the cpu type, if your compiler | ||
| 46 | does not define it automatically: | ||
| 47 | vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO | ||
| 48 | are the ones defined so far. */ | ||
| 49 | |||
| 50 | #ifndef elxsi | ||
| 51 | #define elxsi | ||
| 52 | #endif | ||
| 53 | |||
| 54 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 55 | /* This is desirable for most machines. */ | ||
| 56 | |||
| 57 | #define NO_UNION_TYPE | ||
| 58 | |||
| 59 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 60 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 61 | are always unsigned. | ||
| 62 | |||
| 63 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 64 | |||
| 65 | #define EXPLICIT_SIGN_EXTEND | ||
| 66 | |||
| 67 | |||
| 68 | /* Name of kernel load average variable */ | ||
| 69 | |||
| 70 | #undef LDAV_SYMBOL | ||
| 71 | #define LDAV_SYMBOL "avenrun" | ||
| 72 | |||
| 73 | /* Data type of load average, as read out of kmem. */ | ||
| 74 | |||
| 75 | #define LOAD_AVE_TYPE double | ||
| 76 | |||
| 77 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 78 | |||
| 79 | #define LOAD_AVE_CVT(x) (int) ((x) * 100.0) | ||
| 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 | Earlier versions couldn't dump. | ||
| 86 | Changes for 12.0 release are in 19.1. | ||
| 87 | Dumping should work now. */ | ||
| 88 | |||
| 89 | /* #define CANNOT_DUMP */ | ||
| 90 | |||
| 91 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 92 | pure and impure space as loaded can vary, and even their | ||
| 93 | relative order cannot be relied on. | ||
| 94 | |||
| 95 | Otherwise Emacs assumes that text space precedes data space, | ||
| 96 | numerically. */ | ||
| 97 | |||
| 98 | /* #define VIRT_ADDR_VARIES */ | ||
| 99 | |||
| 100 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 101 | to change the boundary between the text section and data section | ||
| 102 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 103 | code will not be sharable; but that's better than failing completely. */ | ||
| 104 | /*#define NO_REMAP*/ | ||
| 105 | |||
| 106 | /* This is a guess for an alternate solution to whatever | ||
| 107 | problem motivated defining _sobuf in sysdep,c with extern char *_sobuf. */ | ||
| 108 | #define _sobuf xsobuf | ||
| 109 | |||
| 110 | /* Address of start of text segment as loaded. */ | ||
| 111 | |||
| 112 | #define TEXT_START 0x800 | ||
| 113 | |||
| 114 | /* Tell crt0.c not to define environ. */ | ||
| 115 | |||
| 116 | #define DONT_NEED_ENVIRON | ||
| 117 | |||
| 118 | /* The elxsi has no debugger, so might as well optimize instead | ||
| 119 | of trying to make a symbol table. */ | ||
| 120 | |||
| 121 | #define C_DEBUG_SWITCH -O | ||
| 122 | |||
| 123 | /* Elxsi uses COFF under both Sys V and BSD environments */ | ||
| 124 | |||
| 125 | #define COFF | ||
| 126 | |||
| 127 | #define ADJUST_EXEC_HEADER {\ | ||
| 128 | extern int _init_brk;\ | ||
| 129 | _init_brk = bss_start;\ | ||
| 130 | } | ||
| 131 | |||
| 132 | /* arch-tag: 73bf1120-a994-4c29-8d60-af425d8bf10c | ||
| 133 | (do not change this comment) */ | ||
diff --git a/src/m/f301.h b/src/m/f301.h deleted file mode 100644 index c427c19e05d..00000000000 --- a/src/m/f301.h +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | /* Machine description file for Fujitsu F301 machines. */ | ||
| 2 | |||
| 3 | /* The following line tells the configuration script what sort of | ||
| 4 | operating system this machine is likely to run. | ||
| 5 | USUAL-OPSYS="uxpv" */ | ||
| 6 | |||
| 7 | #include "delta88k.h" | ||
| 8 | |||
| 9 | /* arch-tag: a0ed4f18-ecf2-4d9a-853b-36e0f6b45945 | ||
| 10 | (do not change this comment) */ | ||
diff --git a/src/m/gould-np1.h b/src/m/gould-np1.h deleted file mode 100644 index cb3da1825cc..00000000000 --- a/src/m/gould-np1.h +++ /dev/null | |||
| @@ -1,108 +0,0 @@ | |||
| 1 | /* machine description file for Gould NP1 with UTX/32 3.0 (first release for NP1) | ||
| 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | /* The following line tells the configuration script what sort of | ||
| 23 | operating system this machine is likely to run. | ||
| 24 | USUAL-OPSYS="bsd4-3" */ | ||
| 25 | |||
| 26 | /* If your system uses COFF (Common Object File Format) then define the | ||
| 27 | preprocessor symbol "COFF". */ | ||
| 28 | /* UTX 3.0 uses a cross between COFF and a.out format, but closer to COFF. */ | ||
| 29 | /* at least currently, already defined by cpp, but make sure */ | ||
| 30 | #ifndef COFF | ||
| 31 | #define COFF | ||
| 32 | #endif COFF | ||
| 33 | |||
| 34 | #include "gould.h" | ||
| 35 | |||
| 36 | /* undefine what gould.h defined */ | ||
| 37 | #undef ADJUST_EXEC_HEADER | ||
| 38 | |||
| 39 | /* If your system uses COFF (Common Object File Format) then define the | ||
| 40 | preprocessor symbol "COFF". */ | ||
| 41 | /* UTX 3.0 uses a cross between COFF and a.out format, but closer to COFF. */ | ||
| 42 | #ifndef COFF /* at least currently, already defined by cpp */ | ||
| 43 | #define COFF | ||
| 44 | #endif COFF | ||
| 45 | |||
| 46 | /* make Gould NP1 and PN COFF look like USG COFF */ | ||
| 47 | /* NP1 COFF */ | ||
| 48 | #undef aouthdr /* Since gould.h already defined these */ | ||
| 49 | #undef a_dtbase | ||
| 50 | |||
| 51 | #ifdef IN_UNEXEC | ||
| 52 | #define aouthdr exec | ||
| 53 | #define ADJUST_TEXT_SCNHDR_SIZE | ||
| 54 | |||
| 55 | /* Gould COFF - these are already defined in gould.h */ | ||
| 56 | /* | ||
| 57 | * #define COFF_WITH_BSD_SYMTAB | ||
| 58 | * #define HEADER_INCL_IN_TEXT | ||
| 59 | * #define magic a_magic | ||
| 60 | * #define tsize a_text | ||
| 61 | * #define dsize a_data | ||
| 62 | * #define bsize a_bss | ||
| 63 | * #define entry a_entry | ||
| 64 | * #define text_start a_txbase | ||
| 65 | * #define data_start a_dtbase | ||
| 66 | */ | ||
| 67 | /* End Gould COFF */ | ||
| 68 | #endif /* IN_UNEXEC */ | ||
| 69 | |||
| 70 | /* NP1 supports a slightly different set than PowerNode */ | ||
| 71 | #define BAUD_CONVERT { 0, 50, 75, 110, 134, 150, 300, 450, 600, 1200, \ | ||
| 72 | 1800, 2000, 2400, 3600, 4800, 7200, 9600, \ | ||
| 73 | 19200, 38400 } | ||
| 74 | |||
| 75 | #define LD_SWITCH_SYSTEM -BS -e start | ||
| 76 | |||
| 77 | /* Undef C_DEBUG_SWITCH because it may have been set in gould.h */ | ||
| 78 | /* It will compile and load and works with dbx. Runs under an incomplete | ||
| 79 | port of gdb, but gdb doesn't always find things correctly. */ | ||
| 80 | #undef C_DEBUG_SWITCH | ||
| 81 | #define C_DEBUG_SWITCH -g | ||
| 82 | #define LIBS_DEBUG -lg | ||
| 83 | |||
| 84 | |||
| 85 | /* The data segment in this machine always starts at address 0x1000000 = 16M. | ||
| 86 | An address of data cannot be stored correctly in a Lisp object; | ||
| 87 | we always lose the high bits. We must tell XPNTR to add them back. */ | ||
| 88 | |||
| 89 | #define DATA_SEG_BITS 0x1000000 | ||
| 90 | #define DATA_START 0x1000000 | ||
| 91 | |||
| 92 | /* The text segment always starts at 0. | ||
| 93 | This way we don't need to have a label _start defined. */ | ||
| 94 | #define TEXT_START 0 | ||
| 95 | |||
| 96 | /* Data isn't right next to text on an NP1 */ | ||
| 97 | #define NO_REMAP | ||
| 98 | |||
| 99 | /* The bcopy bug has reappeared */ | ||
| 100 | #undef BSTRING | ||
| 101 | |||
| 102 | #ifndef GOULD_NP1 | ||
| 103 | #define GOULD_NP1 | ||
| 104 | #endif | ||
| 105 | |||
| 106 | |||
| 107 | /* arch-tag: cdfd3dbf-a5e4-464d-8cef-985fb7872873 | ||
| 108 | (do not change this comment) */ | ||
diff --git a/src/m/gould.h b/src/m/gould.h deleted file mode 100644 index cd16e09b785..00000000000 --- a/src/m/gould.h +++ /dev/null | |||
| @@ -1,189 +0,0 @@ | |||
| 1 | /* machine description file for Gould PowerNodes with UTX/32 2.0 and 2.1. | ||
| 2 | (See MACHINES for older versions.) | ||
| 3 | |||
| 4 | * NOTE: If you are running a pre-release of UTX/32 2.1 you should #define | ||
| 5 | * RELEASE2_1 in config.h. This may also be necessary with un-updated | ||
| 6 | * official releases of 2.1 | ||
| 7 | |||
| 8 | Copyright (C) 1986, 2002, 2003, 2004, 2005, | ||
| 9 | 2006, 2007 Free Software Foundation, Inc. | ||
| 10 | |||
| 11 | This file is part of GNU Emacs. | ||
| 12 | |||
| 13 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 14 | it under the terms of the GNU General Public License as published by | ||
| 15 | the Free Software Foundation; either version 3, or (at your option) | ||
| 16 | any later version. | ||
| 17 | |||
| 18 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 19 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 20 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 21 | GNU General Public License for more details. | ||
| 22 | |||
| 23 | You should have received a copy of the GNU General Public License | ||
| 24 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 25 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 26 | Boston, MA 02110-1301, USA. */ | ||
| 27 | |||
| 28 | |||
| 29 | /* The following line tells the configuration script what sort of | ||
| 30 | operating system this machine is likely to run. | ||
| 31 | USUAL-OPSYS="note" | ||
| 32 | |||
| 33 | NOTE-START | ||
| 34 | Gould Power Node (-machine=gould -opsystem=bsd4-2 or bsd4-3) | ||
| 35 | (gould.h; s-bsd4-2.h or s-bsd4-3.h) | ||
| 36 | |||
| 37 | 18.36 worked on versions 1.2 and 2.0 of the operating system. | ||
| 38 | |||
| 39 | On UTX/32 2.0, use -opsystem=bsd4-3 | ||
| 40 | |||
| 41 | On UTX/32 1.2 and UTX/32S 1.0, use -opsystem=bsd4-2 and note that compiling | ||
| 42 | lib-src/sorted-doc tickles a compiler bug: remove the -g flag to cc in the | ||
| 43 | makefile. | ||
| 44 | |||
| 45 | UTX/32 1.3 has a bug in the bcopy library routine. Fix it by | ||
| 46 | #undef BSTRING in gould.h. | ||
| 47 | |||
| 48 | Version 19 incorporates support for releases 2.1 and later of UTX/32. | ||
| 49 | A site running a pre-release of 2.1 should #define RELEASE2_1 in config.h. | ||
| 50 | NOTE-END */ | ||
| 51 | |||
| 52 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 53 | is the most significant byte. */ | ||
| 54 | |||
| 55 | #define WORDS_BIG_ENDIAN | ||
| 56 | |||
| 57 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 58 | * group of arguments and treat it as an array of the arguments. */ | ||
| 59 | |||
| 60 | #define NO_ARG_ARRAY | ||
| 61 | |||
| 62 | /* Define WORD_MACHINE if addresses and such have | ||
| 63 | * to be corrected before they can be used as byte counts. */ | ||
| 64 | |||
| 65 | /* #define WORD_MACHINE */ | ||
| 66 | |||
| 67 | /* Now define a symbol for the cpu type, if your compiler | ||
| 68 | does not define it automatically */ | ||
| 69 | |||
| 70 | #ifndef GOULD | ||
| 71 | #define GOULD | ||
| 72 | #endif | ||
| 73 | |||
| 74 | /* sel is an old preprocessor name on gould machines | ||
| 75 | - it is no longer needed and interferes with a variable in xmenu.c */ | ||
| 76 | #undef sel | ||
| 77 | |||
| 78 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 79 | /* This is desirable for most machines. */ | ||
| 80 | |||
| 81 | #define NO_UNION_TYPE | ||
| 82 | |||
| 83 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 84 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 85 | are always unsigned. | ||
| 86 | |||
| 87 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 88 | |||
| 89 | #define EXPLICIT_SIGN_EXTEND | ||
| 90 | |||
| 91 | /* Data type of load average, as read out of kmem. */ | ||
| 92 | |||
| 93 | #define LOAD_AVE_TYPE double | ||
| 94 | |||
| 95 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 96 | |||
| 97 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) | ||
| 98 | |||
| 99 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 100 | Then the function dump-emacs will not be defined | ||
| 101 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 102 | |||
| 103 | /* #define CANNOT_DUMP */ | ||
| 104 | |||
| 105 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 106 | pure and impure space as loaded can vary, and even their | ||
| 107 | relative order cannot be relied on. | ||
| 108 | |||
| 109 | Otherwise Emacs assumes that text space precedes data space, | ||
| 110 | numerically. */ | ||
| 111 | |||
| 112 | #define VIRT_ADDR_VARIES | ||
| 113 | |||
| 114 | /* No need to extend the user stack. */ | ||
| 115 | |||
| 116 | /* If this is a 2.1 system, COFF will be predefined by cpp. If it's */ | ||
| 117 | /* pre-2.1 COFF won't be defined, which is as it should be. */ | ||
| 118 | |||
| 119 | #ifdef COFF | ||
| 120 | |||
| 121 | #define HEADER_INCL_IN_TEXT | ||
| 122 | #define COFF_BSD_SYMBOLS | ||
| 123 | |||
| 124 | /* Seems to be necessary with coff */ | ||
| 125 | #define NO_REMAP | ||
| 126 | |||
| 127 | #ifndef GOULD_NP1 | ||
| 128 | /* gould-np1.h includes this file */ | ||
| 129 | /* keep the old value - don't skip over the headers */ | ||
| 130 | #define KEEP_OLD_TEXT_SCNPTR | ||
| 131 | #define KEEP_OLD_PADDR | ||
| 132 | #ifndef RELEASE2_1 | ||
| 133 | #define ADJUST_TEXTBASE | ||
| 134 | #endif /*RELEASE2_1*/ | ||
| 135 | #endif /* GOULD_NP1 */ | ||
| 136 | |||
| 137 | #ifdef IN_UNEXEC | ||
| 138 | /* make Gould NP and PN COFF look like USG COFF */ | ||
| 139 | /* PN COFF */ | ||
| 140 | #define aouthdr old_exec | ||
| 141 | /* PN COFF doesn't have a data_start or a_dtbase field in its */ | ||
| 142 | /* optional header, so substitute a junk field */ | ||
| 143 | #define a_dtbase a_ccvers | ||
| 144 | /* Gould COFF */ | ||
| 145 | #define magic a_magic | ||
| 146 | #define tsize a_text | ||
| 147 | #define dsize a_data | ||
| 148 | #define bsize a_bss | ||
| 149 | #define entry a_entry | ||
| 150 | #define text_start a_txbase | ||
| 151 | #define data_start a_dtbase | ||
| 152 | #endif /* IN_UNEXEC */ | ||
| 153 | |||
| 154 | /* Define how to search all pty names. | ||
| 155 | * This is for UTX 2.1 and greater on PN and all NP versions. It is only | ||
| 156 | * accident that this happens to correspond to the same versions of UTX | ||
| 157 | * as COFF does, but we'll take advantage of that here. | ||
| 158 | */ | ||
| 159 | |||
| 160 | /*#define USE_PTY_PAIR*/ | ||
| 161 | |||
| 162 | #endif /* COFF */ | ||
| 163 | |||
| 164 | /* -g is sometimes broken on the Gould. */ | ||
| 165 | |||
| 166 | #define C_DEBUG_SWITCH | ||
| 167 | |||
| 168 | /* Comparing pointers as unsigned ints tickles a bug in older compilers. */ | ||
| 169 | |||
| 170 | #define PNTR_COMPARISON_TYPE int | ||
| 171 | |||
| 172 | /* The GOULD machine counts the a.out file header as part of the text. */ | ||
| 173 | |||
| 174 | #define A_TEXT_OFFSET(HDR) sizeof (HDR) | ||
| 175 | |||
| 176 | /* Machine-dependent action when about to dump an executable file. */ | ||
| 177 | |||
| 178 | #ifndef COFF | ||
| 179 | #define ADJUST_EXEC_HEADER \ | ||
| 180 | unexec_text_start = hdr.a_txbase + sizeof (hdr); | ||
| 181 | #endif | ||
| 182 | |||
| 183 | /* We use the system's crt0.o. Somehow it avoids losing | ||
| 184 | with `environ' the way most standard crt0.o's do. */ | ||
| 185 | |||
| 186 | #define START_FILES pre-crt0.o /lib/crt0.o | ||
| 187 | |||
| 188 | /* arch-tag: 930cb9ef-f56f-4c06-aea0-5e81103bbf58 | ||
| 189 | (do not change this comment) */ | ||
diff --git a/src/m/i860.h b/src/m/i860.h deleted file mode 100644 index 6d79c5c8d38..00000000000 --- a/src/m/i860.h +++ /dev/null | |||
| @@ -1,101 +0,0 @@ | |||
| 1 | /* machine description file for i860. | ||
| 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="<name of system .h file here, without the s- or .h>" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #undef WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 33 | * group of arguments and treat it as an array of the arguments. */ | ||
| 34 | |||
| 35 | #define NO_ARG_ARRAY | ||
| 36 | |||
| 37 | /* Define WORD_MACHINE if addresses and such have | ||
| 38 | * to be corrected before they can be used as byte counts. */ | ||
| 39 | |||
| 40 | /* #define WORD_MACHINE */ | ||
| 41 | |||
| 42 | /* Now define a symbol for the cpu type, if your compiler | ||
| 43 | does not define it automatically: | ||
| 44 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 45 | orion, tahoe, APOLLO and many others */ | ||
| 46 | |||
| 47 | #define INTEL860 | ||
| 48 | |||
| 49 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 50 | /* This is desirable for most machines. */ | ||
| 51 | |||
| 52 | #define NO_UNION_TYPE | ||
| 53 | |||
| 54 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 55 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 56 | are always unsigned. | ||
| 57 | |||
| 58 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 59 | |||
| 60 | #define EXPLICIT_SIGN_EXTEND | ||
| 61 | |||
| 62 | /* Data type of load average, as read out of kmem. */ | ||
| 63 | |||
| 64 | #define LOAD_AVE_TYPE long | ||
| 65 | |||
| 66 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 67 | |||
| 68 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 69 | |||
| 70 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 71 | Then the function dump-emacs will not be defined | ||
| 72 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 73 | |||
| 74 | /* #define CANNOT_DUMP */ | ||
| 75 | |||
| 76 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 77 | pure and impure space as loaded can vary, and even their | ||
| 78 | relative order cannot be relied on. | ||
| 79 | |||
| 80 | Otherwise Emacs assumes that text space precedes data space, | ||
| 81 | numerically. */ | ||
| 82 | |||
| 83 | /* #define VIRT_ADDR_VARIES */ | ||
| 84 | |||
| 85 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 86 | to change the boundary between the text section and data section | ||
| 87 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 88 | code will not be sharable; but that's better than failing completely. */ | ||
| 89 | |||
| 90 | #define NO_REMAP | ||
| 91 | |||
| 92 | /* The X11 include files for i860-sysv4 need the macro SVR4 defined. | ||
| 93 | --Kaveh Ghazi (ghazi@noc.rutgers.edu) 8/9/94. */ | ||
| 94 | #ifdef USG5_4 | ||
| 95 | #ifndef SVR4 | ||
| 96 | #define SVR4 | ||
| 97 | #endif | ||
| 98 | #endif | ||
| 99 | |||
| 100 | /* arch-tag: 99f3a078-95e1-49d6-8666-04726eb25647 | ||
| 101 | (do not change this comment) */ | ||
diff --git a/src/m/ibmps2-aix.h b/src/m/ibmps2-aix.h deleted file mode 100644 index 045bcf2c294..00000000000 --- a/src/m/ibmps2-aix.h +++ /dev/null | |||
| @@ -1,235 +0,0 @@ | |||
| 1 | /* machine description file for ibm ps/2 aix386. | ||
| 2 | Copyright (C) 1989, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="note" | ||
| 26 | |||
| 27 | NOTE-START | ||
| 28 | Use -opsystem=usg5-3 on AIX 1.2. | ||
| 29 | -opsystem=usg5-2-2 should work on either AIX 1.1 or 1.2, but may not | ||
| 30 | work with certain new X window managers, and may be suboptimal. | ||
| 31 | NOTE-END */ | ||
| 32 | |||
| 33 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 34 | is the most significant byte. */ | ||
| 35 | |||
| 36 | #undef WORDS_BIG_ENDIAN | ||
| 37 | |||
| 38 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 39 | * group of arguments and treat it as an array of the arguments. */ | ||
| 40 | |||
| 41 | /* #define NO_ARG_ARRAY */ | ||
| 42 | |||
| 43 | /* Define WORD_MACHINE if addresses and such have | ||
| 44 | * to be corrected before they can be used as byte counts. */ | ||
| 45 | |||
| 46 | /* #define WORD_MACHINE */ | ||
| 47 | |||
| 48 | /* Now define a symbol for the cpu type, if your compiler | ||
| 49 | does not define it automatically: | ||
| 50 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 51 | orion, tahoe, APOLLO and many others */ | ||
| 52 | |||
| 53 | #define INTEL386 | ||
| 54 | #define aix386 | ||
| 55 | |||
| 56 | #define IBMAIX | ||
| 57 | |||
| 58 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 59 | |||
| 60 | #define NO_UNION_TYPE | ||
| 61 | |||
| 62 | /* crt0.c, if it is used, should use the i386-bsd style of entry. | ||
| 63 | with no extra dummy args. On USG and XENIX, | ||
| 64 | NO_REMAP says this isn't used. */ | ||
| 65 | |||
| 66 | #define CRT0_DUMMIES bogus_fp, | ||
| 67 | |||
| 68 | /* crt0.c should define a symbol `start' and do .globl with a dot. */ | ||
| 69 | |||
| 70 | #define DOT_GLOBAL_START | ||
| 71 | |||
| 72 | /* USG systems do not actually support the load average, | ||
| 73 | so disable it for them. */ | ||
| 74 | |||
| 75 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 76 | Then the function dump-emacs will not be defined | ||
| 77 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 78 | |||
| 79 | /* #define CANNOT_DUMP */ | ||
| 80 | |||
| 81 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 82 | pure and impure space as loaded can vary, and even their | ||
| 83 | relative order cannot be relied on. | ||
| 84 | |||
| 85 | Otherwise Emacs assumes that text space precedes data space, | ||
| 86 | numerically. */ | ||
| 87 | |||
| 88 | /* #define VIRT_ADDR_VARIES */ | ||
| 89 | |||
| 90 | /* Define addresses, macros, change some setup for dump */ | ||
| 91 | |||
| 92 | #define NO_REMAP | ||
| 93 | #undef static | ||
| 94 | /* Since NO_REMAP, problem with statics doesn't exist */ | ||
| 95 | |||
| 96 | #ifdef USG5_3 | ||
| 97 | #define TEXT_START 0x00000000 | ||
| 98 | #else | ||
| 99 | #define TEXT_START 0x00400000 | ||
| 100 | #define TEXT_END 0 | ||
| 101 | #define DATA_START 0x00800000 | ||
| 102 | #define DATA_END 0 | ||
| 103 | |||
| 104 | /* The data segment in this machine always starts at address 0x00800000. | ||
| 105 | An address of data cannot be stored correctly in a Lisp object; | ||
| 106 | we always lose the high bits. We must tell XPNTR to add them back. */ | ||
| 107 | |||
| 108 | #define DATA_SEG_BITS 0x00800000 | ||
| 109 | #endif | ||
| 110 | |||
| 111 | #if 0 /* I refuse to promulgate a recommendation that would make | ||
| 112 | users unable to debug - RMS. */ | ||
| 113 | /* delete the following line to foil optimization, enable debugging */ | ||
| 114 | #define C_DEBUG_SWITCH -O | ||
| 115 | #endif | ||
| 116 | |||
| 117 | #define BSTRING | ||
| 118 | #undef HAVE_TERMIO | ||
| 119 | #define HAVE_TERMIOS | ||
| 120 | |||
| 121 | /* Send signals to subprocesses by "typing" special chars at them. */ | ||
| 122 | |||
| 123 | #define SIGNALS_VIA_CHARACTERS | ||
| 124 | |||
| 125 | /* | ||
| 126 | * Define SYSV_SYSTEM_DIR to use the V.3 getdents/readir | ||
| 127 | * library functions. Almost, but not quite the same as | ||
| 128 | * the 4.2 functions | ||
| 129 | */ | ||
| 130 | #define SYSV_SYSTEM_DIR | ||
| 131 | |||
| 132 | /* | ||
| 133 | * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | ||
| 134 | * The 4.2 opendir, etc., library functions. | ||
| 135 | */ | ||
| 136 | #undef NONSYSTEM_DIR_LIBRARY | ||
| 137 | |||
| 138 | /* AIX utimes allegedly causes SIGSEGV. */ | ||
| 139 | #undef HAVE_UTIMES /* override configuration decision */ | ||
| 140 | |||
| 141 | /* AIX defines FIONREAD, but it does not work. */ | ||
| 142 | #define BROKEN_FIONREAD | ||
| 143 | |||
| 144 | /* Data type of load average, as read out of kmem. */ | ||
| 145 | |||
| 146 | #define LOAD_AVE_TYPE long /* For AIX (sysV) */ | ||
| 147 | |||
| 148 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 149 | |||
| 150 | #define LOAD_AVE_CVT(x) (int) (((double) (x)/65535.0) * 100.0) | ||
| 151 | |||
| 152 | /* This page was added in June 1990. It may be incorrect for some versions | ||
| 153 | of aix, so delete it if it causes trouble. */ | ||
| 154 | |||
| 155 | /* AIX has sigsetmask() */ | ||
| 156 | #undef sigsetmask | ||
| 157 | |||
| 158 | /* AIX386 has BSD4.3 PTYs */ | ||
| 159 | |||
| 160 | #define HAVE_PTYS | ||
| 161 | |||
| 162 | /* AIX has IPC. It also has sockets, and either can be used for client/server. | ||
| 163 | I would suggest the client/server code be changed to use HAVE_SOCKETS rather | ||
| 164 | than BSD as the conditional if sockets provide any advantages. */ | ||
| 165 | |||
| 166 | #define HAVE_SYSVIPC | ||
| 167 | |||
| 168 | /* AIX has sockets */ | ||
| 169 | |||
| 170 | #define HAVE_SOCKETS | ||
| 171 | /* #define SKTPAIR */ /* SKTPAIR works, but what is advantage over pipes? */ | ||
| 172 | |||
| 173 | /* Specify the font for X to use. */ | ||
| 174 | |||
| 175 | #define X_DEFAULT_FONT "8x13" | ||
| 176 | |||
| 177 | /* AIX has a wait.h. */ | ||
| 178 | |||
| 179 | #define HAVE_WAIT_HEADER | ||
| 180 | |||
| 181 | /* sioctl.h should not be included, says bytheway@cs.utah.edu. */ | ||
| 182 | #undef NEED_SIOCTL | ||
| 183 | /* I'm guessing that that means it doesn't want ptem.h either. */ | ||
| 184 | #undef NEED_PTEM_H | ||
| 185 | |||
| 186 | /* aix has `union wait' */ | ||
| 187 | #define HAVE_UNION_WAIT | ||
| 188 | |||
| 189 | /* Here override various assumptions in ymakefile */ | ||
| 190 | |||
| 191 | #ifdef __GNUC__ | ||
| 192 | #define alloca(n) __builtin_alloca(n) | ||
| 193 | #if __GNUC__ < 2 | ||
| 194 | #define LIB_STANDARD /usr/local/lib/gcc-gnulib -lbsd -lrts -lc | ||
| 195 | #endif | ||
| 196 | /* -g fails to work, so it is omitted. */ | ||
| 197 | /* tranle says that -fstrength-reduce does not help. */ | ||
| 198 | #define C_DEBUG_SWITCH | ||
| 199 | #else | ||
| 200 | #define LIBS_MACHINE -lbsd -lrts | ||
| 201 | #endif | ||
| 202 | |||
| 203 | #define OBJECTS_MACHINE hftctl.o | ||
| 204 | #define LD_SWITCH_MACHINE -T0x00400000 -K -e start | ||
| 205 | #define LIBS_DEBUG /* no -lg on aix ps/2 */ | ||
| 206 | |||
| 207 | #ifdef USG5_3 | ||
| 208 | #define XICCC | ||
| 209 | #undef LD_SWITCH_MACHINE | ||
| 210 | #define LD_SWITCH_MACHINE -T0x0 -K -e start | ||
| 211 | |||
| 212 | /* Things defined in s-usg5-3.h that need to be overridden. */ | ||
| 213 | #undef NOMULTIPLEJOBS | ||
| 214 | #undef BROKEN_TIOCGETC | ||
| 215 | #undef BROKEN_TIOCGWINSZ | ||
| 216 | #undef LIBX11_SYSTEM | ||
| 217 | #undef LIB_X11_LIB | ||
| 218 | #endif | ||
| 219 | |||
| 220 | /* Shared libraries are supported in a patch release of ps/2 1.2.1. | ||
| 221 | If the system has them, the user can turn them on, and this code | ||
| 222 | will make them work. */ | ||
| 223 | #define USG_SHARED_LIBRARIES /* Assume that by 19's release everyone has this. */ | ||
| 224 | |||
| 225 | #ifdef USG_SHARED_LIBRARIES | ||
| 226 | #define ORDINARY_LINK | ||
| 227 | #undef LIB_STANDARD | ||
| 228 | #undef LD_SWITCH_MACHINE | ||
| 229 | #if __GNUC__ > 1 | ||
| 230 | #define LD_SWITCH_MACHINE -shlib | ||
| 231 | #endif | ||
| 232 | #endif | ||
| 233 | |||
| 234 | /* arch-tag: 2e7f44df-6a61-4a47-aa53-f7961bfeff11 | ||
| 235 | (do not change this comment) */ | ||
diff --git a/src/m/ibmrt-aix.h b/src/m/ibmrt-aix.h deleted file mode 100644 index 57a9dbc4df1..00000000000 --- a/src/m/ibmrt-aix.h +++ /dev/null | |||
| @@ -1,165 +0,0 @@ | |||
| 1 | /* RTPC AIX machine/system dependent defines | ||
| 2 | Copyright (C) 1988, 1999, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="usg5-2-2" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 33 | * group of arguments and treat it as an array of the arguments. */ | ||
| 34 | |||
| 35 | #define NO_ARG_ARRAY | ||
| 36 | |||
| 37 | /* Now define a symbol for the cpu type, if your compiler | ||
| 38 | does not define it automatically. */ | ||
| 39 | |||
| 40 | #ifndef IBMAIX | ||
| 41 | #define IBMAIX | ||
| 42 | #endif | ||
| 43 | |||
| 44 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 45 | /* This is desirable for most machines. */ | ||
| 46 | |||
| 47 | #define NO_UNION_TYPE | ||
| 48 | |||
| 49 | /* No load average information appears in the AIX kernel. VRM has this | ||
| 50 | info, and if anyone desires they should fix fns.c to get it out of VRM */ | ||
| 51 | |||
| 52 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 53 | Then the function dump-emacs will not be defined | ||
| 54 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 55 | |||
| 56 | /* #define CANNOT_DUMP */ | ||
| 57 | |||
| 58 | /* Define addresses, macros, change some setup for dump */ | ||
| 59 | |||
| 60 | #undef COFF | ||
| 61 | #define NO_REMAP | ||
| 62 | #undef static | ||
| 63 | /* Since NO_REMAP, problem with statics doesn't exist */ | ||
| 64 | |||
| 65 | #define TEXT_START 0x10000000 | ||
| 66 | #define TEXT_END 0 | ||
| 67 | #define DATA_START 0x20000000 | ||
| 68 | #define DATA_END 0 | ||
| 69 | |||
| 70 | /* The data segment in this machine always starts at address 0x20000000. | ||
| 71 | An address of data cannot be stored correctly in a Lisp object; | ||
| 72 | we always lose the high bits. We must tell XPNTR to add them back. */ | ||
| 73 | |||
| 74 | #define DATA_SEG_BITS 0x20000000 | ||
| 75 | |||
| 76 | #define N_BADMAG(x) BADMAG(x) | ||
| 77 | #define N_TXTOFF(x) A_TEXTPOS(x) | ||
| 78 | #define N_SYMOFF(x) A_SYMPOS(x) | ||
| 79 | #define A_TEXT_OFFSET(HDR) sizeof(HDR) | ||
| 80 | #define ADJUST_EXEC_HEADER \ | ||
| 81 | unexec_text_start += sizeof(hdr); \ | ||
| 82 | unexec_data_start = ohdr.a_dbase | ||
| 83 | #undef ADDR_CORRECT | ||
| 84 | #define ADDR_CORRECT(x) ((int)(x)) | ||
| 85 | |||
| 86 | /* This is the offset of the executable's text, from the start of the file. */ | ||
| 87 | |||
| 88 | #define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr)) | ||
| 89 | |||
| 90 | /* AIX has PTYs, so define here, along with macros needed to make them work. */ | ||
| 91 | |||
| 92 | #define HAVE_PTYS | ||
| 93 | #define PTY_ITERATION for (i=0; i<256; i++) | ||
| 94 | #define PTY_NAME_SPRINTF sprintf (ptyname, "/dev/ptc%d", i); | ||
| 95 | |||
| 96 | #define PTY_TTY_NAME_SPRINTF \ | ||
| 97 | { /* Check that server side not already open */ \ | ||
| 98 | if ((ioctl (*ptyv, PTYSTATUS, 0) & 0xFFFF) != 0) \ | ||
| 99 | { \ | ||
| 100 | emacs_close (*ptyv); \ | ||
| 101 | continue; \ | ||
| 102 | } \ | ||
| 103 | /* And finally to be sure we can open it later */ \ | ||
| 104 | sprintf (ptyname, "/dev/pts%d", i); \ | ||
| 105 | signal (SIGHUP,SIG_IGN); \ | ||
| 106 | } /* ignore hangup at process end */ | ||
| 107 | |||
| 108 | /* TIOCNOTTY doesn't occur on AIX, but the rest | ||
| 109 | of the conditionalized code in process.c does | ||
| 110 | the right thing if we fake this out. */ | ||
| 111 | #define TIOCNOTTY IOCTYPE | ||
| 112 | |||
| 113 | /* AIX has IPC. It also has sockets, and either can be used for client/server. | ||
| 114 | I would suggest the client/server code be changed to use HAVE_SOCKETS rather | ||
| 115 | than BSD_SYSTEM as the conditional if sockets provide any advantages. */ | ||
| 116 | |||
| 117 | #define HAVE_SYSVIPC | ||
| 118 | |||
| 119 | /* AIX has sockets */ | ||
| 120 | |||
| 121 | #define HAVE_SOCKETS | ||
| 122 | /* #define SKTPAIR */ /* SKTPAIR works, but what is advantage over pipes? */ | ||
| 123 | |||
| 124 | /* Specify the font for X to use. */ | ||
| 125 | |||
| 126 | #define X_DEFAULT_FONT "Rom14.500" | ||
| 127 | |||
| 128 | /* Here override various assumptions in ymakefile */ | ||
| 129 | |||
| 130 | /* On AIX 2.2.1, use these definitions instead | ||
| 131 | #define C_SWITCH_MACHINE -I/usr/include -Nn2000 | ||
| 132 | #define LIBS_MACHINE -lX -lrts | ||
| 133 | */ | ||
| 134 | |||
| 135 | #define C_SWITCH_MACHINE -I/usr/include -I/usr/include/bsd -Nn2000 | ||
| 136 | #define LIBS_MACHINE -lXMenu -lX -lsock -lbsd -lrts | ||
| 137 | |||
| 138 | #define OBJECTS_MACHINE hftctl.o | ||
| 139 | #define START_FILES /lib/crt0.o | ||
| 140 | /* -lXMenu, -lX must precede -lsock, -lbsd */ | ||
| 141 | #define LD_SWITCH_MACHINE -n -T0x10000000 -K -e start | ||
| 142 | |||
| 143 | #if 0 /* I refuse to promulgate a recommendation that would make | ||
| 144 | users unable to debug - RMS. */ | ||
| 145 | /* delete the following line to foil optimization, enable debugging */ | ||
| 146 | #define C_DEBUG_SWITCH -O | ||
| 147 | #endif | ||
| 148 | |||
| 149 | |||
| 150 | /* Setup to do some things BSD way - these won't work previous to AIX 2.1.2 */ | ||
| 151 | |||
| 152 | #include </usr/include/bsd/BSDtoAIX.h> | ||
| 153 | #define BSTRING | ||
| 154 | |||
| 155 | /* AIX utimes allegedly causes SIGSEGV. */ | ||
| 156 | #undef HAVE_UTIMES /* override configuration decision */ | ||
| 157 | |||
| 158 | /* AIX defines FIONREAD, but it does not work. */ | ||
| 159 | #define BROKEN_FIONREAD | ||
| 160 | |||
| 161 | /* rocky@watson.ibm.com says this is needed. */ | ||
| 162 | #define HAVE_FTIME | ||
| 163 | |||
| 164 | /* arch-tag: eea85307-0ca9-4a9c-a4f6-89fad7591d28 | ||
| 165 | (do not change this comment) */ | ||
diff --git a/src/m/ibmrt.h b/src/m/ibmrt.h deleted file mode 100644 index ca32db94518..00000000000 --- a/src/m/ibmrt.h +++ /dev/null | |||
| @@ -1,123 +0,0 @@ | |||
| 1 | /* RTPC machine dependent defines | ||
| 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="bsd4-2" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 33 | * group of arguments and treat it as an array of the arguments. */ | ||
| 34 | |||
| 35 | #define NO_ARG_ARRAY | ||
| 36 | |||
| 37 | /* Define WORD_MACHINE if addresses and such have | ||
| 38 | * to be corrected before they can be used as byte counts. */ | ||
| 39 | |||
| 40 | #define WORD_MACHINE | ||
| 41 | |||
| 42 | /* Now define a symbol for the cpu type, if your compiler | ||
| 43 | does not define it automatically. */ | ||
| 44 | |||
| 45 | #define ibmrt | ||
| 46 | #define romp /* unfortunately old include files are hanging around. */ | ||
| 47 | |||
| 48 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 49 | /* This is desirable for most machines. */ | ||
| 50 | |||
| 51 | #define NO_UNION_TYPE | ||
| 52 | |||
| 53 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 54 | the bit field into an int. In other words, if bit fields | ||
| 55 | are always unsigned. | ||
| 56 | |||
| 57 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 58 | |||
| 59 | #define EXPLICIT_SIGN_EXTEND | ||
| 60 | |||
| 61 | /* Data type of load average, as read out of kmem. */ | ||
| 62 | |||
| 63 | #define LOAD_AVE_TYPE double /* For AIS (sysV) */ | ||
| 64 | |||
| 65 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 66 | |||
| 67 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) | ||
| 68 | |||
| 69 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 70 | Then the function dump-emacs will not be defined | ||
| 71 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 72 | |||
| 73 | /* #define CANNOT_DUMP */ | ||
| 74 | |||
| 75 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 76 | pure and impure space as loaded can vary, and even their | ||
| 77 | relative order cannot be relied on. | ||
| 78 | |||
| 79 | Otherwise Emacs assumes that text space precedes data space, | ||
| 80 | numerically. */ | ||
| 81 | |||
| 82 | #undef VIRT_ADDR_VARIES | ||
| 83 | |||
| 84 | /* The data segment in this machine starts at a fixed address. | ||
| 85 | An address of data cannot be stored correctly in a Lisp object; | ||
| 86 | we always lose the high bits. We must tell XPNTR to add them back. */ | ||
| 87 | |||
| 88 | #define DATA_SEG_BITS 0x10000000 | ||
| 89 | #define DATA_START 0x10000000 | ||
| 90 | |||
| 91 | /* The text segment always starts at a fixed address. | ||
| 92 | This way we don't need to have a label _start defined. */ | ||
| 93 | #define TEXT_START 0 | ||
| 94 | |||
| 95 | /* Taking a pointer to a char casting it as int pointer */ | ||
| 96 | /* and then taking the int which the int pointer points to */ | ||
| 97 | /* is practically guaranteed to give erroneous results */ | ||
| 98 | |||
| 99 | #define NEED_ERRNO | ||
| 100 | |||
| 101 | #define SKTPAIR | ||
| 102 | |||
| 103 | /* BSD has BSTRING. */ | ||
| 104 | |||
| 105 | #define BSTRING | ||
| 106 | |||
| 107 | /* Special switches to give the C compiler. */ | ||
| 108 | |||
| 109 | #ifndef __GNUC__ | ||
| 110 | #define C_SWITCH_MACHINE -Dalloca=_Alloca | ||
| 111 | #endif | ||
| 112 | |||
| 113 | /* Don't attempt to relabel some of the data as text when dumping. | ||
| 114 | It does not work because their virtual addresses are not consecutive. | ||
| 115 | This enables us to use the standard crt0.o. */ | ||
| 116 | |||
| 117 | #define NO_REMAP | ||
| 118 | |||
| 119 | /* Use the bitmap files that come with Emacs. */ | ||
| 120 | #define EMACS_BITMAP_FILES | ||
| 121 | |||
| 122 | /* arch-tag: 89aa7e7d-593e-432c-966a-3db6aa2ad665 | ||
| 123 | (do not change this comment) */ | ||
diff --git a/src/m/intel386.h b/src/m/intel386.h index 22205ed762c..4ca09296f0f 100644 --- a/src/m/intel386.h +++ b/src/m/intel386.h | |||
| @@ -25,15 +25,14 @@ Boston, MA 02110-1301, USA. */ | |||
| 25 | USUAL-OPSYS="note" | 25 | USUAL-OPSYS="note" |
| 26 | 26 | ||
| 27 | NOTE-START | 27 | NOTE-START |
| 28 | Intel 386 (-machine=intel386 or -machine=is386.h) | 28 | Intel 386 (-machine=intel386) |
| 29 | 29 | ||
| 30 | The possibilities for -opsystem are: bsd4-2, usg5-2-2, usg5-3, | 30 | The possibilities for -opsystem are: bsd4-2, usg5-2-2, usg5-3, |
| 31 | isc2-2, 386-ix, esix, linux, sco3.2v4, and xenix. | 31 | isc2-2, 386-ix, and linux. |
| 32 | 32 | ||
| 33 | 18.58 should support a wide variety of operating systems. | 33 | 18.58 should support a wide variety of operating systems. |
| 34 | Use isc2-2 for Interactive 386/ix version 2.2. | 34 | Use isc2-2 for Interactive 386/ix version 2.2. |
| 35 | Use 386ix for prior versions. | 35 | Use 386ix for prior versions. |
| 36 | Use esix for Esix. | ||
| 37 | Use linux for Linux. | 36 | Use linux for Linux. |
| 38 | It isn't clear what to do on an SCO system. | 37 | It isn't clear what to do on an SCO system. |
| 39 | 38 | ||
diff --git a/src/m/irist.h b/src/m/irist.h deleted file mode 100644 index c0d55f96d0f..00000000000 --- a/src/m/irist.h +++ /dev/null | |||
| @@ -1,136 +0,0 @@ | |||
| 1 | /* machine description file for Silicon Graphics Iris 2500 Turbos; | ||
| 2 | also possibly for non-turbo Irises with system release 2.5. | ||
| 3 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, | ||
| 4 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 5 | |||
| 6 | This file is part of GNU Emacs. | ||
| 7 | |||
| 8 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 3, or (at your option) | ||
| 11 | any later version. | ||
| 12 | |||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. */ | ||
| 22 | |||
| 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 | NOTE-START | ||
| 28 | Version 18 said to work; use -opsystem=irist3-5 for system version 2.5 | ||
| 29 | and -opsystem=iris3-6 for system versions 3.6 and up. | ||
| 30 | NOTE-END */ | ||
| 31 | |||
| 32 | #if 0 | ||
| 33 | Message-Id: <8705050653.AA20004@orville.arpa> | ||
| 34 | Subject: gnu emacs 18.41 on iris [23].5 machines | ||
| 35 | Date: 04 May 87 23:53:11 PDT (Mon) | ||
| 36 | From: raible@orville.arpa | ||
| 37 | |||
| 38 | Aside from the SIGIOT, I know of only one bug, a real strange one: | ||
| 39 | I wrote a utimes interface, which copies elements from timevals | ||
| 40 | to utimbufs. This code is known good. The problem is that in | ||
| 41 | emacs, the utime doesn't seem to take effect (i.e. doesn't change the | ||
| 42 | dates at all) unless I call report_file_error *after* the utime returns! | ||
| 43 | |||
| 44 | if (utime (name, &utb) < 0) | ||
| 45 | return; | ||
| 46 | else | ||
| 47 | /* XXX XXX XXX */ | ||
| 48 | /* For some reason, if this is taken out, then the utime above breaks! */ | ||
| 49 | /* (i.e. it doesn't set the time. This just makes no sense... */ | ||
| 50 | /* Eric - May 4, 1987 */ | ||
| 51 | report_file_error ("Worked just find\n", Qnil); | ||
| 52 | |||
| 53 | Without any sort of debugger that works on emacs (I know... but I dont have | ||
| 54 | *time* right now to start with gdb), it was quite time consuming to track | ||
| 55 | it down to this. | ||
| 56 | |||
| 57 | But since this code is only used for an optional 4th argument to one command | ||
| 58 | (copy-file), it would say that it is non-critical... | ||
| 59 | #endif /* 0 */ | ||
| 60 | |||
| 61 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 62 | is the most significant byte. */ | ||
| 63 | |||
| 64 | #define WORDS_BIG_ENDIAN | ||
| 65 | |||
| 66 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 67 | * group of arguments and treat it as an array of the arguments. */ | ||
| 68 | |||
| 69 | /* #define NO_ARG_ARRAY */ | ||
| 70 | |||
| 71 | /* Define WORD_MACHINE if addresses and such have | ||
| 72 | * to be corrected before they can be used as byte counts. */ | ||
| 73 | |||
| 74 | /* #define WORD_MACHINE */ | ||
| 75 | |||
| 76 | /* Now define a symbol for the cpu type, if your compiler | ||
| 77 | does not define it automatically: | ||
| 78 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 79 | orion, tahoe, APOLLO and many others */ | ||
| 80 | |||
| 81 | #ifndef m68000 | ||
| 82 | #define m68000 | ||
| 83 | #endif | ||
| 84 | |||
| 85 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 86 | /* This is desirable for most machines. */ | ||
| 87 | |||
| 88 | #define NO_UNION_TYPE | ||
| 89 | |||
| 90 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 91 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 92 | are always unsigned. | ||
| 93 | |||
| 94 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 95 | |||
| 96 | #define EXPLICIT_SIGN_EXTEND | ||
| 97 | |||
| 98 | /* Data type of load average, as read out of kmem. */ | ||
| 99 | |||
| 100 | #define LOAD_AVE_TYPE long | ||
| 101 | |||
| 102 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 103 | |||
| 104 | #define FSCALE 1.0 | ||
| 105 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 106 | |||
| 107 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 108 | Then the function dump-emacs will not be defined | ||
| 109 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 110 | |||
| 111 | /* #define CANNOT_DUMP */ | ||
| 112 | |||
| 113 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 114 | pure and impure space as loaded can vary, and even their | ||
| 115 | relative order cannot be relied on. | ||
| 116 | |||
| 117 | Otherwise Emacs assumes that text space precedes data space, | ||
| 118 | numerically. */ | ||
| 119 | |||
| 120 | /* #define VIRT_ADDR_VARIES */ | ||
| 121 | |||
| 122 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 123 | to change the boundary between the text section and data section | ||
| 124 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 125 | code will not be sharable; but that's better than failing completely. */ | ||
| 126 | |||
| 127 | /* #define NO_REMAP */ | ||
| 128 | |||
| 129 | /* There is an inconsistency between the sgi assembler, linker which barfs | ||
| 130 | on these. */ | ||
| 131 | |||
| 132 | #define internal_with_output_to_temp_buffer stupid_long_name1 | ||
| 133 | #define Finsert_abbrev_table_description stupid_long_name2 | ||
| 134 | |||
| 135 | /* arch-tag: 4076b26c-1fe6-4c28-94f3-3c863f074767 | ||
| 136 | (do not change this comment) */ | ||
diff --git a/src/m/is386.h b/src/m/is386.h deleted file mode 100644 index 5041db9a6c8..00000000000 --- a/src/m/is386.h +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | /* machine description file for Integrated Solutions 386 machine. */ | ||
| 2 | |||
| 3 | #include "intel386.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="note" | ||
| 8 | |||
| 9 | NOTE-START | ||
| 10 | Intel 386 (-machine=intel386 or -machine=is386.h) | ||
| 11 | |||
| 12 | The possibilities for -opsystem are: bsd4-2, usg5-2-2, usg5-3, | ||
| 13 | isc2-2, 386-ix, esix, or xenix. | ||
| 14 | |||
| 15 | 18.58 should support a wide variety of operating systems. | ||
| 16 | Use isc2-2 for Interactive 386/ix version 2.2. | ||
| 17 | Use 386ix for prior versions. | ||
| 18 | Use esix for Esix. It isn't clear what to do on an SCO system. | ||
| 19 | |||
| 20 | -machine=is386 is used for an Integrated Solutions 386 machine. | ||
| 21 | It may also be correct for Microport systems. | ||
| 22 | NOTE-END */ | ||
| 23 | |||
| 24 | #define LIBX11_MACHINE -lnsl_s | ||
| 25 | |||
| 26 | #define LIBS_DEBUG -lg | ||
| 27 | |||
| 28 | /* arch-tag: b6b7e6ec-8b6c-440b-b9c8-961e4bebf0cf | ||
| 29 | (do not change this comment) */ | ||
diff --git a/src/m/isi-ov.h b/src/m/isi-ov.h deleted file mode 100644 index 6706ee9981b..00000000000 --- a/src/m/isi-ov.h +++ /dev/null | |||
| @@ -1,96 +0,0 @@ | |||
| 1 | /* machine description file for ISI 68000's | ||
| 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="note" | ||
| 26 | |||
| 27 | NOTE-START | ||
| 28 | Use `-opsystem=bsd4-2' or `-opsystem=bsd4-3'. | ||
| 29 | NOTE-END */ | ||
| 30 | |||
| 31 | #define ISI68K | ||
| 32 | |||
| 33 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 34 | is the most significant byte. */ | ||
| 35 | |||
| 36 | #define WORDS_BIG_ENDIAN | ||
| 37 | |||
| 38 | /* Say this machine is a 68000 */ | ||
| 39 | |||
| 40 | #define m68000 | ||
| 41 | |||
| 42 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 43 | |||
| 44 | #define NO_UNION_TYPE | ||
| 45 | |||
| 46 | /* XINT must explicitly sign-extend */ | ||
| 47 | |||
| 48 | #define EXPLICIT_SIGN_EXTEND | ||
| 49 | |||
| 50 | /* Data type of load average, as read out of kmem. */ | ||
| 51 | |||
| 52 | #ifdef BSD4_3 | ||
| 53 | #define LOAD_AVE_TYPE long | ||
| 54 | #else | ||
| 55 | #define LOAD_AVE_TYPE double | ||
| 56 | #endif BSD4_3 | ||
| 57 | |||
| 58 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 59 | |||
| 60 | #ifdef BSD4_3 | ||
| 61 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 62 | #else | ||
| 63 | #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | ||
| 64 | #endif | ||
| 65 | |||
| 66 | /* Mask for address bits within a memory segment */ | ||
| 67 | |||
| 68 | #define SEGMENT_MASK 0x1ffff | ||
| 69 | |||
| 70 | /* use the -20 switch to get the 68020 code */ | ||
| 71 | /* #define C_SWITCH_MACHINE -20 */ | ||
| 72 | |||
| 73 | /* Use the version of the library for the 68020 | ||
| 74 | because the standard library requires some special hacks in crt0 | ||
| 75 | which the GNU crt0 does not have. */ | ||
| 76 | |||
| 77 | #define LIB_STANDARD -lmc | ||
| 78 | |||
| 79 | /* macros to make unexec work right */ | ||
| 80 | |||
| 81 | #define A_TEXT_OFFSET(HDR) sizeof(HDR) | ||
| 82 | #define A_TEXT_SEEK(HDR) sizeof(HDR) | ||
| 83 | |||
| 84 | /* A few changes for the newer systems. */ | ||
| 85 | |||
| 86 | #ifdef BSD4_3 | ||
| 87 | /* The following line affects crt0.c. */ | ||
| 88 | #undef m68k | ||
| 89 | |||
| 90 | #undef LIB_STANDARD | ||
| 91 | #define LIB_STANDARD -lmc -lc | ||
| 92 | #define C_DEBUG_SWITCH -20 -O -X23 | ||
| 93 | #endif | ||
| 94 | |||
| 95 | /* arch-tag: 3bfb5a11-d94e-4372-923b-9f47d0851f42 | ||
| 96 | (do not change this comment) */ | ||
diff --git a/src/m/mega68.h b/src/m/mega68.h deleted file mode 100644 index 0d22b572fc5..00000000000 --- a/src/m/mega68.h +++ /dev/null | |||
| @@ -1,53 +0,0 @@ | |||
| 1 | /* machine description file for Megatest 68000's. | ||
| 2 | Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="bsd4-2" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* XINT must explicitly sign-extend */ | ||
| 33 | |||
| 34 | #define EXPLICIT_SIGN_EXTEND | ||
| 35 | |||
| 36 | /* Say this machine is a 68000 */ | ||
| 37 | |||
| 38 | #define m68000 | ||
| 39 | |||
| 40 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 41 | |||
| 42 | #define NO_UNION_TYPE | ||
| 43 | |||
| 44 | /* Data type of load average, as read out of kmem. */ | ||
| 45 | |||
| 46 | #define LOAD_AVE_TYPE double | ||
| 47 | |||
| 48 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 49 | |||
| 50 | #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | ||
| 51 | |||
| 52 | /* arch-tag: 61e6deb4-a93e-444b-bbd5-9887a83f1bbc | ||
| 53 | (do not change this comment) */ | ||
diff --git a/src/m/mg1.h b/src/m/mg1.h deleted file mode 100644 index 515e9e23a96..00000000000 --- a/src/m/mg1.h +++ /dev/null | |||
| @@ -1,107 +0,0 @@ | |||
| 1 | /* machine description file for Whitechapel Computer Works MG1 (ns16000 based). | ||
| 2 | Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | MG-1 version by L.M.McLoughlin | ||
| 5 | |||
| 6 | This file is part of GNU Emacs. | ||
| 7 | |||
| 8 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 3, or (at your option) | ||
| 11 | any later version. | ||
| 12 | |||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. */ | ||
| 22 | |||
| 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 | |||
| 28 | NOTE-START | ||
| 29 | We are in the dark about what operating system runs on the Whitechapel | ||
| 30 | systems. Consult share-lib/MACHINES for information on which | ||
| 31 | operating systems Emacs has already been ported to; one of them might | ||
| 32 | work. If you find an existing system name that works or write your | ||
| 33 | own configuration files, please let the Free Software Foundation in on | ||
| 34 | your work; we'd like to distribute this information. | ||
| 35 | NOTE-END */ | ||
| 36 | |||
| 37 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 38 | is the most significant byte. */ | ||
| 39 | |||
| 40 | #undef WORDS_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 | /* ns16000 call sequence used on mg1 means that &arg = the args as an array */ | ||
| 45 | #undef 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 | /* ns16000 addresses are byte addresses */ | ||
| 50 | #undef WORD_MACHINE | ||
| 51 | |||
| 52 | /* Now define a symbol for the cpu type, if your compiler | ||
| 53 | does not define it automatically: | ||
| 54 | vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO | ||
| 55 | are the ones defined so far. */ | ||
| 56 | /* Say this machine is a 16000 and an mg1, cpp says its a 32000 */ | ||
| 57 | #define ns16000 | ||
| 58 | #define mg1 | ||
| 59 | |||
| 60 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 61 | /* This is desirable for most machines. */ | ||
| 62 | /* Not sure on mg-1 but this shouldn't hurt! */ | ||
| 63 | #define NO_UNION_TYPE | ||
| 64 | |||
| 65 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 66 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 67 | are always unsigned. | ||
| 68 | |||
| 69 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 70 | |||
| 71 | #define EXPLICIT_SIGN_EXTEND | ||
| 72 | |||
| 73 | /* Data type of load average, as read out of kmem. */ | ||
| 74 | /* mg1 its an unsigned long */ | ||
| 75 | #define LOAD_AVE_TYPE unsigned long | ||
| 76 | |||
| 77 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 78 | #define FSCALE 1000.0 | ||
| 79 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 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 | /* ns16000's have an unexec, so should the mg-1 */ | ||
| 85 | #undef 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 | /* hmmmm... not sure. copied sequent.h */ | ||
| 94 | #undef VIRT_ADDR_VARIES | ||
| 95 | |||
| 96 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 97 | to change the boundary between the text section and data section | ||
| 98 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 99 | code will not be sharable; but that's better than failing completely. */ | ||
| 100 | /* mapping seems screwy */ | ||
| 101 | #define NO_REMAP | ||
| 102 | |||
| 103 | /* Avoids a compiler bug */ | ||
| 104 | /* borrowed from sequent.h */ | ||
| 105 | |||
| 106 | /* arch-tag: e15d9072-9e1a-44bf-8add-966be535967b | ||
| 107 | (do not change this comment) */ | ||
diff --git a/src/m/news-r6.h b/src/m/news-r6.h deleted file mode 100644 index cf6e019fd05..00000000000 --- a/src/m/news-r6.h +++ /dev/null | |||
| @@ -1,53 +0,0 @@ | |||
| 1 | /* news-risc6.h is for the "RISC News", OS version 6. */ | ||
| 2 | /* This is in the public domain. */ | ||
| 3 | |||
| 4 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 5 | * group of arguments and treat it as an array of the arguments. */ | ||
| 6 | |||
| 7 | #define NO_ARG_ARRAY | ||
| 8 | |||
| 9 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 10 | /* This is desirable for most machines. */ | ||
| 11 | |||
| 12 | #define NO_UNION_TYPE | ||
| 13 | |||
| 14 | /* Data type of load average, as read out of kmem. */ | ||
| 15 | |||
| 16 | #define LOAD_AVE_TYPE long | ||
| 17 | |||
| 18 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 19 | |||
| 20 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / 256.0) | ||
| 21 | |||
| 22 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 23 | to change the boundary between the text section and data section | ||
| 24 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 25 | code will not be sharable; but that's better than failing completely. */ | ||
| 26 | |||
| 27 | #define NO_REMAP | ||
| 28 | |||
| 29 | /* Alter some of the options used when linking. */ | ||
| 30 | |||
| 31 | /*#define C_DEBUG_SWITCH -g*/ | ||
| 32 | #define C_DEBUG_SWITCH -O -Olimit 2000 | ||
| 33 | #ifdef __GNUC__ | ||
| 34 | #define LD_SWITCH_MACHINE -g -Xlinker -D -Xlinker 800000 | ||
| 35 | #else /* !__GNUC__ */ | ||
| 36 | /*#define LD_SWITCH_MACHINE -D 800000 -g*/ | ||
| 37 | #define LD_SWITCH_MACHINE -D 800000 | ||
| 38 | #endif /* !__GNUC__ */ | ||
| 39 | #define LIBS_MACHINE -lmld | ||
| 40 | #define LIBS_TERMCAP -lcurses | ||
| 41 | |||
| 42 | /* The standard definitions of these macros would work ok, | ||
| 43 | but these are faster because the constants are short. */ | ||
| 44 | |||
| 45 | #define XUINT(a) (((unsigned)(a) << (BITS_PER_INT-VALBITS)) >> (BITS_PER_INT-VALBITS)) | ||
| 46 | |||
| 47 | #define XSET(var, type, ptr) \ | ||
| 48 | ((var) = \ | ||
| 49 | ((int)(type) << VALBITS) \ | ||
| 50 | + (((unsigned) (ptr) << (BITS_PER_INT-VALBITS)) >> (BITS_PER_INT-VALBITS))) | ||
| 51 | |||
| 52 | /* arch-tag: b9fd7b75-ba3c-46d4-8966-24381b13001b | ||
| 53 | (do not change this comment) */ | ||
diff --git a/src/m/news-risc.h b/src/m/news-risc.h deleted file mode 100644 index b7ea3dbceff..00000000000 --- a/src/m/news-risc.h +++ /dev/null | |||
| @@ -1,83 +0,0 @@ | |||
| 1 | /* news-risc.h is for the "RISC News". | ||
| 2 | |||
| 3 | Copyright (C) 1992, 1999, 2001, 2002, 2003, 2004, 2005, 2006, | ||
| 4 | 2007 Free Software Foundation, Inc. | ||
| 5 | |||
| 6 | This file is part of GNU Emacs. | ||
| 7 | |||
| 8 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 3, or (at your option) | ||
| 11 | any later version. | ||
| 12 | |||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. */ | ||
| 22 | |||
| 23 | |||
| 24 | #include "mips.h" | ||
| 25 | |||
| 26 | #ifdef NEWSOS5 | ||
| 27 | |||
| 28 | /* NEWS-OS 5.0.2 */ | ||
| 29 | |||
| 30 | #define LIBS_MACHINE -lmld | ||
| 31 | |||
| 32 | #ifdef __GNUC__ | ||
| 33 | #define LD_SWITCH_MACHINE -g -Xlinker -D -Xlinker 800000 | ||
| 34 | #else | ||
| 35 | #define C_DEBUG_SWITCH -g3 | ||
| 36 | #define C_OPTIMIZE_SWITCH -g3 | ||
| 37 | #define LD_SWITCH_MACHINE -g3 -D 800000 -non_shared | ||
| 38 | #endif | ||
| 39 | |||
| 40 | #else /* not NEWSOS5 */ | ||
| 41 | |||
| 42 | /* The following line tells the configuration script what sort of | ||
| 43 | operating system this machine is likely to run. | ||
| 44 | USUAL-OPSYS="bsd4-3" */ | ||
| 45 | |||
| 46 | #define COFF | ||
| 47 | #undef LD_SWITCH_MACHINE | ||
| 48 | #ifdef __GNUC__ | ||
| 49 | #define LD_SWITCH_MACHINE -Xlinker -x -Xlinker -D -Xlinker 800000 | ||
| 50 | #else | ||
| 51 | #define LD_SWITCH_MACHINE -x -D 800000 | ||
| 52 | #endif | ||
| 53 | |||
| 54 | /* #define C_OPTIMIZE_SWITCH -O2 */ | ||
| 55 | #define C_OPTIMIZE_SWITCH -O | ||
| 56 | |||
| 57 | #ifndef __GNUC__ | ||
| 58 | #define C_DEBUG_SWITCH -g3 | ||
| 59 | #endif | ||
| 60 | |||
| 61 | #undef TERMINFO | ||
| 62 | |||
| 63 | /* We have no mode_t. */ | ||
| 64 | #define NO_MODE_T | ||
| 65 | |||
| 66 | /* Don't use the definitions in m/mips.h. */ | ||
| 67 | #undef LINKER | ||
| 68 | #define LINKER $(CC) -nostdlib | ||
| 69 | #undef LIBS_MACHINE | ||
| 70 | #define LIBS_MACHINE -lmld | ||
| 71 | |||
| 72 | #undef KERNEL_FILE | ||
| 73 | #define KERNEL_FILE "/vmunix" | ||
| 74 | |||
| 75 | /* System's malloc, realloc, calloc and so on have bad prototypes, | ||
| 76 | using char * instead of void *, so tell gmalloc not to use the | ||
| 77 | prototypes. */ | ||
| 78 | #define BROKEN_PROTOTYPES | ||
| 79 | |||
| 80 | #endif /* not NEWSOS5 */ | ||
| 81 | |||
| 82 | /* arch-tag: cf17300c-dd34-4b9d-a657-2de718469662 | ||
| 83 | (do not change this comment) */ | ||
diff --git a/src/m/news.h b/src/m/news.h deleted file mode 100644 index 084c5abb92c..00000000000 --- a/src/m/news.h +++ /dev/null | |||
| @@ -1,65 +0,0 @@ | |||
| 1 | /* machine description file for Sony's NEWS workstations, NEWS-OS 3.0. | ||
| 2 | Copyright (C) 1985, 1986, 1989, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="note" | ||
| 26 | |||
| 27 | NOTE-START | ||
| 28 | Use -opsystem=bsd4-2, or -opsystem=bsd4-3 for system release 3. | ||
| 29 | NOTE-END */ | ||
| 30 | |||
| 31 | /* Say this machine is a 68000 */ | ||
| 32 | |||
| 33 | #ifndef m68000 | ||
| 34 | #define m68000 | ||
| 35 | #endif | ||
| 36 | |||
| 37 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 38 | is the most significant byte. */ | ||
| 39 | |||
| 40 | #define WORDS_BIG_ENDIAN | ||
| 41 | |||
| 42 | /* One CRT0 Dummy variable */ | ||
| 43 | |||
| 44 | #if 0 /* larry@mitra.com says Sony's as doesn't like this. */ | ||
| 45 | #define CRT0_DUMMIES one_dummy, | ||
| 46 | #endif | ||
| 47 | |||
| 48 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 49 | |||
| 50 | #define NO_UNION_TYPE | ||
| 51 | |||
| 52 | /* Data type of load average, as read out of kmem. */ | ||
| 53 | |||
| 54 | #define LOAD_AVE_TYPE double | ||
| 55 | |||
| 56 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 57 | |||
| 58 | #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | ||
| 59 | |||
| 60 | /* Must use the system's termcap. It does special things. */ | ||
| 61 | |||
| 62 | #define LIBS_TERMCAP -ltermcap | ||
| 63 | |||
| 64 | /* arch-tag: 79bfd831-874a-4339-85fa-b8cbdc29bdab | ||
| 65 | (do not change this comment) */ | ||
diff --git a/src/m/nh3000.h b/src/m/nh3000.h deleted file mode 100644 index e4a9817d57c..00000000000 --- a/src/m/nh3000.h +++ /dev/null | |||
| @@ -1,109 +0,0 @@ | |||
| 1 | /* machine description for Harris Night Hawk Series 1200 and Series 3000 | ||
| 2 | MC68030-based systems (FPP on these is custom). These systems are | ||
| 3 | also known as "ecx" and "gcx". | ||
| 4 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, | ||
| 5 | 2006, 2007 Free Software Foundation, Inc. | ||
| 6 | |||
| 7 | This file is part of GNU Emacs. | ||
| 8 | |||
| 9 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 10 | it under the terms of the GNU General Public License as published by | ||
| 11 | the Free Software Foundation; either version 3, or (at your option) | ||
| 12 | any later version. | ||
| 13 | |||
| 14 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | GNU General Public License for more details. | ||
| 18 | |||
| 19 | You should have received a copy of the GNU General Public License | ||
| 20 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 21 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 22 | Boston, MA 02110-1301, USA. */ | ||
| 23 | |||
| 24 | /* This file manually constructed for Harris Night Hawk 4000 (and 5000) | ||
| 25 | * series Motorola 88100 and 88110 based machines. | ||
| 26 | */ | ||
| 27 | |||
| 28 | /* The following line tells the configuration script what sort of | ||
| 29 | operating system this machine is likely to run. | ||
| 30 | USUAL-OPSYS="<name of system .h file here, without the s- or .h>" */ | ||
| 31 | |||
| 32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 33 | * group of arguments and treat it as an array of the arguments. */ | ||
| 34 | |||
| 35 | #define NO_ARG_ARRAY | ||
| 36 | |||
| 37 | /* Define WORD_MACHINE if addresses and such have | ||
| 38 | * to be corrected before they can be used as byte counts. */ | ||
| 39 | |||
| 40 | /* #define WORD_MACHINE */ | ||
| 41 | |||
| 42 | /* Now define a symbol for the cpu type, if your compiler | ||
| 43 | does not define it automatically: | ||
| 44 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 45 | orion, tahoe, APOLLO and many others */ | ||
| 46 | |||
| 47 | #ifndef gcx | ||
| 48 | #define gcx | ||
| 49 | #endif | ||
| 50 | |||
| 51 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 52 | /* This is desirable for most machines. */ | ||
| 53 | |||
| 54 | #define NO_UNION_TYPE | ||
| 55 | |||
| 56 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 57 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 58 | are always unsigned. | ||
| 59 | |||
| 60 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 61 | |||
| 62 | /* #define EXPLICIT_SIGN_EXTEND */ | ||
| 63 | |||
| 64 | /* Data type of load average, as read out of kmem. */ | ||
| 65 | |||
| 66 | #define LOAD_AVE_TYPE long | ||
| 67 | |||
| 68 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 69 | |||
| 70 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 71 | |||
| 72 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 73 | Then the function dump-emacs will not be defined | ||
| 74 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 75 | |||
| 76 | /* #define CANNOT_DUMP */ | ||
| 77 | |||
| 78 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 79 | pure and impure space as loaded can vary, and even their | ||
| 80 | relative order cannot be relied on. | ||
| 81 | |||
| 82 | Otherwise Emacs assumes that text space precedes data space, | ||
| 83 | numerically. */ | ||
| 84 | |||
| 85 | /* #define VIRT_ADDR_VARIES */ | ||
| 86 | |||
| 87 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 88 | to change the boundary between the text section and data section | ||
| 89 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 90 | code will not be sharable; but that's better than failing completely. */ | ||
| 91 | |||
| 92 | #define NO_REMAP | ||
| 93 | |||
| 94 | /* Some really obscure 4.2-based systems (like Sequent DYNIX) | ||
| 95 | * do not support asynchronous I/O (using SIGIO) on sockets, | ||
| 96 | * even though it works fine on tty's. If you have one of | ||
| 97 | * these systems, define the following, and then use it in | ||
| 98 | * config.h (or elsewhere) to decide when (not) to use SIGIO. | ||
| 99 | * | ||
| 100 | * You'd think this would go in an operating-system description file, | ||
| 101 | * but since it only occurs on some, but not all, BSD systems, the | ||
| 102 | * reasonable place to select for it is in the machine description | ||
| 103 | * file. | ||
| 104 | */ | ||
| 105 | |||
| 106 | /* #define NO_SOCK_SIGIO */ | ||
| 107 | |||
| 108 | /* arch-tag: 1529f2bc-50d9-42e7-ae72-6f40afadf09e | ||
| 109 | (do not change this comment) */ | ||
diff --git a/src/m/nh4000.h b/src/m/nh4000.h deleted file mode 100644 index 20fadb71e43..00000000000 --- a/src/m/nh4000.h +++ /dev/null | |||
| @@ -1,108 +0,0 @@ | |||
| 1 | /* machine description for Harris NightHawk 88k based machines | ||
| 2 | (includes nh4000 and nh5000 machines). | ||
| 3 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, | ||
| 4 | 2006, 2007 Free Software Foundation, Inc. | ||
| 5 | |||
| 6 | This file is part of GNU Emacs. | ||
| 7 | |||
| 8 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 3, or (at your option) | ||
| 11 | any later version. | ||
| 12 | |||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. */ | ||
| 22 | |||
| 23 | /* This file manually constructed for Harris Night Hawk 4000 (and 5000) | ||
| 24 | * series Motorola 88100 and 88110 based machines. | ||
| 25 | */ | ||
| 26 | |||
| 27 | /* The following line tells the configuration script what sort of | ||
| 28 | operating system this machine is likely to run. | ||
| 29 | USUAL-OPSYS="<name of system .h file here, without the s- or .h>" */ | ||
| 30 | |||
| 31 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 32 | * group of arguments and treat it as an array of the arguments. */ | ||
| 33 | |||
| 34 | #define NO_ARG_ARRAY | ||
| 35 | |||
| 36 | /* Define WORD_MACHINE if addresses and such have | ||
| 37 | * to be corrected before they can be used as byte counts. */ | ||
| 38 | |||
| 39 | /* #define WORD_MACHINE */ | ||
| 40 | |||
| 41 | /* Now define a symbol for the cpu type, if your compiler | ||
| 42 | does not define it automatically: | ||
| 43 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 44 | orion, tahoe, APOLLO and many others */ | ||
| 45 | |||
| 46 | #ifndef m88000 | ||
| 47 | #define m88000 | ||
| 48 | #endif | ||
| 49 | |||
| 50 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 51 | /* This is desirable for most machines. */ | ||
| 52 | |||
| 53 | #define NO_UNION_TYPE | ||
| 54 | |||
| 55 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 56 | the bit field into an int. In other words, if bit fields | ||
| 57 | are always unsigned. | ||
| 58 | |||
| 59 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 60 | |||
| 61 | /* #define EXPLICIT_SIGN_EXTEND */ | ||
| 62 | |||
| 63 | /* Data type of load average, as read out of kmem. */ | ||
| 64 | |||
| 65 | #define LOAD_AVE_TYPE long | ||
| 66 | |||
| 67 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 68 | |||
| 69 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 70 | |||
| 71 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 72 | Then the function dump-emacs will not be defined | ||
| 73 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 74 | |||
| 75 | /* #define CANNOT_DUMP */ | ||
| 76 | |||
| 77 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 78 | pure and impure space as loaded can vary, and even their | ||
| 79 | relative order cannot be relied on. | ||
| 80 | |||
| 81 | Otherwise Emacs assumes that text space precedes data space, | ||
| 82 | numerically. */ | ||
| 83 | |||
| 84 | /* #define VIRT_ADDR_VARIES */ | ||
| 85 | |||
| 86 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 87 | to change the boundary between the text section and data section | ||
| 88 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 89 | code will not be sharable; but that's better than failing completely. */ | ||
| 90 | |||
| 91 | #define NO_REMAP | ||
| 92 | |||
| 93 | /* Some really obscure 4.2-based systems (like Sequent DYNIX) | ||
| 94 | * do not support asynchronous I/O (using SIGIO) on sockets, | ||
| 95 | * even though it works fine on tty's. If you have one of | ||
| 96 | * these systems, define the following, and then use it in | ||
| 97 | * config.h (or elsewhere) to decide when (not) to use SIGIO. | ||
| 98 | * | ||
| 99 | * You'd think this would go in an operating-system description file, | ||
| 100 | * but since it only occurs on some, but not all, BSD systems, the | ||
| 101 | * reasonable place to select for it is in the machine description | ||
| 102 | * file. | ||
| 103 | */ | ||
| 104 | |||
| 105 | /* #define NO_SOCK_SIGIO */ | ||
| 106 | |||
| 107 | /* arch-tag: d9e12769-ae79-4c25-953f-70db5b7ef5dd | ||
| 108 | (do not change this comment) */ | ||
diff --git a/src/m/ns16000.h b/src/m/ns16000.h deleted file mode 100644 index 6feddd97610..00000000000 --- a/src/m/ns16000.h +++ /dev/null | |||
| @@ -1,95 +0,0 @@ | |||
| 1 | /* machine description file for ns16000. | ||
| 2 | Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="note" | ||
| 26 | |||
| 27 | NOTE-START | ||
| 28 | For the Encore, use `-opsystem=umax'. | ||
| 29 | For a Tektronix 16000 box (a 6130, perhaps?), use `-opsystem=bsd4-2'. | ||
| 30 | Use `-machine=ns16000' for both. | ||
| 31 | NOTE-END */ | ||
| 32 | |||
| 33 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 34 | is the most significant byte. */ | ||
| 35 | |||
| 36 | #undef WORDS_BIG_ENDIAN | ||
| 37 | |||
| 38 | /* Say this machine is a 16000 */ | ||
| 39 | |||
| 40 | #define ns16000 1 | ||
| 41 | |||
| 42 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 43 | |||
| 44 | #define NO_UNION_TYPE | ||
| 45 | |||
| 46 | /* Data type of load average, as read out of kmem. */ | ||
| 47 | |||
| 48 | #ifndef USG | ||
| 49 | #define LOAD_AVE_TYPE double | ||
| 50 | #endif | ||
| 51 | |||
| 52 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 53 | |||
| 54 | #ifndef USG | ||
| 55 | #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | ||
| 56 | #endif | ||
| 57 | |||
| 58 | #ifdef USG | ||
| 59 | |||
| 60 | /* Control assembler syntax used in alloca.s. */ | ||
| 61 | #define NS5 | ||
| 62 | |||
| 63 | /* On early NS systems ulimit was buggy. If set emacs uses this value | ||
| 64 | * for the maximum sbrk value instead of getting it from ulimit. | ||
| 65 | */ | ||
| 66 | #define ULIMIT_BREAK_VALUE 0x7E0000 | ||
| 67 | |||
| 68 | /* Early NS compilers have this bug. I believe it has been fixed in later | ||
| 69 | * releases. | ||
| 70 | */ | ||
| 71 | #define SHORT_CAST_BUG | ||
| 72 | |||
| 73 | #define SEGMENT_MASK (NBPS - 1) | ||
| 74 | |||
| 75 | /* Variables to get crt0.c to come out correctly */ | ||
| 76 | #define CRT0_DUMMIES bogus_fp, | ||
| 77 | #define DOT_GLOBAL_START | ||
| 78 | |||
| 79 | /* Control how emacsclient communicates. */ | ||
| 80 | #define HAVE_SYSVIPC | ||
| 81 | |||
| 82 | /* Set this to /bin/mail unless you have a better mail posting program */ | ||
| 83 | #define MAIL_PROGRAM_NAME "/usr/local/bin/remail" | ||
| 84 | |||
| 85 | /* Tell sysdep.c not to define bzero, etc. */ | ||
| 86 | #undef BSTRING | ||
| 87 | #define BSTRING | ||
| 88 | |||
| 89 | /* This avoids problems with uninitialized static variables going in .data. */ | ||
| 90 | #define static | ||
| 91 | |||
| 92 | #endif /* USG */ | ||
| 93 | |||
| 94 | /* arch-tag: 4210db3c-e35c-4b96-9399-1dbde3e00a57 | ||
| 95 | (do not change this comment) */ | ||
diff --git a/src/m/ns32000.h b/src/m/ns32000.h deleted file mode 100644 index b6484b4b219..00000000000 --- a/src/m/ns32000.h +++ /dev/null | |||
| @@ -1,102 +0,0 @@ | |||
| 1 | /* machine description file for National Semiconductor 32000, running Genix. | ||
| 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | /* The following line tells the configuration script what sort of | ||
| 25 | operating system this machine is likely to run. | ||
| 26 | USUAL-OPSYS="usg5-2" */ | ||
| 27 | |||
| 28 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 29 | is the most significant byte. */ | ||
| 30 | |||
| 31 | #undef WORDS_BIG_ENDIAN | ||
| 32 | |||
| 33 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 34 | * group of arguments and treat it as an array of the arguments. */ | ||
| 35 | |||
| 36 | /* #define NO_ARG_ARRAY */ | ||
| 37 | |||
| 38 | /* Define WORD_MACHINE if addresses and such have | ||
| 39 | * to be corrected before they can be used as byte counts. */ | ||
| 40 | |||
| 41 | /* #define WORD_MACHINE */ | ||
| 42 | |||
| 43 | /* Now define a symbol for the cpu type, if your compiler | ||
| 44 | does not define it automatically: | ||
| 45 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 46 | orion, tahoe, APOLLO and many others */ | ||
| 47 | |||
| 48 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 49 | /* This is desirable for most machines. */ | ||
| 50 | |||
| 51 | #define NO_UNION_TYPE | ||
| 52 | |||
| 53 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 54 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 55 | are always unsigned. | ||
| 56 | |||
| 57 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 58 | |||
| 59 | #define EXPLICIT_SIGN_EXTEND | ||
| 60 | |||
| 61 | /* Data type of load average, as read out of kmem. */ | ||
| 62 | |||
| 63 | /* #define LOAD_AVE_TYPE long */ | ||
| 64 | |||
| 65 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 66 | |||
| 67 | /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ | ||
| 68 | |||
| 69 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 70 | Then the function dump-emacs will not be defined | ||
| 71 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 72 | |||
| 73 | /* #define CANNOT_DUMP */ | ||
| 74 | |||
| 75 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 76 | pure and impure space as loaded can vary, and even their | ||
| 77 | relative order cannot be relied on. | ||
| 78 | |||
| 79 | Otherwise Emacs assumes that text space precedes data space, | ||
| 80 | numerically. */ | ||
| 81 | |||
| 82 | /* #define VIRT_ADDR_VARIES */ | ||
| 83 | |||
| 84 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 85 | to change the boundary between the text section and data section | ||
| 86 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 87 | code will not be sharable; but that's better than failing completely. */ | ||
| 88 | |||
| 89 | /* #define NO_REMAP */ | ||
| 90 | |||
| 91 | #define TEXT_START 0 | ||
| 92 | |||
| 93 | #if !defined (__NetBSD__) && !defined (__OpenBSD__) | ||
| 94 | #define EXEC_MAGIC 0410 | ||
| 95 | |||
| 96 | #define PURESIZE 140000 | ||
| 97 | |||
| 98 | #define START_FILES pre-crt0.o /lib/crt0.o | ||
| 99 | #endif | ||
| 100 | |||
| 101 | /* arch-tag: 13dde0e0-8ed5-4bc3-a0dc-5456c9db5f94 | ||
| 102 | (do not change this comment) */ | ||
diff --git a/src/m/nu.h b/src/m/nu.h deleted file mode 100644 index 279d14ff915..00000000000 --- a/src/m/nu.h +++ /dev/null | |||
| @@ -1,75 +0,0 @@ | |||
| 1 | /* machine description file for TI Nu machines using system V. | ||
| 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="usg5-2" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* XINT must explicitly sign-extend */ | ||
| 33 | |||
| 34 | #define EXPLICIT_SIGN_EXTEND | ||
| 35 | |||
| 36 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 37 | |||
| 38 | #define NO_UNION_TYPE | ||
| 39 | |||
| 40 | /* Now define a symbol for the cpu type, if your compiler | ||
| 41 | does not define it automatically: | ||
| 42 | vax, m68000, ns16000 are the ones defined so far. */ | ||
| 43 | |||
| 44 | #ifndef m68000 | ||
| 45 | #define m68000 | ||
| 46 | #endif | ||
| 47 | |||
| 48 | #ifndef NU | ||
| 49 | #define NU | ||
| 50 | #endif | ||
| 51 | |||
| 52 | /* Data type of load average, as read out of kmem. */ | ||
| 53 | /* These are commented out since it does not really work in uniplus */ | ||
| 54 | |||
| 55 | /* #define LOAD_AVE_TYPE long */ | ||
| 56 | |||
| 57 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 58 | |||
| 59 | /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */ | ||
| 60 | |||
| 61 | /* Change some things to avoid bugs in compiler */ | ||
| 62 | |||
| 63 | #define SWITCH_ENUM_BUG 1 | ||
| 64 | |||
| 65 | /* The NU machine has a compiler that can handle long names. */ | ||
| 66 | |||
| 67 | #undef SHORTNAMES | ||
| 68 | |||
| 69 | /* Specify alignment requirement for start of text and data sections | ||
| 70 | in the executable file. */ | ||
| 71 | |||
| 72 | #define SECTION_ALIGNMENT pagemask | ||
| 73 | |||
| 74 | /* arch-tag: 7d2d9b6d-75d4-4c0d-96a9-a41f06212f35 | ||
| 75 | (do not change this comment) */ | ||
diff --git a/src/m/orion.h b/src/m/orion.h deleted file mode 100644 index cc3a7e395fc..00000000000 --- a/src/m/orion.h +++ /dev/null | |||
| @@ -1,70 +0,0 @@ | |||
| 1 | /* machine description file for HLH Orion. | ||
| 2 | Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="bsd4-2" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #undef WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Now define a symbol for the cpu type, if your compiler | ||
| 33 | does not define it automatically. */ | ||
| 34 | |||
| 35 | #ifndef orion | ||
| 36 | #define orion | ||
| 37 | #endif | ||
| 38 | |||
| 39 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 40 | * group of arguments and treat it as an array of the arguments. */ | ||
| 41 | |||
| 42 | #define NO_ARG_ARRAY | ||
| 43 | |||
| 44 | /* Define WORD_MACHINE if addresses and such have | ||
| 45 | * to be corrected before they can be used as byte counts. */ | ||
| 46 | |||
| 47 | #define WORD_MACHINE | ||
| 48 | |||
| 49 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 50 | /* This is desirable for most machines. */ | ||
| 51 | |||
| 52 | #define NO_UNION_TYPE | ||
| 53 | |||
| 54 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend */ | ||
| 55 | |||
| 56 | #define EXPLICIT_SIGN_EXTEND | ||
| 57 | |||
| 58 | /* Data type of load average, as read out of kmem. */ | ||
| 59 | |||
| 60 | #define LOAD_AVE_TYPE double | ||
| 61 | |||
| 62 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 63 | |||
| 64 | #ifndef FSCALE | ||
| 65 | #define FSCALE 1.0 | ||
| 66 | #endif | ||
| 67 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 68 | |||
| 69 | /* arch-tag: 4fcf38ad-d6b0-434b-bc10-16647d5a7fb6 | ||
| 70 | (do not change this comment) */ | ||
diff --git a/src/m/orion105.h b/src/m/orion105.h deleted file mode 100644 index fabcf67e2a9..00000000000 --- a/src/m/orion105.h +++ /dev/null | |||
| @@ -1,72 +0,0 @@ | |||
| 1 | /* machine description file for HLH Orion 1/05 (Clipper). | ||
| 2 | Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | Lee McLoughlin <lmjm%doc.imperial.ac.uk@nss.cs.ucl.ac.uk> | ||
| 5 | |||
| 6 | This file is part of GNU Emacs. | ||
| 7 | |||
| 8 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 3, or (at your option) | ||
| 11 | any later version. | ||
| 12 | |||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. */ | ||
| 22 | |||
| 23 | |||
| 24 | /* The following line tells the configuration script what sort of | ||
| 25 | operating system this machine is likely to run. | ||
| 26 | USUAL-OPSYS="bsd4-2" */ | ||
| 27 | |||
| 28 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 29 | is the most significant byte. */ | ||
| 30 | |||
| 31 | #undef WORDS_BIG_ENDIAN | ||
| 32 | |||
| 33 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 34 | * group of arguments and treat it as an array of the arguments. */ | ||
| 35 | |||
| 36 | #define NO_ARG_ARRAY | ||
| 37 | |||
| 38 | /* Define WORD_MACHINE if addresses and such have | ||
| 39 | * to be corrected before they can be used as byte counts. */ | ||
| 40 | |||
| 41 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 42 | /* This is desirable for most machines. */ | ||
| 43 | |||
| 44 | #define NO_UNION_TYPE | ||
| 45 | |||
| 46 | /* Data type of load average, as read out of kmem. */ | ||
| 47 | /* This used to be `double'. */ | ||
| 48 | |||
| 49 | #define LOAD_AVE_TYPE long | ||
| 50 | |||
| 51 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 52 | |||
| 53 | /* This used to be 1.0. */ | ||
| 54 | #ifndef FSCALE | ||
| 55 | #define FSCALE 256 | ||
| 56 | #endif | ||
| 57 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 58 | |||
| 59 | /* HLH have a SIGWINCH defined (but unimplemented) so we need a sigmask */ | ||
| 60 | #ifndef sigmask | ||
| 61 | #define sigmask(m) (1 << ((m) - 1)) | ||
| 62 | #endif | ||
| 63 | |||
| 64 | /* Here is where programs actually start running */ | ||
| 65 | #define TEXT_START 0x8000 | ||
| 66 | #define LD_TEXT_START_ADDR 8000 | ||
| 67 | |||
| 68 | /* Arguments to ignore before argc in crt0.c. */ | ||
| 69 | #define DUMMIES dummy1, dummy2, | ||
| 70 | |||
| 71 | /* arch-tag: 32fed6e3-8cae-4882-b327-a68c2af6db7a | ||
| 72 | (do not change this comment) */ | ||
diff --git a/src/m/paragon.h b/src/m/paragon.h deleted file mode 100644 index 11b98dea7ee..00000000000 --- a/src/m/paragon.h +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | /* m/ file for Paragon i860 machine. */ | ||
| 2 | |||
| 3 | #include "i860.h" | ||
| 4 | #define COFF | ||
| 5 | #define SYSTEM_MALLOC | ||
| 6 | #define TEXT_START 0x10000 | ||
| 7 | #define LIB_STANDARD -lc -lic -lmach | ||
| 8 | #define KEEP_OLD_TEXT_SCNPTR | ||
| 9 | #define KEEP_OLD_PADDR | ||
| 10 | #define drem fmod | ||
| 11 | |||
| 12 | /* arch-tag: c1bc280c-25e5-4993-9b91-333c52ab3674 | ||
| 13 | (do not change this comment) */ | ||
diff --git a/src/m/pfa50.h b/src/m/pfa50.h deleted file mode 100644 index 5f98dc993c7..00000000000 --- a/src/m/pfa50.h +++ /dev/null | |||
| @@ -1,93 +0,0 @@ | |||
| 1 | /* Machine description file for PFU A-series. | ||
| 2 | Copyright (C) 1988, 1999, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 24 | is the most significant byte. */ | ||
| 25 | |||
| 26 | #define WORDS_BIG_ENDIAN | ||
| 27 | |||
| 28 | /* Say this machine is a 68000 */ | ||
| 29 | |||
| 30 | #define m68000 | ||
| 31 | #define mc68000 1 | ||
| 32 | |||
| 33 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 34 | |||
| 35 | #define NO_UNION_TYPE | ||
| 36 | |||
| 37 | /* XINT must explicitly sign-extend */ | ||
| 38 | |||
| 39 | #define EXPLICIT_SIGN_EXTEND | ||
| 40 | |||
| 41 | /* The symbol FIONREAD is defined, but the feature does not work. */ | ||
| 42 | |||
| 43 | #define BROKEN_FIONREAD | ||
| 44 | |||
| 45 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 46 | to change the boundary between the text section and data section | ||
| 47 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 48 | code will not be sharable; but that's better than failing completely. */ | ||
| 49 | |||
| 50 | #define NO_REMAP | ||
| 51 | |||
| 52 | /* Define TEXT_START_ADDR if your linker don't set execute point to _start. | ||
| 53 | If it needed, temacs always CORE-DUMP. */ | ||
| 54 | |||
| 55 | #define TEXT_START_ADDR __start | ||
| 56 | |||
| 57 | /* Define START_FILES if your machine used _start. | ||
| 58 | */ | ||
| 59 | |||
| 60 | #define START_FILES crt0.o | ||
| 61 | |||
| 62 | /* Define LD_SWITCH_MACHINE if your linker needs it. | ||
| 63 | */ | ||
| 64 | |||
| 65 | #define LD_SWITCH_MACHINE -e __start | ||
| 66 | |||
| 67 | #if pfa50 || pfa70 | ||
| 68 | /* On A-50/60/70/80, data space has high order byte use. */ | ||
| 69 | #define DATA_SEG_BITS 0x60000000 | ||
| 70 | #endif /* pfa50, pfa70 */ | ||
| 71 | |||
| 72 | /* SX/A has alloca in the PW library. */ | ||
| 73 | |||
| 74 | #define LIB_STANDARD -lPW -lc | ||
| 75 | |||
| 76 | /* SX/A uses terminfo and lib/curses */ | ||
| 77 | |||
| 78 | #define TERMINFO | ||
| 79 | |||
| 80 | #define HAVE_PTYS | ||
| 81 | #define HAVE_SOCKETS | ||
| 82 | |||
| 83 | /* SX/A use SystemV style getdents/readdir. */ | ||
| 84 | |||
| 85 | /* SX/A does not have sigblock(2) */ | ||
| 86 | #define sigblock(mask) (0) | ||
| 87 | |||
| 88 | #define NO_SIOCTL_H | ||
| 89 | |||
| 90 | #define BROKEN_SIGIO | ||
| 91 | |||
| 92 | /* arch-tag: f3a127d5-790b-4c78-b6be-837139fb12c4 | ||
| 93 | (do not change this comment) */ | ||
diff --git a/src/m/plexus.h b/src/m/plexus.h deleted file mode 100644 index 51961977904..00000000000 --- a/src/m/plexus.h +++ /dev/null | |||
| @@ -1,109 +0,0 @@ | |||
| 1 | /* machine description file for the Plexus running System V.2. | ||
| 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="usg5-2" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 33 | * group of arguments and treat it as an array of the arguments. */ | ||
| 34 | |||
| 35 | #undef NO_ARG_ARRAY | ||
| 36 | |||
| 37 | /* Define WORD_MACHINE if addresses and such have | ||
| 38 | * to be corrected before they can be used as byte counts. */ | ||
| 39 | |||
| 40 | #undef WORD_MACHINE | ||
| 41 | |||
| 42 | /* Now define a symbol for the cpu type, if your compiler | ||
| 43 | does not define it automatically: | ||
| 44 | vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO | ||
| 45 | are the ones defined so far. */ | ||
| 46 | /* Plexus predefines m68 instead of m68000. */ | ||
| 47 | #define m68000 m68 | ||
| 48 | |||
| 49 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 50 | /* This is desirable for most machines. */ | ||
| 51 | |||
| 52 | #define NO_UNION_TYPE | ||
| 53 | |||
| 54 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 55 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 56 | are always unsigned. | ||
| 57 | |||
| 58 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 59 | |||
| 60 | #undef EXPLICIT_SIGN_EXTEND | ||
| 61 | |||
| 62 | /* Data type of load average, as read out of kmem. */ | ||
| 63 | |||
| 64 | #undef LOAD_AVE_TYPE | ||
| 65 | |||
| 66 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 67 | |||
| 68 | #undef LOAD_AVE_CVT | ||
| 69 | |||
| 70 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 71 | Then the function dump-emacs will not be defined | ||
| 72 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 73 | |||
| 74 | #undef CANNOT_DUMP | ||
| 75 | |||
| 76 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 77 | pure and impure space as loaded can vary, and even their | ||
| 78 | relative order cannot be relied on. | ||
| 79 | |||
| 80 | Otherwise Emacs assumes that text space precedes data space, | ||
| 81 | numerically. */ | ||
| 82 | |||
| 83 | #undef VIRT_ADDR_VARIES | ||
| 84 | |||
| 85 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 86 | to change the boundary between the text section and data section | ||
| 87 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 88 | code will not be sharable; but that's better than failing completely. */ | ||
| 89 | |||
| 90 | #undef NO_REMAP | ||
| 91 | |||
| 92 | /* Use the following on ld so we can use the gnu crt0 | ||
| 93 | The plexus ld looks for start */ | ||
| 94 | #define LD_SWITCH_MACHINE -e __start | ||
| 95 | |||
| 96 | /* Use the PW library, which contains alloca. */ | ||
| 97 | |||
| 98 | #define LIB_STANDARD -lPW -lc | ||
| 99 | |||
| 100 | /* crt0.c should use the vax-bsd style of entry, with no dummy args. */ | ||
| 101 | |||
| 102 | #define CRT0_DUMMIES zero1, zero2, | ||
| 103 | |||
| 104 | /* This triggers some stuff to avoid a compiler bug */ | ||
| 105 | |||
| 106 | #define TAHOE_REGISTER_BUG | ||
| 107 | |||
| 108 | /* arch-tag: 78c607eb-b4f8-4750-b575-39670d979448 | ||
| 109 | (do not change this comment) */ | ||
diff --git a/src/m/pyramid.h b/src/m/pyramid.h deleted file mode 100644 index 1b834c60ba0..00000000000 --- a/src/m/pyramid.h +++ /dev/null | |||
| @@ -1,67 +0,0 @@ | |||
| 1 | /* machine description file for pyramid. | ||
| 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="bsd4-2" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 33 | * group of arguments and treat it as an array of the arguments. */ | ||
| 34 | |||
| 35 | #ifdef __GNUC__ | ||
| 36 | #define NO_ARG_ARRAY | ||
| 37 | #endif | ||
| 38 | |||
| 39 | /* XINT must explicitly sign extend */ | ||
| 40 | |||
| 41 | #define EXPLICIT_SIGN_EXTEND | ||
| 42 | |||
| 43 | /* pyramid preprocessor defines "pyr", however the following is clearer */ | ||
| 44 | #define pyramid | ||
| 45 | |||
| 46 | /* Don't use the union types any more. They were used until Emacs 17.45. */ | ||
| 47 | |||
| 48 | #define NO_UNION_TYPE | ||
| 49 | |||
| 50 | /* Data type of load average, as read out of kmem. */ | ||
| 51 | |||
| 52 | #define LOAD_AVE_TYPE double | ||
| 53 | |||
| 54 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 55 | |||
| 56 | #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | ||
| 57 | |||
| 58 | /* Don't use the ordinary -g for debugging in cc */ | ||
| 59 | |||
| 60 | #define C_DEBUG_SWITCH -gx | ||
| 61 | |||
| 62 | /* Reenable this #define for old versions of the Pyramid system. */ | ||
| 63 | |||
| 64 | /* #define PYRAMID_OLD */ | ||
| 65 | |||
| 66 | /* arch-tag: b9097bc9-92be-46d4-acb1-13c2b966d581 | ||
| 67 | (do not change this comment) */ | ||
diff --git a/src/m/pyrmips.h b/src/m/pyrmips.h deleted file mode 100644 index 67705fb6619..00000000000 --- a/src/m/pyrmips.h +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | /* Configuration file for the Pyramid machine that uses the MIPS cpu. */ | ||
| 2 | /* This does not fully work. */ | ||
| 3 | |||
| 4 | #include "m-pyramid.h" | ||
| 5 | |||
| 6 | #define SYSTEM_MALLOC | ||
| 7 | #define CANNOT_DUMP | ||
| 8 | |||
| 9 | /* arch-tag: 82559148-25a8-466d-bbb3-f903f7666b7a | ||
| 10 | (do not change this comment) */ | ||
diff --git a/src/m/sh3el.h b/src/m/sh3el.h deleted file mode 100644 index 77f6dc12c23..00000000000 --- a/src/m/sh3el.h +++ /dev/null | |||
| @@ -1,106 +0,0 @@ | |||
| 1 | /* machine description file for sh3el | ||
| 2 | Copyright (C) 1985, 1986, 2006, 2007 Free Software Foundation, Inc. | ||
| 3 | |||
| 4 | This file is part of GNU Emacs. | ||
| 5 | |||
| 6 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 7 | it under the terms of the GNU General Public License as published by | ||
| 8 | the Free Software Foundation; either version 3, or (at your option) | ||
| 9 | any later version. | ||
| 10 | |||
| 11 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | GNU General Public License for more details. | ||
| 15 | |||
| 16 | You should have received a copy of the GNU General Public License | ||
| 17 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 18 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
| 19 | Boston, MA 02111-1307, USA. */ | ||
| 20 | |||
| 21 | |||
| 22 | /* The following line tells the configuration script what sort of | ||
| 23 | operating system this machine is likely to run. | ||
| 24 | USUAL-OPSYS="<name of system .h file here, without the s- or .h>" */ | ||
| 25 | |||
| 26 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 27 | is the most significant byte. */ | ||
| 28 | |||
| 29 | #undef WORDS_BIG_ENDIAN | ||
| 30 | |||
| 31 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 32 | * group of arguments and treat it as an array of the arguments. */ | ||
| 33 | |||
| 34 | #define NO_ARG_ARRAY | ||
| 35 | |||
| 36 | /* Define WORD_MACHINE if addresses and such have | ||
| 37 | * to be corrected before they can be used as byte counts. */ | ||
| 38 | |||
| 39 | #undef WORD_MACHINE | ||
| 40 | |||
| 41 | /* Now define a symbol for the cpu type, if your compiler | ||
| 42 | does not define it automatically: | ||
| 43 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 44 | orion, tahoe, APOLLO and many others */ | ||
| 45 | |||
| 46 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 47 | /* This is desirable for most machines. */ | ||
| 48 | |||
| 49 | #define NO_UNION_TYPE | ||
| 50 | |||
| 51 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 52 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 53 | are always unsigned. | ||
| 54 | |||
| 55 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 56 | |||
| 57 | #define EXPLICIT_SIGN_EXTEND | ||
| 58 | |||
| 59 | /* Data type of load average, as read out of kmem. */ | ||
| 60 | |||
| 61 | #define LOAD_AVE_TYPE long | ||
| 62 | |||
| 63 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 64 | |||
| 65 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 66 | |||
| 67 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 68 | Then the function dump-emacs will not be defined | ||
| 69 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 70 | |||
| 71 | #undef CANNOT_DUMP | ||
| 72 | |||
| 73 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 74 | pure and impure space as loaded can vary, and even their | ||
| 75 | relative order cannot be relied on. | ||
| 76 | |||
| 77 | Otherwise Emacs assumes that text space precedes data space, | ||
| 78 | numerically. */ | ||
| 79 | |||
| 80 | #define VIRT_ADDR_VARIES | ||
| 81 | |||
| 82 | /* Define HAVE_ALLOCA to say that the system provides a properly | ||
| 83 | working alloca function and it should be used. | ||
| 84 | Undefine it if an assembler-language alloca | ||
| 85 | in the file alloca.s should be used. */ | ||
| 86 | |||
| 87 | #define HAVE_ALLOCA | ||
| 88 | |||
| 89 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 90 | to change the boundary between the text section and data section | ||
| 91 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 92 | code will not be sharable; but that's better than failing completely. */ | ||
| 93 | |||
| 94 | #define NO_REMAP | ||
| 95 | |||
| 96 | /* After adding support for a new system, modify the large case | ||
| 97 | statement in the `configure' script to recognize reasonable | ||
| 98 | configuration names, and add a description of the system to | ||
| 99 | `etc/MACHINES'. | ||
| 100 | |||
| 101 | If you've just fixed a problem in an existing configuration file, | ||
| 102 | you should also check `etc/MACHINES' to make sure its descriptions | ||
| 103 | of known problems in that configuration should be updated. */ | ||
| 104 | |||
| 105 | /* arch-tag: ee325990-6f40-47a2-b9df-60ecf3599899 | ||
| 106 | (do not change this comment) */ | ||
diff --git a/src/m/sps7.h b/src/m/sps7.h deleted file mode 100644 index 67fc60c1b6a..00000000000 --- a/src/m/sps7.h +++ /dev/null | |||
| @@ -1,118 +0,0 @@ | |||
| 1 | /* machine description file for Bull SPS-7. | ||
| 2 | Copyright (C) 1986, 1999, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="usg5-2" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Say this machine is a 68000 */ | ||
| 33 | |||
| 34 | #ifndef m68000 | ||
| 35 | #define m68000 | ||
| 36 | #endif | ||
| 37 | |||
| 38 | #define sps7 | ||
| 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 | /* Suspect there is something weird about this machine, so turn it off. */ | ||
| 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) */ | ||
| 56 | |||
| 57 | #define SMX | ||
| 58 | #define V3x | ||
| 59 | |||
| 60 | /* | ||
| 61 | * Define HAVE_PTYS if the system supports pty devices. | ||
| 62 | */ | ||
| 63 | |||
| 64 | #define HAVE_PTYS | ||
| 65 | |||
| 66 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | ||
| 67 | |||
| 68 | #define HAVE_SOCKETS | ||
| 69 | |||
| 70 | /* Have the socketpair call | ||
| 71 | */ | ||
| 72 | |||
| 73 | #define SKTPAIR | ||
| 74 | |||
| 75 | /* Define CLASH_DETECTION if you want lock files to be written | ||
| 76 | so that Emacs can tell instantly when you try to modify | ||
| 77 | a file that someone else has modified in his Emacs. */ | ||
| 78 | |||
| 79 | #define CLASH_DETECTION | ||
| 80 | |||
| 81 | /* Use Berkeley style interface to nlist */ | ||
| 82 | |||
| 83 | #define NLIST_STRUCT | ||
| 84 | |||
| 85 | /* Define this to cause -N to be passed to ld. This is needed | ||
| 86 | * in uniplus because of its funny memory space layout. | ||
| 87 | * SMX--If you are using 32 bit (COFF) use "-N", else don't use anything. | ||
| 88 | */ | ||
| 89 | |||
| 90 | #define LD_SWITCH_MACHINE -N -T32 -e __start | ||
| 91 | |||
| 92 | /* If you are compiling for a 68020, then use -lc32 else use -lc */ | ||
| 93 | |||
| 94 | #define LIB_STANDARD -lc32 | ||
| 95 | |||
| 96 | /* Fore 16 bit, -linet, for 32 bit -linet32 (be sure you have it!). */ | ||
| 97 | |||
| 98 | #define LIBS_MACHINE -linet32 | ||
| 99 | |||
| 100 | /* Use -T32 for 68020, -T16 otherwise */ | ||
| 101 | |||
| 102 | #define C_SWITCH_MACHINE -T32 | ||
| 103 | |||
| 104 | #define BROKEN_SIGIO | ||
| 105 | |||
| 106 | /* Other than 68020 use ld16, as32, or undefine (defaults ld and as). */ | ||
| 107 | |||
| 108 | #define ASS as32 | ||
| 109 | |||
| 110 | #ifdef V3x | ||
| 111 | #define EXEC_MAGIC 0x10b | ||
| 112 | #define SEGMENT_MASK (NBPS-1) | ||
| 113 | #define ADJUST_EXEC_HEADER f_hdr.f_magic = SMROMAGIC;\ | ||
| 114 | f_ohdr.stsize = 0; | ||
| 115 | #endif | ||
| 116 | |||
| 117 | /* arch-tag: 2240f71c-6f3b-4a82-80fc-4d56c682d7ad | ||
| 118 | (do not change this comment) */ | ||
diff --git a/src/m/sr2k.h b/src/m/sr2k.h deleted file mode 100644 index 6c17795e058..00000000000 --- a/src/m/sr2k.h +++ /dev/null | |||
| @@ -1,160 +0,0 @@ | |||
| 1 | /* machine description file for Hitachi SR2001/SR2201 machines. | ||
| 2 | Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="hpux" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 33 | * group of arguments and treat it as an array of the arguments. */ | ||
| 34 | |||
| 35 | #define NO_ARG_ARRAY | ||
| 36 | |||
| 37 | /* Define WORD_MACHINE if addresses and such have | ||
| 38 | * to be corrected before they can be used as byte counts. */ | ||
| 39 | |||
| 40 | #undef WORD_MACHINE | ||
| 41 | |||
| 42 | /* Now define a symbol for the cpu type, if your compiler | ||
| 43 | does not define it automatically: | ||
| 44 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 45 | orion, tahoe, APOLLO and many others */ | ||
| 46 | #ifndef hp9000s800 | ||
| 47 | # define hp9000s800 | ||
| 48 | #endif | ||
| 49 | |||
| 50 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 51 | /* This is desirable for most machines. */ | ||
| 52 | |||
| 53 | #define NO_UNION_TYPE | ||
| 54 | |||
| 55 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 56 | the bit field into an int. In other words, if bit fields | ||
| 57 | are always unsigned. | ||
| 58 | |||
| 59 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 60 | |||
| 61 | #define EXPLICIT_SIGN_EXTEND | ||
| 62 | |||
| 63 | /* The standard definitions of these macros would work ok, | ||
| 64 | but these are faster because the constants are short. */ | ||
| 65 | |||
| 66 | |||
| 67 | #define XUINT(a) (((unsigned)(a) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS) | ||
| 68 | |||
| 69 | #define XSET(var, type, ptr) \ | ||
| 70 | ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS)) | ||
| 71 | |||
| 72 | /* #ifdef __hpux */ | ||
| 73 | /* Now define a symbol for the cpu type, if your compiler | ||
| 74 | does not define it automatically: | ||
| 75 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 76 | orion, tahoe, APOLLO and many others */ | ||
| 77 | |||
| 78 | #ifndef hp9000s800 | ||
| 79 | # define hp9000s800 | ||
| 80 | #endif | ||
| 81 | |||
| 82 | |||
| 83 | /* Data type of load average, as read out of kmem. */ | ||
| 84 | |||
| 85 | #define LOAD_AVE_TYPE double | ||
| 86 | |||
| 87 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 88 | |||
| 89 | #define LOAD_AVE_CVT(x) ((int) (x * 100.0)) | ||
| 90 | |||
| 91 | |||
| 92 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 93 | Then the function dump-emacs will not be defined | ||
| 94 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 95 | |||
| 96 | #undef CANNOT_DUMP | ||
| 97 | |||
| 98 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 99 | pure and impure space as loaded can vary, and even their | ||
| 100 | relative order cannot be relied on. | ||
| 101 | |||
| 102 | Otherwise Emacs assumes that text space precedes data space, | ||
| 103 | numerically. */ | ||
| 104 | |||
| 105 | #define VIRT_ADDR_VARIES | ||
| 106 | |||
| 107 | /* the data segment on this machine always starts at address 0x40000000. */ | ||
| 108 | |||
| 109 | #define DATA_SEG_BITS 0x40000000 | ||
| 110 | |||
| 111 | #define DATA_START 0x40000000 | ||
| 112 | #define TEXT_START 0x00000000 | ||
| 113 | |||
| 114 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 115 | to change the boundary between the text section and data section | ||
| 116 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 117 | code will not be sharable; but that's better than failing completely. */ | ||
| 118 | |||
| 119 | #define NO_REMAP | ||
| 120 | |||
| 121 | /* This machine requires completely different unexec code | ||
| 122 | which lives in a separate file. Specify the file name. */ | ||
| 123 | |||
| 124 | #define UNEXEC unexhp9k800.o | ||
| 125 | |||
| 126 | #define LIBS_MACHINE | ||
| 127 | #define LIBS_DEBUG | ||
| 128 | |||
| 129 | /* Include the file bsdtty.h, since this machine has job control. */ | ||
| 130 | /* #define NEED_BSDTTY */ | ||
| 131 | |||
| 132 | /* The symbol in the kernel where the load average is found | ||
| 133 | is named _avenrun. At this time there are two major flavors | ||
| 134 | of hp-ux (there is the s800 and s300 (s200) flavors). The | ||
| 135 | differences are thusly moved to the corresponding machine description file. | ||
| 136 | */ | ||
| 137 | |||
| 138 | /* no underscore please */ | ||
| 139 | #define LDAV_SYMBOL "avenrun" | ||
| 140 | |||
| 141 | #if 0 /* Supposedly no longer true. */ | ||
| 142 | /* In hpux, for unknown reasons, S_IFLNK is defined even though | ||
| 143 | symbolic links do not exist. | ||
| 144 | Make sure our conditionals based on S_IFLNK are not confused. | ||
| 145 | |||
| 146 | Here we assume that stat.h is included before config.h | ||
| 147 | so that we can override it here. */ | ||
| 148 | |||
| 149 | #undef S_IFLNK | ||
| 150 | #endif | ||
| 151 | |||
| 152 | /* On USG systems these have different names. */ | ||
| 153 | |||
| 154 | #define index strchr | ||
| 155 | #define rindex strrchr | ||
| 156 | |||
| 157 | /* #endif */ | ||
| 158 | |||
| 159 | /* arch-tag: 4ced5b51-ffe6-4be1-9954-eb40657023a5 | ||
| 160 | (do not change this comment) */ | ||
diff --git a/src/m/stride.h b/src/m/stride.h deleted file mode 100644 index d846a6c9843..00000000000 --- a/src/m/stride.h +++ /dev/null | |||
| @@ -1,121 +0,0 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Stride Micro System-V.2.2 | ||
| 2 | Copyright (C) 1985, 1986, 1999, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="usg5-2" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 33 | * group of arguments and treat it as an array of the arguments. */ | ||
| 34 | |||
| 35 | #undef NO_ARG_ARRAY | ||
| 36 | |||
| 37 | /* Define WORD_MACHINE if addresses and such have | ||
| 38 | * to be corrected before they can be used as byte counts. */ | ||
| 39 | |||
| 40 | #undef WORD_MACHINE | ||
| 41 | |||
| 42 | /* Now define a symbol for the cpu type, if your compiler | ||
| 43 | does not define it automatically: | ||
| 44 | vax, m68000, ns16000, pyramid, orion, tahoe, APOLLO and STRIDE | ||
| 45 | are the ones defined so far. */ | ||
| 46 | |||
| 47 | #define m68000 /* because the SGS compiler defines "m68k" */ | ||
| 48 | #ifndef STRIDE | ||
| 49 | #define STRIDE | ||
| 50 | #endif | ||
| 51 | |||
| 52 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 53 | /* This is desirable for most machines. */ | ||
| 54 | |||
| 55 | #define NO_UNION_TYPE | ||
| 56 | |||
| 57 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 58 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 59 | are always unsigned. | ||
| 60 | |||
| 61 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 62 | |||
| 63 | #define EXPLICIT_SIGN_EXTEND | ||
| 64 | |||
| 65 | /* Data type of load average, as read out of kmem. */ | ||
| 66 | |||
| 67 | #define LOAD_AVE_TYPE double | ||
| 68 | |||
| 69 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 70 | |||
| 71 | #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | ||
| 72 | |||
| 73 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 74 | Then the function dump-emacs will not be defined | ||
| 75 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 76 | |||
| 77 | #undef CANNOT_DUMP | ||
| 78 | |||
| 79 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 80 | pure and impure space as loaded can vary, and even their | ||
| 81 | relative order cannot be relied on. | ||
| 82 | |||
| 83 | Otherwise Emacs assumes that text space precedes data space, | ||
| 84 | numerically. */ | ||
| 85 | |||
| 86 | #undef VIRT_ADDR_VARIES | ||
| 87 | |||
| 88 | /* The STRIDE system is more powerful than standard USG5. */ | ||
| 89 | |||
| 90 | #define HAVE_PTYS | ||
| 91 | #define BSTRING | ||
| 92 | #define SKTPAIR | ||
| 93 | #define HAVE_SOCKETS | ||
| 94 | |||
| 95 | #define MAIL_USE_FLOCK | ||
| 96 | #undef TERMINFO | ||
| 97 | #define EXEC_MAGIC 0413 | ||
| 98 | |||
| 99 | /* USG wins again: Foo! I can't get SIGIO to work properly on the Stride, because I'm | ||
| 100 | running a System V variant, and don't have a reliable way to block SIGIO | ||
| 101 | signals without losing them. So, I've gone back to non-SIGIO mode, so | ||
| 102 | please append this line to the file "stride.h": | ||
| 103 | */ | ||
| 104 | #define BROKEN_SIGIO | ||
| 105 | |||
| 106 | /* Specify alignment requirement for start of text and data sections | ||
| 107 | in the executable file. */ | ||
| 108 | |||
| 109 | #define SECTION_ALIGNMENT (getpagesize() - 1) | ||
| 110 | |||
| 111 | /* | ||
| 112 | * UniStride has this in /lib/libc.a. | ||
| 113 | */ | ||
| 114 | #undef NONSYSTEM_DIR_LIBRARY | ||
| 115 | |||
| 116 | /* Define this macro if system defines a type `union wait'. */ | ||
| 117 | |||
| 118 | #define HAVE_UNION_WAIT | ||
| 119 | |||
| 120 | /* arch-tag: 65c635ed-5bc7-4ace-ab20-f3442429c8ba | ||
| 121 | (do not change this comment) */ | ||
diff --git a/src/m/sun1.h b/src/m/sun1.h deleted file mode 100644 index 03cb4e803ff..00000000000 --- a/src/m/sun1.h +++ /dev/null | |||
| @@ -1,80 +0,0 @@ | |||
| 1 | /* machine description file for Sun 68000's | ||
| 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="note" | ||
| 26 | |||
| 27 | NOTE-START | ||
| 28 | Sun 1, 2 and 3 (-machine=sun1, -machine=sun2, -machine=sun3; | ||
| 29 | -opsystem=bsd4-2 or -opsystem=sunos4) | ||
| 30 | |||
| 31 | Whether you should use sun1, sun2 or sun3 depends on the | ||
| 32 | VERSION OF THE OPERATING SYSTEM | ||
| 33 | you have. There are three machine types for different versions of | ||
| 34 | SunOS. All are derived from Berkeley 4.2, meaning that you should | ||
| 35 | use -opsystem=bsd4-2. Emacs 17 has run on all of them. You will | ||
| 36 | need to use sun3 on Sun 2's running SunOS release 3. | ||
| 37 | |||
| 38 | For SunOS release 4 on a Sun 3, use -machine=sun3 and | ||
| 39 | -opsystem=sunos4. See the file share-lib/SUNBUG for how to solve | ||
| 40 | problems caused by bugs in the "export" version of SunOS 4. | ||
| 41 | NOTE-END */ | ||
| 42 | |||
| 43 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 44 | is the most significant byte. */ | ||
| 45 | |||
| 46 | #define WORDS_BIG_ENDIAN | ||
| 47 | |||
| 48 | /* Say this machine is a 68000 */ | ||
| 49 | |||
| 50 | #define m68000 | ||
| 51 | |||
| 52 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 53 | |||
| 54 | #define NO_UNION_TYPE | ||
| 55 | |||
| 56 | /* Sun can't write competent compilers */ | ||
| 57 | #define COMPILER_REGISTER_BUG | ||
| 58 | |||
| 59 | /* XINT must explicitly sign-extend */ | ||
| 60 | |||
| 61 | #define EXPLICIT_SIGN_EXTEND | ||
| 62 | |||
| 63 | /* Data type of load average, as read out of kmem. */ | ||
| 64 | |||
| 65 | #define LOAD_AVE_TYPE long | ||
| 66 | |||
| 67 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 68 | |||
| 69 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 70 | |||
| 71 | /* Must use the system's termcap. It does special things. */ | ||
| 72 | |||
| 73 | #define LIBS_TERMCAP -ltermcap | ||
| 74 | |||
| 75 | /* Mask for address bits within a memory segment */ | ||
| 76 | |||
| 77 | #define SEGMENT_MASK (SEGSIZ - 1) | ||
| 78 | |||
| 79 | /* arch-tag: 58ec9c79-48bd-4d1b-aad1-65a09a6b0d10 | ||
| 80 | (do not change this comment) */ | ||
diff --git a/src/m/sun2.h b/src/m/sun2.h deleted file mode 100644 index a872bf6f3bb..00000000000 --- a/src/m/sun2.h +++ /dev/null | |||
| @@ -1,89 +0,0 @@ | |||
| 1 | /* machine description file for Sun 68000's OPERATING SYSTEM version 2. | ||
| 2 | Note that "sun2.h" refers to the operating system version, not the | ||
| 3 | CPU model number. See the MACHINES file for details. | ||
| 4 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, | ||
| 5 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 6 | |||
| 7 | This file is part of GNU Emacs. | ||
| 8 | |||
| 9 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 10 | it under the terms of the GNU General Public License as published by | ||
| 11 | the Free Software Foundation; either version 3, or (at your option) | ||
| 12 | any later version. | ||
| 13 | |||
| 14 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | GNU General Public License for more details. | ||
| 18 | |||
| 19 | You should have received a copy of the GNU General Public License | ||
| 20 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 21 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 22 | Boston, MA 02110-1301, USA. */ | ||
| 23 | |||
| 24 | |||
| 25 | /* The following line tells the configuration script what sort of | ||
| 26 | operating system this machine is likely to run. | ||
| 27 | USUAL-OPSYS="note" | ||
| 28 | |||
| 29 | NOTE-START | ||
| 30 | Sun 1, 2 and 3 (-machine=sun1, -machine=sun2, -machine=sun3; | ||
| 31 | -opsystem=bsd4-2 or -opsystem=sunos4) | ||
| 32 | |||
| 33 | Whether you should use sun1, sun2 or sun3 depends on the | ||
| 34 | VERSION OF THE OPERATING SYSTEM | ||
| 35 | you have. There are three machine types for different versions of | ||
| 36 | SunOS. All are derived from Berkeley 4.2, meaning that you should | ||
| 37 | use -opsystem=bsd4-2. Emacs 17 has run on all of them. You will | ||
| 38 | need to use sun3 on Sun 2's running SunOS release 3. | ||
| 39 | |||
| 40 | For SunOS release 4 on a Sun 3, use -machine=sun3 and | ||
| 41 | -opsystem=sunos4. See the file share-lib/SUNBUG for how to solve | ||
| 42 | problems caused by bugs in the "export" version of SunOS 4. | ||
| 43 | NOTE-END */ | ||
| 44 | |||
| 45 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 46 | is the most significant byte. */ | ||
| 47 | |||
| 48 | #define WORDS_BIG_ENDIAN | ||
| 49 | |||
| 50 | /* Say this machine is a 68000 */ | ||
| 51 | |||
| 52 | #ifndef m68000 | ||
| 53 | #define m68000 | ||
| 54 | #endif | ||
| 55 | |||
| 56 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 57 | |||
| 58 | #define NO_UNION_TYPE | ||
| 59 | |||
| 60 | /* Sun can't write competent compilers */ | ||
| 61 | #define COMPILER_REGISTER_BUG | ||
| 62 | |||
| 63 | /* XINT must explicitly sign-extend */ | ||
| 64 | |||
| 65 | #define EXPLICIT_SIGN_EXTEND | ||
| 66 | |||
| 67 | /* Data type of load average, as read out of kmem. */ | ||
| 68 | |||
| 69 | #define LOAD_AVE_TYPE long | ||
| 70 | |||
| 71 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 72 | |||
| 73 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 74 | |||
| 75 | /* Say that this is a Sun 2; must check for and maybe reinitialize | ||
| 76 | the "sky" board. */ | ||
| 77 | |||
| 78 | #define sun2 | ||
| 79 | |||
| 80 | /* Must use the system's termcap. It does special things. */ | ||
| 81 | |||
| 82 | #define LIBS_TERMCAP -ltermcap | ||
| 83 | |||
| 84 | /* Mask for address bits within a memory segment */ | ||
| 85 | |||
| 86 | #define SEGMENT_MASK (SEGSIZ - 1) | ||
| 87 | |||
| 88 | /* arch-tag: 543c3570-74ca-4099-aa47-db7c7b691c8e | ||
| 89 | (do not change this comment) */ | ||
diff --git a/src/m/sun3-68881.h b/src/m/sun3-68881.h deleted file mode 100644 index 33b9c2bd527..00000000000 --- a/src/m/sun3-68881.h +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | /* sun3-68881.h, for a Sun 3, using the 68881. */ | ||
| 2 | |||
| 3 | #include "sun3.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="note" | ||
| 8 | |||
| 9 | NOTE-START | ||
| 10 | Sun with 68881 co-processor (-machine=sun3-68881; | ||
| 11 | -opsystem=bsd4-2 or -opsystem=sunos4) | ||
| 12 | |||
| 13 | Versions 1, 2, and 3 of the operating system are derived from | ||
| 14 | Berkeley 4.2, meaning that you should use -opsystem=bsd4-2. | ||
| 15 | |||
| 16 | For SunOS release 4 on a Sun 3 with a 68881, use -machine=sun3-68881 | ||
| 17 | and -opsystem=sunos4. See the file share-lib/SUNBUG for how to | ||
| 18 | solve problems caused by bugs in the "export" version of SunOS 4. | ||
| 19 | NOTE-END */ | ||
| 20 | |||
| 21 | /* In case we are using floating point, work together with crt0.c. */ | ||
| 22 | |||
| 23 | #ifndef __GNUC__ | ||
| 24 | #define C_SWITCH_MACHINE -f68881 | ||
| 25 | #endif | ||
| 26 | |||
| 27 | #define sun_68881 | ||
| 28 | #define START_FILES crt0.o /usr/lib/Mcrt1.o | ||
| 29 | |||
| 30 | /* arch-tag: f8659e89-5f5e-4921-940c-814a5786b901 | ||
| 31 | (do not change this comment) */ | ||
diff --git a/src/m/sun3-fpa.h b/src/m/sun3-fpa.h deleted file mode 100644 index b78adaf7378..00000000000 --- a/src/m/sun3-fpa.h +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | /* sun3-fpa.h, for a Sun 3, using the Sun fpa. */ | ||
| 2 | |||
| 3 | #include "sun3.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="note" | ||
| 8 | |||
| 9 | NOTE-START | ||
| 10 | Sun with FPA co-processor (-machine=sun3-fpa; | ||
| 11 | -opsystem=bsd4-2 or -opsystem=sunos4) | ||
| 12 | |||
| 13 | Versions 1, 2, and 3 of the operating system are derived from | ||
| 14 | Berkeley 4.2, meaning that you should use -opsystem=bsd4-2. | ||
| 15 | |||
| 16 | For SunOS release 4 on a Sun 3 with an FPA, use -machine=sun3-fpa | ||
| 17 | and -opsystem=sunos4. See the file share-lib/SUNBUG for how to | ||
| 18 | solve problems caused by bugs in the "export" version of SunOS 4. | ||
| 19 | NOTE-END */ | ||
| 20 | |||
| 21 | /* In case we are using floating point, work together with crt0.c. */ | ||
| 22 | |||
| 23 | #ifndef __GNUC__ | ||
| 24 | #define C_SWITCH_MACHINE -ffpa | ||
| 25 | #endif | ||
| 26 | |||
| 27 | #define sun_fpa | ||
| 28 | #define START_FILES crt0.o /usr/lib/Wcrt1.o | ||
| 29 | |||
| 30 | /* arch-tag: db287fbb-966f-4a70-a3f4-a6768c09326b | ||
| 31 | (do not change this comment) */ | ||
diff --git a/src/m/sun3-soft.h b/src/m/sun3-soft.h deleted file mode 100644 index 32b2558c01b..00000000000 --- a/src/m/sun3-soft.h +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | /* sun3-soft.h, for a Sun 3, using the Sun with software floating point. */ | ||
| 2 | |||
| 3 | #include "sun3.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="note" | ||
| 8 | |||
| 9 | NOTE-START | ||
| 10 | Sun with software floating point (-machine=sun3-soft; | ||
| 11 | -opsystem=bsd4-2 or -opsystem=sunos4) | ||
| 12 | |||
| 13 | Versions 1, 2, and 3 of the operating system are derived from | ||
| 14 | Berkeley 4.2, meaning that you should use -opsystem=bsd4-2. | ||
| 15 | |||
| 16 | If you want to use software floating point on SunOS release 4 on a | ||
| 17 | Sun 3, use -machine=sun3-68881 and -opsystem=sunos4. See the file | ||
| 18 | share-lib/SUNBUG for how to solve problems caused by bugs in the | ||
| 19 | "export" version of SunOS 4. | ||
| 20 | NOTE-END */ | ||
| 21 | |||
| 22 | /* In case we are using floating point, work together with crt0.c. */ | ||
| 23 | |||
| 24 | #ifndef __GNUC__ | ||
| 25 | #define C_SWITCH_MACHINE -fsoft | ||
| 26 | #endif | ||
| 27 | |||
| 28 | #define sun_soft | ||
| 29 | #define START_FILES crt0.o /usr/lib/Fcrt1.o | ||
| 30 | |||
| 31 | /* arch-tag: 76e9d7e6-66a8-4c4f-b0a5-335d082e5720 | ||
| 32 | (do not change this comment) */ | ||
diff --git a/src/m/sun3.h b/src/m/sun3.h deleted file mode 100644 index b2713703416..00000000000 --- a/src/m/sun3.h +++ /dev/null | |||
| @@ -1,53 +0,0 @@ | |||
| 1 | /* machine description file for Sun 68000's OPERATING SYSTEM version 3 | ||
| 2 | (for either 68000 or 68020 systems). */ | ||
| 3 | |||
| 4 | #include "sun2.h" | ||
| 5 | #undef sun2 | ||
| 6 | #ifndef sun3 | ||
| 7 | #define sun3 | ||
| 8 | #endif | ||
| 9 | |||
| 10 | /* The following line tells the configuration script what sort of | ||
| 11 | operating system this machine is likely to run. | ||
| 12 | USUAL-OPSYS="note" | ||
| 13 | |||
| 14 | NOTE-START | ||
| 15 | Sun 1, 2 and 3 (-machine=sun1, -machine=sun2, -machine=sun3; | ||
| 16 | -opsystem=bsd4-2 or -opsystem=sunos4) | ||
| 17 | |||
| 18 | Whether you should use sun1, sun2 or sun3 depends on the | ||
| 19 | VERSION OF THE OPERATING SYSTEM | ||
| 20 | you have. There are three machine types for different versions of | ||
| 21 | SunOS. All are derived from Berkeley 4.2, meaning that you should | ||
| 22 | use -opsystem=bsd4-2. Emacs 17 has run on all of them. You will | ||
| 23 | need to use sun3 on Sun 2's running SunOS release 3. | ||
| 24 | |||
| 25 | For SunOS release 4 on a Sun 3, use -machine=sun3 and | ||
| 26 | -opsystem=sunos4. See the file share-lib/SUNBUG for how to solve | ||
| 27 | problems caused by bugs in the "export" version of SunOS 4. | ||
| 28 | NOTE-END */ | ||
| 29 | |||
| 30 | /* Say that the text segment of a.out includes the header; | ||
| 31 | the header actually occupies the first few bytes of the text segment | ||
| 32 | and is counted in hdr.a_text. */ | ||
| 33 | |||
| 34 | #define A_TEXT_OFFSET(HDR) sizeof (HDR) | ||
| 35 | |||
| 36 | /* This is the offset of the executable's text, from the start of the file. */ | ||
| 37 | |||
| 38 | #define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr)) | ||
| 39 | |||
| 40 | /* In case we are using floating point, work together with crt0.c. */ | ||
| 41 | |||
| 42 | #ifndef __GNUC__ | ||
| 43 | #define C_SWITCH_MACHINE -fsoft | ||
| 44 | #endif | ||
| 45 | |||
| 46 | /* This line is needed if you are linking with X windows | ||
| 47 | and the library xlib was compiled to use the 68881. | ||
| 48 | For maximum cleanliness, don't edit this file; | ||
| 49 | instead, insert this line in config.h. */ | ||
| 50 | /* #define START_FILES crt0.o /usr/lib/Mcrt1.o */ | ||
| 51 | |||
| 52 | /* arch-tag: d0559a79-2285-4a78-ad68-9694264d0d8a | ||
| 53 | (do not change this comment) */ | ||
diff --git a/src/m/sun386.h b/src/m/sun386.h deleted file mode 100644 index ed98960c809..00000000000 --- a/src/m/sun386.h +++ /dev/null | |||
| @@ -1,74 +0,0 @@ | |||
| 1 | /* machine description file for Sun's 386-based RoadRunner. This file borrows heavily from | ||
| 2 | "sun2.h", but since that file is heavily cpu-specific, it was easier | ||
| 3 | not to include it. | ||
| 4 | |||
| 5 | Copyright (C) 1988, 2001, 2002, 2003, 2004, 2005, | ||
| 6 | 2006, 2007 Free Software Foundation, Inc. | ||
| 7 | |||
| 8 | This file is part of GNU Emacs. | ||
| 9 | |||
| 10 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 11 | it under the terms of the GNU General Public License as published by | ||
| 12 | the Free Software Foundation; either version 3, or (at your option) | ||
| 13 | any later version. | ||
| 14 | |||
| 15 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 16 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 18 | GNU General Public License for more details. | ||
| 19 | |||
| 20 | You should have received a copy of the GNU General Public License | ||
| 21 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 22 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 23 | Boston, MA 02110-1301, USA. */ | ||
| 24 | |||
| 25 | /* The following line tells the configuration script what sort of | ||
| 26 | operating system this machine is likely to run. | ||
| 27 | USUAL-OPSYS="note" | ||
| 28 | |||
| 29 | NOTE-START | ||
| 30 | Use s-sunos4-0.h for operating system version 4.0, and s-sunos4-1.h | ||
| 31 | for later versions. See the file share-lib/SUNBUG for how to solve | ||
| 32 | problems caused by bugs in the "export" version of SunOS 4. | ||
| 33 | NOTE-END */ | ||
| 34 | |||
| 35 | /* Say this machine is a bird */ | ||
| 36 | #ifndef roadrunner | ||
| 37 | #define roadrunner | ||
| 38 | #endif | ||
| 39 | |||
| 40 | /* Actual cpu-specific defs */ | ||
| 41 | #include "intel386.h" | ||
| 42 | |||
| 43 | /* Data type of load average, as read out of kmem. */ | ||
| 44 | |||
| 45 | #define LOAD_AVE_TYPE long | ||
| 46 | |||
| 47 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 48 | |||
| 49 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 50 | |||
| 51 | /* Underscores are not prepended to C symbols on this machine. */ | ||
| 52 | #undef LDAV_SYMBOL | ||
| 53 | #define LDAV_SYMBOL "avenrun" | ||
| 54 | |||
| 55 | /* Must use the system's termcap. It does special things. */ | ||
| 56 | |||
| 57 | #define LIBS_TERMCAP -ltermcap | ||
| 58 | |||
| 59 | /* Roadrunner uses 'COFF' format */ | ||
| 60 | #define COFF | ||
| 61 | |||
| 62 | #define C_SWITCH_MACHINE -Bstatic /* avoid dynamic linking */ | ||
| 63 | #define LD_SWITCH_MACHINE -n -Bstatic | ||
| 64 | /* Get rid of the -e __start that s-sunos4.h does. */ | ||
| 65 | #undef LD_SWITCH_SYSTEM | ||
| 66 | |||
| 67 | #ifdef USG | ||
| 68 | /* USG detects Solaris. j.w.hawtin@lut.ac.uk says Solaris 2.1 | ||
| 69 | on the 386 needs this. */ | ||
| 70 | #define LIBS_MACHINE -lkvm | ||
| 71 | #endif | ||
| 72 | |||
| 73 | /* arch-tag: 861af4b4-ce5f-475e-876e-ebff6436a1fe | ||
| 74 | (do not change this comment) */ | ||
diff --git a/src/m/symmetry.h b/src/m/symmetry.h deleted file mode 100644 index ea3d9493504..00000000000 --- a/src/m/symmetry.h +++ /dev/null | |||
| @@ -1,95 +0,0 @@ | |||
| 1 | /* machine description file for SEQUENT SYMMETRY machines | ||
| 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | /* CHANGE: [Eric H. Herrin II; eric@ms.uky.edu - 15 Sept 1988] | ||
| 23 | * Modified the sequent.h file for the Sequent Symmetry machine. | ||
| 24 | * Biggest change was to align the sections in the a.out to 4K | ||
| 25 | * boundaries (this is the page size). | ||
| 26 | */ | ||
| 27 | |||
| 28 | |||
| 29 | /* NOTICE: this file works for DYNIX release 3.0.12 on Sequent Symmetry | ||
| 30 | * (Intel 80386) machines. Hasn't been tested on anything else. | ||
| 31 | */ | ||
| 32 | |||
| 33 | /* The following line tells the configuration script what sort of | ||
| 34 | operating system this machine is likely to run. | ||
| 35 | USUAL-OPSYS="bsd4-3" */ | ||
| 36 | |||
| 37 | #include "intel386.h" | ||
| 38 | |||
| 39 | /* Data type of load average, as read out of kmem. */ | ||
| 40 | |||
| 41 | #define LOAD_AVE_TYPE unsigned long | ||
| 42 | |||
| 43 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 44 | |||
| 45 | #define FSCALE 1000.0 | ||
| 46 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | ||
| 47 | |||
| 48 | /* Name of file the to look in | ||
| 49 | for the kernel symbol table (for load average) */ | ||
| 50 | |||
| 51 | #undef KERNEL_FILE | ||
| 52 | #define KERNEL_FILE "/dynix" | ||
| 53 | |||
| 54 | /* Avoids a compiler bug */ | ||
| 55 | |||
| 56 | #define TAHOE_REGISTER_BUG | ||
| 57 | |||
| 58 | /* Say that the text segment of a.out includes the header; | ||
| 59 | the header actually occupies the first few bytes of the text segment | ||
| 60 | and is counted in hdr.a_text. Furthermore, the value written | ||
| 61 | in the a_text in the file must have N_ADDRADJ added to it. */ | ||
| 62 | |||
| 63 | #define A_TEXT_OFFSET(HDR) (sizeof (HDR) + N_ADDRADJ (HDR)) | ||
| 64 | |||
| 65 | /* This is the offset of the executable's text, from the start of the file. */ | ||
| 66 | |||
| 67 | #define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr)) | ||
| 68 | |||
| 69 | /* The file sections in the Symmetry a.out must be on 4K boundaries. | ||
| 70 | */ | ||
| 71 | #define SEGSIZ 4096 | ||
| 72 | #define SECTION_ALIGNMENT (SEGSIZ-1) | ||
| 73 | |||
| 74 | /* (short) negative-int doesn't sign-extend correctly */ | ||
| 75 | #define SHORT_CAST_BUG | ||
| 76 | |||
| 77 | /* Cause compilations to be done in parallel in ymakefile. */ | ||
| 78 | #define MAKE_PARALLEL & | ||
| 79 | |||
| 80 | /* Define how to search all pty names. | ||
| 81 | This is for Dynix 3.0; delete next 5 definitions for older systems. */ | ||
| 82 | |||
| 83 | #define PTY_MAJOR "pqrstuvwPQRSTUVW" | ||
| 84 | #define PTY_MINOR "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" | ||
| 85 | #define PTY_ITERATION \ | ||
| 86 | register int ma, mi; \ | ||
| 87 | for (ma = 0; ma < sizeof(PTY_MAJOR) - 1; ma++) \ | ||
| 88 | for (mi = 0; mi < sizeof(PTY_MINOR) - 1; mi++) | ||
| 89 | #define PTY_NAME_SPRINTF \ | ||
| 90 | sprintf (pty_name, "/dev/pty%c%c", PTY_MAJOR[ma], PTY_MINOR[mi]); | ||
| 91 | #define PTY_TTY_NAME_SPRINTF \ | ||
| 92 | sprintf (pty_name, "/dev/tty%c%c", PTY_MAJOR[ma], PTY_MINOR[mi]); | ||
| 93 | |||
| 94 | /* arch-tag: 4169a89e-3764-4147-98df-1ba3bdd45a5b | ||
| 95 | (do not change this comment) */ | ||
diff --git a/src/m/tad68k.h b/src/m/tad68k.h deleted file mode 100644 index c8be8763fb5..00000000000 --- a/src/m/tad68k.h +++ /dev/null | |||
| @@ -1,115 +0,0 @@ | |||
| 1 | /* Machine-dependent configuration for GNU Emacs for Tadpole 68k machines | ||
| 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="usg5-3" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 33 | * group of arguments and treat it as an array of the arguments. */ | ||
| 34 | |||
| 35 | /* #define NO_ARG_ARRAY */ | ||
| 36 | |||
| 37 | /* Define WORD_MACHINE if addresses and such have | ||
| 38 | * to be corrected before they can be used as byte counts. */ | ||
| 39 | |||
| 40 | /* #define WORD_MACHINE */ | ||
| 41 | |||
| 42 | /* Now define a symbol for the cpu type, if your compiler | ||
| 43 | does not define it automatically */ | ||
| 44 | |||
| 45 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 46 | /* This is desirable for most machines. */ | ||
| 47 | |||
| 48 | #define NO_UNION_TYPE | ||
| 49 | |||
| 50 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 51 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 52 | are always unsigned. | ||
| 53 | |||
| 54 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 55 | |||
| 56 | /* #define EXPLICIT_SIGN_EXTEND */ | ||
| 57 | |||
| 58 | /* Data type of load average, as read out of kmem. */ | ||
| 59 | /* #define LOAD_AVE_TYPE long */ | ||
| 60 | |||
| 61 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 62 | |||
| 63 | /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ | ||
| 64 | |||
| 65 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 66 | Then the function dump-emacs will not be defined | ||
| 67 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 68 | /* #define CANNOT_DUMP */ | ||
| 69 | |||
| 70 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 71 | pure and impure space as loaded can vary, and even their | ||
| 72 | relative order cannot be relied on. | ||
| 73 | |||
| 74 | Otherwise Emacs assumes that text space precedes data space, | ||
| 75 | numerically. */ | ||
| 76 | |||
| 77 | /* #define VIRT_ADDR_VARIES */ /* Karl Kleinpaste says this isn't needed. */ | ||
| 78 | |||
| 79 | /* SysV has alloca in the PW library */ | ||
| 80 | |||
| 81 | #define LIB_STANDARD -lPW -lc | ||
| 82 | |||
| 83 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 84 | to change the boundary between the text section and data section | ||
| 85 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 86 | code will not be sharable; but that's better than failing completely. */ | ||
| 87 | |||
| 88 | /* #define NO_REMAP */ | ||
| 89 | |||
| 90 | /* Use Terminfo, not Termcap. */ | ||
| 91 | |||
| 92 | #define TERMINFO | ||
| 93 | |||
| 94 | /* TPIX extras */ | ||
| 95 | |||
| 96 | #define TPIX /* used in various source files */ | ||
| 97 | #define BSTRING /* we do have the BSTRING functions */ | ||
| 98 | #define CLASH_DETECTION /* we want to know about clashes */ | ||
| 99 | #undef ADDR_CORRECT /* don't need this bug fix */ | ||
| 100 | #define fchmod /* we don't have fchmod() */ | ||
| 101 | #define SECTION_ALIGNMENT (2048-1) /* 2k boundaries required in unexec */ | ||
| 102 | #define SEGMENT_MASK (128*1024-1) /* 128k offsets required in unexec */ | ||
| 103 | #define C_DEBUG_SWITCH -O /* build with -O (TPIX has GCC 1.34) */ | ||
| 104 | |||
| 105 | #define BROKEN_TIOCGWINSZ /* Don't try to use TIOCGWINSZ. */ | ||
| 106 | |||
| 107 | /* omit next four lines if no TCP installed */ | ||
| 108 | |||
| 109 | #define select gnu_select /* avoid select() name clash */ | ||
| 110 | #define HAVE_PTYS /* we do have PTYs if we have TCP */ | ||
| 111 | #define HAVE_SOCKETS /* we do have sockets if we have TCP */ | ||
| 112 | #define LIBS_SYSTEM -lsocket /* get TCP networking functions */ | ||
| 113 | |||
| 114 | /* arch-tag: e0c09754-b0f2-48da-a8a5-aee3c94838f4 | ||
| 115 | (do not change this comment) */ | ||
diff --git a/src/m/tahoe.h b/src/m/tahoe.h deleted file mode 100644 index 9b9271577fc..00000000000 --- a/src/m/tahoe.h +++ /dev/null | |||
| @@ -1,72 +0,0 @@ | |||
| 1 | /* machine description file for tahoe. | ||
| 2 | Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="note" | ||
| 26 | |||
| 27 | NOTE-START | ||
| 28 | Use -opsystem=bsd4-2 or -opsystem=bsd4-3, depending on the version of | ||
| 29 | Berkeley you are running. | ||
| 30 | NOTE-END */ | ||
| 31 | |||
| 32 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 33 | is the most significant byte. */ | ||
| 34 | |||
| 35 | #define WORDS_BIG_ENDIAN | ||
| 36 | |||
| 37 | /* XINT must explicitly sign-extend */ | ||
| 38 | |||
| 39 | #define EXPLICIT_SIGN_EXTEND | ||
| 40 | |||
| 41 | /* Say this machine is a tahoe */ | ||
| 42 | |||
| 43 | #ifndef tahoe | ||
| 44 | #define tahoe | ||
| 45 | #endif /* not tahoe */ | ||
| 46 | |||
| 47 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 48 | |||
| 49 | #define NO_UNION_TYPE | ||
| 50 | |||
| 51 | /* crt0.c should use the vax-bsd style of entry, with no dummy args. */ | ||
| 52 | |||
| 53 | #define CRT0_DUMMIES | ||
| 54 | |||
| 55 | /* crt0.c should define a symbol `start' and do .globl with a dot. */ | ||
| 56 | |||
| 57 | #define DOT_GLOBAL_START | ||
| 58 | |||
| 59 | /* Data type of load average, as read out of kmem. */ | ||
| 60 | |||
| 61 | #define LOAD_AVE_TYPE double | ||
| 62 | |||
| 63 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 64 | |||
| 65 | #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | ||
| 66 | |||
| 67 | /* This triggers some stuff to avoid a compiler bug */ | ||
| 68 | |||
| 69 | #define TAHOE_REGISTER_BUG | ||
| 70 | |||
| 71 | /* arch-tag: dd452693-80e1-413f-a164-0141eb68d831 | ||
| 72 | (do not change this comment) */ | ||
diff --git a/src/m/targon31.h b/src/m/targon31.h deleted file mode 100644 index 39e995b076d..00000000000 --- a/src/m/targon31.h +++ /dev/null | |||
| @@ -1,98 +0,0 @@ | |||
| 1 | /* targon31 machine description file | ||
| 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="usg5-2-2" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 33 | * group of arguments and treat it as an array of the arguments. */ | ||
| 34 | |||
| 35 | /* #define NO_ARG_ARRAY */ | ||
| 36 | |||
| 37 | /* Define WORD_MACHINE if addresses and such have | ||
| 38 | * to be corrected before they can be used as byte counts. */ | ||
| 39 | |||
| 40 | #define WORD_MACHINE | ||
| 41 | |||
| 42 | /* Now define a symbol for the cpu type, if your compiler | ||
| 43 | does not define it automatically: | ||
| 44 | vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO | ||
| 45 | are the ones defined so far. */ | ||
| 46 | |||
| 47 | /* #define m68k is defined by the Compiler */ | ||
| 48 | /* #define m68000 */ | ||
| 49 | |||
| 50 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 51 | /* This is desirable for most machines. */ | ||
| 52 | |||
| 53 | #define NO_UNION_TYPE | ||
| 54 | |||
| 55 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 56 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 57 | are always unsigned. | ||
| 58 | |||
| 59 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 60 | |||
| 61 | #define EXPLICIT_SIGN_EXTEND | ||
| 62 | |||
| 63 | /* Data type of load average, as read out of kmem. */ | ||
| 64 | |||
| 65 | /* #define LOAD_AVE_TYPE double */ | ||
| 66 | |||
| 67 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 68 | |||
| 69 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) | ||
| 70 | |||
| 71 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 72 | Then the function dump-emacs will not be defined | ||
| 73 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 74 | |||
| 75 | /* #define CANNOT_DUMP */ | ||
| 76 | |||
| 77 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 78 | pure and impure space as loaded can vary, and even their | ||
| 79 | relative order cannot be relied on. | ||
| 80 | |||
| 81 | Otherwise Emacs assumes that text space precedes data space, | ||
| 82 | numerically. */ | ||
| 83 | |||
| 84 | /* #define VIRT_ADDR_VARIES */ | ||
| 85 | |||
| 86 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 87 | to change the boundary between the text section and data section | ||
| 88 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 89 | code will not be sharable; but that's better than failing completely. */ | ||
| 90 | |||
| 91 | /* #define NO_REMAP */ | ||
| 92 | /* Supposedly NO_REMAP is not needed with the following change. */ | ||
| 93 | #define SEGMENT_MASK 0xffff | ||
| 94 | |||
| 95 | #define SWITCH_ENUM_BUG 1 | ||
| 96 | |||
| 97 | /* arch-tag: f2438018-7d4e-4be5-b368-4bf342b7785b | ||
| 98 | (do not change this comment) */ | ||
diff --git a/src/m/tek4300.h b/src/m/tek4300.h deleted file mode 100644 index 6498238461d..00000000000 --- a/src/m/tek4300.h +++ /dev/null | |||
| @@ -1,105 +0,0 @@ | |||
| 1 | /* machine description file for tek4300. | ||
| 2 | Copyright (C) 1988, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="bsd4-3" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 33 | * group of arguments and treat it as an array of the arguments. */ | ||
| 34 | |||
| 35 | #undef NO_ARG_ARRAY | ||
| 36 | |||
| 37 | /* Define WORD_MACHINE if addresses and such have | ||
| 38 | * to be corrected before they can be used as byte counts. */ | ||
| 39 | |||
| 40 | #undef WORD_MACHINE | ||
| 41 | |||
| 42 | /* Now define a symbol for the cpu type, if your compiler | ||
| 43 | does not define it automatically. */ | ||
| 44 | |||
| 45 | #ifndef tek4300 | ||
| 46 | #define tek4300 | ||
| 47 | #endif | ||
| 48 | |||
| 49 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 50 | |||
| 51 | #define NO_UNION_TYPE | ||
| 52 | |||
| 53 | /* Data type of load average, as read out of kmem. */ | ||
| 54 | |||
| 55 | #define LOAD_AVE_TYPE long | ||
| 56 | |||
| 57 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 58 | |||
| 59 | #define LOAD_AVE_CVT(x) (x) | ||
| 60 | |||
| 61 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 62 | to change the boundary between the text section and data section | ||
| 63 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 64 | code will not be sharable; but that's better than failing completely. */ | ||
| 65 | |||
| 66 | #define NO_REMAP | ||
| 67 | |||
| 68 | /* setjmp and longjmp can safely replace _setjmp and _longjmp, */ | ||
| 69 | |||
| 70 | #define _longjmp longjmp | ||
| 71 | #define _setjmp setjmp | ||
| 72 | |||
| 73 | /* The text segment always starts at a fixed address. | ||
| 74 | This way we don't need to have a label _start defined. */ | ||
| 75 | |||
| 76 | #define TEXT_START 0 | ||
| 77 | |||
| 78 | /* The Tektronix exec struct for ZMAGIC files is struct zexec */ | ||
| 79 | |||
| 80 | #define EXEC_HDR_TYPE struct zexec | ||
| 81 | |||
| 82 | /* The entry-point label (start of text segment) is `start', not `__start'. */ | ||
| 83 | |||
| 84 | #define DEFAULT_ENTRY_ADDRESS start | ||
| 85 | |||
| 86 | /* Use the system's malloc calls, gmalloc.c won't work for us. */ | ||
| 87 | |||
| 88 | #define SYSTEM_MALLOC | ||
| 89 | |||
| 90 | /* In building xmakefile, "cc -E -g" forcibly reads from stdin. Since we | ||
| 91 | can't remove the CFLAGS from that "cc -E" invocation, make sure we | ||
| 92 | never pass -g. If you want to debug, remove the following, and fix | ||
| 93 | src/Makefile.in so it doesn't pass ${CFLAGS} when creating xmakefile. */ | ||
| 94 | |||
| 95 | #define C_DEBUG_SWITCH | ||
| 96 | |||
| 97 | /* eirik@elf.ithaca.ny.us said this was needed in 19.22. */ | ||
| 98 | #define NO_MODE_T | ||
| 99 | |||
| 100 | /* Process groups work in the traditional BSD manner. */ | ||
| 101 | |||
| 102 | #define BSD_PGRPS | ||
| 103 | |||
| 104 | /* arch-tag: afa06e53-094c-4a19-9219-155f8ba4bbcc | ||
| 105 | (do not change this comment) */ | ||
diff --git a/src/m/tekxd88.h b/src/m/tekxd88.h deleted file mode 100644 index f351229292f..00000000000 --- a/src/m/tekxd88.h +++ /dev/null | |||
| @@ -1,117 +0,0 @@ | |||
| 1 | /* Configuration file for the Tektronix XD88 running UTekV 3.2e, | ||
| 2 | contributed by Kaveh Ghazi (ghazi@caip.rutgers.edu) 1/15/93. | ||
| 3 | You probably need to use gnu make (version 3.63 or higher.) | ||
| 4 | Copyright (C) 1993, 2001, 2002, 2003, 2004, 2005, | ||
| 5 | 2006, 2007 Free Software Foundation, Inc. | ||
| 6 | |||
| 7 | This file is part of GNU Emacs. | ||
| 8 | |||
| 9 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 10 | it under the terms of the GNU General Public License as published by | ||
| 11 | the Free Software Foundation; either version 3, or (at your option) | ||
| 12 | any later version. | ||
| 13 | |||
| 14 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | GNU General Public License for more details. | ||
| 18 | |||
| 19 | You should have received a copy of the GNU General Public License | ||
| 20 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 21 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 22 | Boston, MA 02110-1301, USA. */ | ||
| 23 | |||
| 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 | /* 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 | #define NO_ARG_ARRAY | ||
| 33 | |||
| 34 | /* Define WORD_MACHINE if addresses and such have | ||
| 35 | * to be corrected before they can be used as byte counts. */ | ||
| 36 | /* #define WORD_MACHINE */ | ||
| 37 | |||
| 38 | /* Now define a symbol for the cpu type, if your compiler | ||
| 39 | does not define it automatically: | ||
| 40 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 41 | orion, tahoe, APOLLO and many others */ | ||
| 42 | #ifndef m88000 /* Some 88k C compilers already define this */ | ||
| 43 | #define m88000 | ||
| 44 | #endif | ||
| 45 | |||
| 46 | /* Define how to take a char and sign-extend into an int. | ||
| 47 | On machines where char is signed, this is a no-op. */ | ||
| 48 | #define SIGN_EXTEND_CHAR(c) (c) | ||
| 49 | |||
| 50 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 51 | /* This is desirable for most machines. */ | ||
| 52 | #define NO_UNION_TYPE | ||
| 53 | |||
| 54 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 55 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 56 | are always unsigned. | ||
| 57 | |||
| 58 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 59 | /* #define EXPLICIT_SIGN_EXTEND */ | ||
| 60 | |||
| 61 | /* Data type of load average, as read out of kmem. */ | ||
| 62 | /* #define LOAD_AVE_TYPE double */ /* No load average on XD88. */ | ||
| 63 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 64 | /* #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) */ | ||
| 65 | |||
| 66 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 67 | Then the function dump-emacs will not be defined | ||
| 68 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 69 | /*#define CANNOT_DUMP*/ | ||
| 70 | |||
| 71 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 72 | pure and impure space as loaded can vary, and even their | ||
| 73 | relative order cannot be relied on. | ||
| 74 | |||
| 75 | Otherwise Emacs assumes that text space precedes data space, | ||
| 76 | numerically. */ | ||
| 77 | /* #define VIRT_ADDR_VARIES */ | ||
| 78 | |||
| 79 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 80 | to change the boundary between the text section and data section | ||
| 81 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 82 | code will not be sharable; but that's better than failing completely. */ | ||
| 83 | #define NO_REMAP | ||
| 84 | |||
| 85 | #ifndef __GNUC__ | ||
| 86 | # define C_OPTIMIZE_SWITCH -O | ||
| 87 | #endif /* __GNUC__ */ | ||
| 88 | |||
| 89 | #undef NOMULTIPLEJOBS /* we have job control */ | ||
| 90 | #define HAVE_SOCKETS /* sockets are available */ | ||
| 91 | #define BROKEN_FIONREAD /* is this needed ? */ | ||
| 92 | #define BSTRING /* its in libc but not declared in any header file. */ | ||
| 93 | #undef sigsetmask /* XD88 has sigsetmask() */ | ||
| 94 | |||
| 95 | #undef LIB_X11_LIB /* Don't use shared libraries defined in usg5-3.h */ | ||
| 96 | #undef LIBX11_SYSTEM | ||
| 97 | |||
| 98 | #define HAVE_TERMIOS /* We have termios. */ | ||
| 99 | #undef HAVE_TERMIO /* Make sure termios ifdef code is used, not termio. */ | ||
| 100 | #define NO_TERMIO /* Don't include both termios.h and termio.h */ | ||
| 101 | #define HAVE_PTYS /* XD88 SysV has PTYs. */ | ||
| 102 | #define SYSV_PTYS /* Requires <termios.h> */ | ||
| 103 | |||
| 104 | #ifdef ghs /* Stands for "Green Hills Software", defined only in /bin/cc */ | ||
| 105 | /* -X18 means do not allocate programmer-defined local variables to a | ||
| 106 | register unless they are declared register. (Copied from perl-4.036 | ||
| 107 | Green Hills C hints file. Might be needed for setjmp, I don't know.) */ | ||
| 108 | # define C_SWITCH_MACHINE -X18 | ||
| 109 | /* We need /lib/default.ld so that /bin/ld can read its link directives. */ | ||
| 110 | # define LD_SWITCH_SYSTEM /lib/default.ld | ||
| 111 | #endif /* ghs */ | ||
| 112 | |||
| 113 | /* We need this to get dumping to work */ | ||
| 114 | #define KEEP_OLD_TEXT_SCNPTR | ||
| 115 | |||
| 116 | /* arch-tag: fd3cebc3-2aed-4f8c-be9b-f37331c6e0ff | ||
| 117 | (do not change this comment) */ | ||
diff --git a/src/m/tower32.h b/src/m/tower32.h deleted file mode 100644 index 01daada2423..00000000000 --- a/src/m/tower32.h +++ /dev/null | |||
| @@ -1,115 +0,0 @@ | |||
| 1 | /* machine description file for the NCR Tower 32 running System V.2. | ||
| 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="usg5-2-2" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 33 | * group of arguments and treat it as an array of the arguments. */ | ||
| 34 | |||
| 35 | /* #define NO_ARG_ARRAY */ | ||
| 36 | |||
| 37 | /* Define WORD_MACHINE if addresses and such have | ||
| 38 | * to be corrected before they can be used as byte counts. */ | ||
| 39 | |||
| 40 | /* #define WORD_MACHINE */ | ||
| 41 | |||
| 42 | /* Now define a symbol for the cpu type, if your compiler | ||
| 43 | does not define it automatically: | ||
| 44 | vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO | ||
| 45 | are the ones defined so far. */ | ||
| 46 | #define m68000 | ||
| 47 | |||
| 48 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 49 | /* This is desirable for most machines. */ | ||
| 50 | |||
| 51 | #define NO_UNION_TYPE | ||
| 52 | |||
| 53 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 54 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 55 | are always unsigned. | ||
| 56 | |||
| 57 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 58 | |||
| 59 | #define EXPLICIT_SIGN_EXTEND | ||
| 60 | |||
| 61 | /* Data type of load average, as read out of kmem. */ | ||
| 62 | |||
| 63 | /* #define LOAD_AVE_TYPE long */ | ||
| 64 | |||
| 65 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 66 | |||
| 67 | /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ | ||
| 68 | |||
| 69 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 70 | Then the function dump-emacs will not be defined | ||
| 71 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 72 | |||
| 73 | /* #define CANNOT_DUMP */ | ||
| 74 | |||
| 75 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 76 | pure and impure space as loaded can vary, and even their | ||
| 77 | relative order cannot be relied on. | ||
| 78 | |||
| 79 | Otherwise Emacs assumes that text space precedes data space, | ||
| 80 | numerically. */ | ||
| 81 | |||
| 82 | /* #define VIRT_ADDR_VARIES */ | ||
| 83 | |||
| 84 | /* Change some things to avoid bugs in compiler */ | ||
| 85 | |||
| 86 | #define SWITCH_ENUM_BUG 1 | ||
| 87 | |||
| 88 | /* The standard C library is -lcieee, not -lc. | ||
| 89 | Also use the PW library, which contains alloca. */ | ||
| 90 | |||
| 91 | #define LIB_STANDARD -lPW -lcieee | ||
| 92 | |||
| 93 | /* crt0.c should use the vax-bsd style of entry. Beware that if you have | ||
| 94 | OS release 2.00.00 or later, *and* change src/ymakefile so that CFLAGS | ||
| 95 | includes C_OPTIMIZE_SWITCH rather than C_DEBUG_SWITCH, you need to | ||
| 96 | uncomment CRT0_DUMMIES and C_OPTIMIZE_SWITCH below. */ | ||
| 97 | |||
| 98 | /* With the optimizer OFF */ | ||
| 99 | |||
| 100 | #define CRT0_DUMMIES zero, bogus_fp, | ||
| 101 | |||
| 102 | /* With the optimizer ON */ | ||
| 103 | |||
| 104 | /* #define CRT0_DUMMIES */ | ||
| 105 | /* #define C_OPTIMIZE_SWITCH -O2 */ | ||
| 106 | |||
| 107 | /* emacs's magic number isn't temacs's; | ||
| 108 | temacs is writable text (the default!). */ | ||
| 109 | |||
| 110 | #include <asld.h> | ||
| 111 | #define EXEC_MAGIC AOUT1MAGIC | ||
| 112 | #define EXEC_PAGESIZE DATACLICK | ||
| 113 | |||
| 114 | /* arch-tag: a08e7dea-d48e-44cc-b60d-c7f2e5187ff5 | ||
| 115 | (do not change this comment) */ | ||
diff --git a/src/m/tower32v3.h b/src/m/tower32v3.h deleted file mode 100644 index ff209edab41..00000000000 --- a/src/m/tower32v3.h +++ /dev/null | |||
| @@ -1,113 +0,0 @@ | |||
| 1 | /* machine description file for the NCR Tower 32 running System V.3. | ||
| 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | /* The following line tells the configuration script what sort of | ||
| 25 | operating system this machine is likely to run. | ||
| 26 | USUAL-OPSYS="usg5-3" */ | ||
| 27 | |||
| 28 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 29 | is the most significant byte. */ | ||
| 30 | |||
| 31 | #define WORDS_BIG_ENDIAN | ||
| 32 | |||
| 33 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 34 | * group of arguments and treat it as an array of the arguments. */ | ||
| 35 | |||
| 36 | /* #define NO_ARG_ARRAY */ | ||
| 37 | |||
| 38 | /* Define WORD_MACHINE if addresses and such have | ||
| 39 | * to be corrected before they can be used as byte counts. */ | ||
| 40 | |||
| 41 | /* #define WORD_MACHINE */ | ||
| 42 | |||
| 43 | /* Now define a symbol for the cpu type, if your compiler | ||
| 44 | does not define it automatically: | ||
| 45 | vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO | ||
| 46 | are the ones defined so far. */ | ||
| 47 | #define m68000 | ||
| 48 | |||
| 49 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 50 | /* This is desirable for most machines. */ | ||
| 51 | |||
| 52 | #define NO_UNION_TYPE | ||
| 53 | |||
| 54 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 55 | the bit field into an int. In other words, if bit fields | ||
| 56 | are always unsigned. | ||
| 57 | |||
| 58 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 59 | |||
| 60 | #define EXPLICIT_SIGN_EXTEND | ||
| 61 | |||
| 62 | /* Data type of load average, as read out of kmem. */ | ||
| 63 | |||
| 64 | /* #define LOAD_AVE_TYPE long */ | ||
| 65 | |||
| 66 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 67 | |||
| 68 | /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ | ||
| 69 | |||
| 70 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 71 | Then the function dump-emacs will not be defined | ||
| 72 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 73 | |||
| 74 | /* #define CANNOT_DUMP */ | ||
| 75 | |||
| 76 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 77 | pure and impure space as loaded can vary, and even their | ||
| 78 | relative order cannot be relied on. | ||
| 79 | |||
| 80 | Otherwise Emacs assumes that text space precedes data space, | ||
| 81 | numerically. */ | ||
| 82 | |||
| 83 | /* #define VIRT_ADDR_VARIES */ | ||
| 84 | |||
| 85 | #ifdef __GNUC__ | ||
| 86 | #define C_OPTIMIZE_SWITCH -O -fstrength-reduce -fomit-frame-pointer | ||
| 87 | #define LIB_STANDARD -lc /lib/crtn.o | ||
| 88 | #else | ||
| 89 | /* This section is correct if you do *not* change src/ymakefile so that | ||
| 90 | CFLAGS includes C_OPTIMIZE_SWITCH rather than C_DEBUG_SWITCH. */ | ||
| 91 | #define C_DEBUG_SWITCH -g -O0 | ||
| 92 | #define LIB_STANDARD -lc -lPW /lib/crtn.o | ||
| 93 | /* This section is correct if you do enable C_OPTIMIZE_SWITCH. */ | ||
| 94 | /* #define C_OPTIMIZE_SWITCH -O2 */ | ||
| 95 | /* #define LIB_STANDARD -lc /lib/crtn.o */ | ||
| 96 | #endif | ||
| 97 | |||
| 98 | /* The OS maps the data section far away from the text section. */ | ||
| 99 | #define NO_REMAP | ||
| 100 | #define TEXT_START 0 | ||
| 101 | #undef static | ||
| 102 | #define START_FILES pre-crt0.o /lib/crt1.o | ||
| 103 | |||
| 104 | /* The OS has an implementation of symlinks that is semantically different | ||
| 105 | from BSD, but for some silly reason it partly has the same syntax. */ | ||
| 106 | #undef S_IFLNK | ||
| 107 | |||
| 108 | /* The OS needs stream.h+ptem.h included in sysdep.c. */ | ||
| 109 | #define NO_SIOCTL_H | ||
| 110 | #define NEED_PTEM_H | ||
| 111 | |||
| 112 | /* arch-tag: 3dff1355-7cb6-49e3-8834-85a369e4ea8f | ||
| 113 | (do not change this comment) */ | ||
diff --git a/src/m/ustation.h b/src/m/ustation.h deleted file mode 100644 index 0ac833c28da..00000000000 --- a/src/m/ustation.h +++ /dev/null | |||
| @@ -1,132 +0,0 @@ | |||
| 1 | /* machine description file for U-station (Nihon Unisys, SS5E; Sumitomo Denkoh, U-Station E30). | ||
| 2 | Copyright (C) 1986, 1999, 2001, 2002, 2003, 2004, | ||
| 3 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="usg5-3" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 33 | * group of arguments and treat it as an array of the arguments. */ | ||
| 34 | |||
| 35 | #undef NO_ARG_ARRAY | ||
| 36 | |||
| 37 | /* Define WORD_MACHINE if addresses and such have | ||
| 38 | * to be corrected before they can be used as byte counts. */ | ||
| 39 | |||
| 40 | #undef WORD_MACHINE | ||
| 41 | |||
| 42 | /* Now define a symbol for the cpu type, if your compiler | ||
| 43 | does not define it automatically: | ||
| 44 | vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO | ||
| 45 | are the ones defined so far. */ | ||
| 46 | /* Masscomp predefines mc68000. */ | ||
| 47 | |||
| 48 | #define m68000 mc68000 | ||
| 49 | |||
| 50 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 51 | /* This is desirable for most machines. */ | ||
| 52 | |||
| 53 | #define NO_UNION_TYPE | ||
| 54 | |||
| 55 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 56 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 57 | are always unsigned. | ||
| 58 | |||
| 59 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 60 | |||
| 61 | #undef EXPLICIT_SIGN_EXTEND | ||
| 62 | |||
| 63 | /* Data type of load average, as read out of kmem. */ | ||
| 64 | |||
| 65 | #define LOAD_AVE_TYPE double | ||
| 66 | |||
| 67 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 68 | |||
| 69 | #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | ||
| 70 | |||
| 71 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 72 | Then the function dump-emacs will not be defined | ||
| 73 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 74 | |||
| 75 | #undef CANNOT_DUMP | ||
| 76 | |||
| 77 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 78 | pure and impure space as loaded can vary, and even their | ||
| 79 | relative order cannot be relied on. | ||
| 80 | |||
| 81 | Otherwise Emacs assumes that data space precedes text space, | ||
| 82 | numerically. */ | ||
| 83 | |||
| 84 | #undef VIRT_ADDR_VARIES | ||
| 85 | |||
| 86 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 87 | to change the boundary between the text section and data section | ||
| 88 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 89 | code will not be sharable; but that's better than failing completely. */ | ||
| 90 | |||
| 91 | #undef NO_REMAP | ||
| 92 | |||
| 93 | /* Name of file the to look in | ||
| 94 | for the kernel symbol table (for load average) */ | ||
| 95 | |||
| 96 | #define KERNEL_FILE "/unix" | ||
| 97 | |||
| 98 | /* This triggers some stuff to avoid a compiler bug */ | ||
| 99 | |||
| 100 | #define MASSC_REGISTER_BUG | ||
| 101 | |||
| 102 | /* Prevent -lg from being used for debugging. Not implemented? */ | ||
| 103 | |||
| 104 | #define LIBS_DEBUG | ||
| 105 | |||
| 106 | /* | ||
| 107 | * Define HAVE_TERMIO if the system provides sysV-style ioctls | ||
| 108 | * for terminal control. | ||
| 109 | */ | ||
| 110 | |||
| 111 | #define HAVE_TERMIO | ||
| 112 | |||
| 113 | /* -lnet is not standard library */ | ||
| 114 | |||
| 115 | #undef LIBS_SYSTEM | ||
| 116 | |||
| 117 | /* Compiler's bug */ | ||
| 118 | |||
| 119 | #define SWITCH_ENUM_BUG | ||
| 120 | |||
| 121 | /* Termcap is available */ | ||
| 122 | |||
| 123 | #define LIBS_TERMCAP -ltermcap | ||
| 124 | |||
| 125 | #define EXEC_PAGESIZE 1024 | ||
| 126 | #define PURESIZE 130000 | ||
| 127 | |||
| 128 | #define BROKEN_SIGIO | ||
| 129 | #define BROKEN_SIGTSTP | ||
| 130 | |||
| 131 | /* arch-tag: 797f1d3e-3077-4eee-a81b-03fcf3a988fe | ||
| 132 | (do not change this comment) */ | ||
diff --git a/src/m/wicat.h b/src/m/wicat.h deleted file mode 100644 index 3ac7b530739..00000000000 --- a/src/m/wicat.h +++ /dev/null | |||
| @@ -1,137 +0,0 @@ | |||
| 1 | /* machine description file for WICAT machines. | ||
| 2 | Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005, | ||
| 3 | 2006, 2007 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 3, or (at your option) | ||
| 10 | any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. */ | ||
| 21 | |||
| 22 | |||
| 23 | /* The following line tells the configuration script what sort of | ||
| 24 | operating system this machine is likely to run. | ||
| 25 | USUAL-OPSYS="usg5-2" */ | ||
| 26 | |||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 28 | is the most significant byte. */ | ||
| 29 | |||
| 30 | #define WORDS_BIG_ENDIAN | ||
| 31 | |||
| 32 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 33 | * group of arguments and treat it as an array of the arguments. */ | ||
| 34 | |||
| 35 | #undef NO_ARG_ARRAY | ||
| 36 | |||
| 37 | /* Define WORD_MACHINE if addresses and such have | ||
| 38 | * to be corrected before they can be used as byte counts. */ | ||
| 39 | |||
| 40 | #undef WORD_MACHINE | ||
| 41 | |||
| 42 | /* Now define a symbol for the cpu type, if your compiler | ||
| 43 | does not define it automatically: | ||
| 44 | vax, m68000, ns16000 are the ones defined so far. */ | ||
| 45 | |||
| 46 | #ifndef m68000 | ||
| 47 | #define m68000 | ||
| 48 | #endif | ||
| 49 | |||
| 50 | /* This flag is used only in alloca.s. */ | ||
| 51 | #define WICAT | ||
| 52 | |||
| 53 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 54 | |||
| 55 | #define NO_UNION_TYPE | ||
| 56 | |||
| 57 | /* XINT must explicitly sign-extend */ | ||
| 58 | |||
| 59 | #define EXPLICIT_SIGN_EXTEND | ||
| 60 | |||
| 61 | /* Data type of load average, as read out of kmem. */ | ||
| 62 | |||
| 63 | #undef LOAD_AVE_TYPE | ||
| 64 | |||
| 65 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 66 | |||
| 67 | #undef LOAD_AVE_CVT | ||
| 68 | |||
| 69 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 70 | Then the function dump-emacs will not be defined | ||
| 71 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 72 | |||
| 73 | #undef CANNOT_DUMP | ||
| 74 | |||
| 75 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 76 | pure and impure space as loaded can vary, and even their | ||
| 77 | relative order cannot be relied on. | ||
| 78 | |||
| 79 | Otherwise Emacs assumes that text space precedes data space, | ||
| 80 | numerically. */ | ||
| 81 | |||
| 82 | #undef VIRT_ADDR_VARIES | ||
| 83 | |||
| 84 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 85 | to change the boundary between the text section and data section | ||
| 86 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 87 | code will not be sharable; but that's better than failing completely. */ | ||
| 88 | |||
| 89 | #undef NO_REMAP | ||
| 90 | |||
| 91 | /* For WICAT, define TAHOE_REGISTER_BUG if you have a pre-4.2 C compiler */ | ||
| 92 | |||
| 93 | #define TAHOE_REGISTER_BUG | ||
| 94 | |||
| 95 | /* pagesize definition */ | ||
| 96 | |||
| 97 | #define EXEC_PAGESIZE 0x1000 | ||
| 98 | |||
| 99 | /* Delete this for WICAT sys V releases before 2.0. */ | ||
| 100 | |||
| 101 | #define LIB_STANDARD -lc-nofp | ||
| 102 | |||
| 103 | /* Special magic number */ | ||
| 104 | |||
| 105 | #define EXEC_MAGIC MC68ROMAGIC | ||
| 106 | |||
| 107 | /* Special switches to give to ld. */ | ||
| 108 | |||
| 109 | #define LD_SWITCH_MACHINE -e __start -N | ||
| 110 | |||
| 111 | /* Sigh...cannot define this for WICAT cuz 0 length memcpy blows chunks */ | ||
| 112 | |||
| 113 | #undef BSTRING | ||
| 114 | |||
| 115 | /* | ||
| 116 | * Define optimflags if you want to optimize. | ||
| 117 | * - Set to null string for pre-4.2 C compiler | ||
| 118 | * - Set to "-O -Wopt,-O-f" for 4.2 | ||
| 119 | */ | ||
| 120 | |||
| 121 | #define C_OPTIMIZE_SWITCH /* -O -Wopt,-O-f */ | ||
| 122 | |||
| 123 | /* For WICAT version supporting PTYs and select (currently internal only) */ | ||
| 124 | |||
| 125 | #ifdef HAVE_PTYS | ||
| 126 | #undef FIRST_PTY_LETTER | ||
| 127 | #define FIRST_PTY_LETTER 'q' | ||
| 128 | #endif | ||
| 129 | |||
| 130 | /* there is a select() in libcurses.a that causes a conflict so use termlib */ | ||
| 131 | #ifdef HAVE_SELECT | ||
| 132 | #undef TERMINFO | ||
| 133 | #define LIBS_TERMCAP select.o -ltermlib | ||
| 134 | #endif | ||
| 135 | |||
| 136 | /* arch-tag: b181c512-0275-4d25-9bbc-be0c8ca7bcad | ||
| 137 | (do not change this comment) */ | ||
diff --git a/src/m/xps100.h b/src/m/xps100.h deleted file mode 100644 index 3b378319ceb..00000000000 --- a/src/m/xps100.h +++ /dev/null | |||
| @@ -1,98 +0,0 @@ | |||
| 1 | /* xps100.h for the Honeywell XPS100 running UNIX System V.2 | ||
| 2 | Mark J. Hewitt (mjh@uk.co.kernel) | ||
| 3 | |||
| 4 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, | ||
| 5 | 2005, 2006, 2007 Free Software Foundation, Inc. | ||
| 6 | |||
| 7 | This file is part of GNU Emacs. | ||
| 8 | |||
| 9 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 10 | it under the terms of the GNU General Public License as published by | ||
| 11 | the Free Software Foundation; either version 3, or (at your option) | ||
| 12 | any later version. | ||
| 13 | |||
| 14 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | GNU General Public License for more details. | ||
| 18 | |||
| 19 | You should have received a copy of the GNU General Public License | ||
| 20 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 21 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 22 | Boston, MA 02110-1301, USA. */ | ||
| 23 | |||
| 24 | |||
| 25 | /* The following line tells the configuration script what sort of | ||
| 26 | operating system this machine is likely to run. | ||
| 27 | USUAL-OPSYS="usg5-2" */ | ||
| 28 | |||
| 29 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | ||
| 30 | is the most significant byte. */ | ||
| 31 | |||
| 32 | #define WORDS_BIG_ENDIAN | ||
| 33 | |||
| 34 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 35 | * group of arguments and treat it as an array of the arguments. */ | ||
| 36 | |||
| 37 | /* #define NO_ARG_ARRAY */ | ||
| 38 | |||
| 39 | /* Define WORD_MACHINE if addresses and such have | ||
| 40 | * to be corrected before they can be used as byte counts. */ | ||
| 41 | |||
| 42 | /* #define WORD_MACHINE */ | ||
| 43 | |||
| 44 | /* Now define a symbol for the cpu type, if your compiler | ||
| 45 | does not define it automatically: | ||
| 46 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 47 | orion, tahoe, APOLLO and many others */ | ||
| 48 | |||
| 49 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 50 | /* This is desirable for most machines. */ | ||
| 51 | |||
| 52 | #define NO_UNION_TYPE | ||
| 53 | |||
| 54 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 55 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 56 | are always unsigned. | ||
| 57 | |||
| 58 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 59 | |||
| 60 | #define EXPLICIT_SIGN_EXTEND | ||
| 61 | |||
| 62 | /* Data type of load average, as read out of kmem. */ | ||
| 63 | |||
| 64 | /* #define LOAD_AVE_TYPE long */ | ||
| 65 | |||
| 66 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 67 | |||
| 68 | /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ | ||
| 69 | |||
| 70 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 71 | Then the function dump-emacs will not be defined | ||
| 72 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 73 | |||
| 74 | /* #define CANNOT_DUMP */ | ||
| 75 | |||
| 76 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 77 | pure and impure space as loaded can vary, and even their | ||
| 78 | relative order cannot be relied on. | ||
| 79 | |||
| 80 | Otherwise Emacs assumes that text space precedes data space, | ||
| 81 | numerically. */ | ||
| 82 | |||
| 83 | /* #define VIRT_ADDR_VARIES */ | ||
| 84 | |||
| 85 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 86 | to change the boundary between the text section and data section | ||
| 87 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 88 | code will not be sharable; but that's better than failing completely. */ | ||
| 89 | |||
| 90 | #define NO_REMAP | ||
| 91 | #define TERMINFO | ||
| 92 | #define SWITCH_ENUM_BUG | ||
| 93 | #define LIB_STANDARD -lc | ||
| 94 | #define LD_SWITCH_MACHINE -X | ||
| 95 | #define SECTION_ALIGNMENT (0x3ff) | ||
| 96 | |||
| 97 | /* arch-tag: 42316eb5-74b2-4762-970a-e372c6a2783d | ||
| 98 | (do not change this comment) */ | ||