diff options
Diffstat (limited to 'src/m')
92 files changed, 0 insertions, 10656 deletions
diff --git a/src/m/7300.h b/src/m/7300.h deleted file mode 100644 index b090d8dd3ee..00000000000 --- a/src/m/7300.h +++ /dev/null @@ -1,100 +0,0 @@ -/* machine description file for AT&T UNIX PC model 7300 - Copyright (C) 1986 Free Software Foundation, Inc. - Modified for this machine by mtxinu!rtech!gonzo!daveb - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-2-2" */ - -/* Supposedly now these machines have flexnames. - -/* # define SHORTNAMES */ - - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* XINT must explicitly sign-extend */ - -#define EXPLICIT_SIGN_EXTEND - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - vax, m68000, ns16000 are the ones defined so far. */ - -# ifndef mc68k -# define mc68k -# endif -#ifndef m68k -#define m68k -#endif - -/* Cause crt0.c to define errno. */ - -#define NEED_ERRNO - -/* Data type of load average, as read out of kmem. */ -/* These are commented out since it is not supported by this machine. */ - -/* #define LOAD_AVE_TYPE long */ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -/* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */ - -#ifdef __GNUC__ - -#define HAVE_ALLOCA - -#else - -#define SWITCH_ENUM_BUG -#define C_ALLOCA -#define STACK_DIRECTION -1 - -#endif - -/* If you have the PD pty driver installed, uncomment the following line. */ -/* #define HAVE_PTYS */ - -#define HAVE_SYSVIPC - -/* We don't have memmove. */ -#define memmove(d, s, n) safe_bcopy (s, d, n) - -/* These three lines were new in 18.50. They were said to permit - a demand-paged executable, but someone else says they don't work. - Someone else says they do. They didn't work because errno was an - initialized variable in crt0.c, and because of %splimit (also therein), - both of which have been fixed now. */ -#define SECTION_ALIGNMENT 0x03ff -#define SEGMENT_MASK 0xffff -#define LD_SWITCH_MACHINE -z - -/* Insist on using cc when compiling this. GCC may have been - configured to use GAS syntax, which causes problems. */ -#define CRT0_COMPILE cc -c -O -Demacs diff --git a/src/m/=dos386.h b/src/m/=dos386.h deleted file mode 100644 index 1fb38da656f..00000000000 --- a/src/m/=dos386.h +++ /dev/null @@ -1,115 +0,0 @@ -/* Machine description file for MS-DOS - - Copyright (C) 1993 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ - -/* Note: lots of stuff here was taken from m-dos386.h in demacs. */ - - -/* The following three symbols give information on - the size of various data types. */ - -#define SHORTBITS 16 /* Number of bits in a short */ -#define INTBITS 32 /* Number of bits in an int */ -#define LONGBITS 32 /* Number of bits in a long */ - -/* Define BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -/* #define BIG_ENDIAN */ - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -/* #define NO_ARG_ARRAY */ - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Define how to take a char and sign-extend into an int. - On machines where char is signed, this is a no-op. */ - -#define SIGN_EXTEND_CHAR(c) (c) - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -#define INTEL386 - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -/* #define LOAD_AVE_TYPE long */ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -/* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#define HAVE_ALLOCA -#define alloca(x) __builtin_alloca(x) - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -/* We need a little extra space, see ../../lisp/loadup.el */ -#define PURESIZE 240000 - -/* We have (the code to control) a mouse. */ -#define HAVE_MOUSE diff --git a/src/m/acorn.h b/src/m/acorn.h deleted file mode 100644 index ad7cfeb4ba2..00000000000 --- a/src/m/acorn.h +++ /dev/null @@ -1,198 +0,0 @@ -/* Machine description file for Acorn RISCiX machines. - Copyright (C) 1994 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#undef WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. We can't - * do this on the arm with gcc, since the first 4 args are in registers. */ - -#ifdef __GNUC__ -#define NO_ARG_ARRAY -#else -#undef NO_ARG_ARRAY -#endif - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#undef WORD_MACHINE - -/* Define how to take a char and sign-extend into an int. - On machines where char is signed, this is a no-op. */ - -/* ARM note - The RISCiX Norcroft C Compiler has ALL - non-32-bit types as unsigned */ - -#define SIGN_EXTEND_CHAR(c) (((int)(c) << 24) >> 24) - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -/* ARM note - this is done by the Norcroft compiler - symbol is `__arm' */ - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -#ifdef LDAV_SYMBOL -#undef LDAV_SYMBOL -#endif - -#define LDAV_SYMBOL "_iavenrun" - - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -/* - * Scale factor for scaled integers used to count - * %cpu time and load averages. - */ - -/* FSHIFT and FSCALE are defined in param.h, but are required by - LOAD_AVE_CVT, so they need to be defined here. */ - -#ifndef FSHIFT -#define FSHIFT 8 /* bits to right of fixed binary point */ -#endif - -#ifndef FSCALE -#define FSCALE (1<<FSHIFT) -#endif - -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -#undef CANNOT_DUMP - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -#undef VIRT_ADDR_VARIES - -/* This prevents Emacs dumping an unsqueezed binary with the - SQUEEZE bit set in the magic number. */ - -#define ADJUST_EXEC_HEADER {hdr.a_magic &= ~MF_SQUEEZED;} - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#ifdef __GNUC__ - -/* Use builtin alloca. Also be sure that no other ones are tried out. */ -#define alloca __builtin_alloca -#define HAVE_ALLOCA - -/* Keep gcc/RISCiX happy - it uses __gccmain where other versions of - gcc use __main, because of a library routine name clash. */ -#define __main __gccmain - -#else -#define C_ALLOCA -#undef HAVE_ALLOCA -#endif /* __GNUC__ */ - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - - -#ifndef NOT_C_CODE -#define TEXT_START 0x8000 -#define DATA_END &_edata -extern int _edata; -#define etext _etext -#endif - -/* Avoid debugging library */ -#define LIBS_DEBUG - -/* Avoid sharing libc */ -#define LIB_STANDARD -lc_n - -/* Avoid sharing libX11 */ -#define LIB_X11_LIB -lX11_n - -/* All kinds of symbol definitions, so as to avoid multiply defined symbol - errors from the RISCiX linker. */ - -#ifdef __GNUC__ -#define C_DEBUG_SWITCH - -#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= - -#else -#define C_DEBUG_SWITCH -O -w -g -Dgetopt=gnu_getopt -Dopterr=gnu_opterr -Doptind=gnu_optind -Doptarg=gnu_optarg -Dcfree=gnu_cfree -#endif - -/* Turn this on to avoid the emacs malloc and use standard one */ - -#undef SYSTEM_MALLOC - -/* Use <dirent.h>. */ -#define SYSV_SYSTEM_DIR - -/* For the portable alloca */ -#define STACK_DIRECTION -1 - -#ifdef NO_REMAP -/* CRT0_O is defined in s/riscix1-1.h or s/riscix1-2.h, as appropriate. */ -#define START_FILES pre-crt0.o CRT0_O -#else -Cannot -do -this -yet -#endif diff --git a/src/m/alliant-2800.h b/src/m/alliant-2800.h deleted file mode 100644 index 5cf7e393433..00000000000 --- a/src/m/alliant-2800.h +++ /dev/null @@ -1,136 +0,0 @@ -/* alliant-2800.h - Alliant FX/2800 machine running Concentrix 2800. - Copyright (C) 1990 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="bsd4-3" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#undef WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#undef WORD_MACHINE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO - are the ones defined so far. */ - -#define ALLIANT -#define ALLIANT_2800 -#define sun /* Use X support for Sun keyboard stuff. */ -#define C_OPTIMIZE_SWITCH -Og /* No concurrent code allowed here. */ - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ -/* On Alliants, bitfields are unsigned. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Concentrix uses a different kernel symbol for load average. */ - -#undef LDAV_SYMBOL /* Undo definition in s-bsd4-2.h */ -#define LDAV_SYMBOL "_Loadavg" - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (x * 100 / LOADAVG_SCALE) - -/* include <sys/param.h> for the definition of LOADAVG_SCALE, and also - LOADAVG_SIZE, the number of items in the Loadavg array. */ - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ -#define UNEXEC unexfx2800.o -#define LIBS_MACHINE -lalliant - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -#undef VIRT_ADDR_VARIES - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#undef C_ALLOCA -#define HAVE_ALLOCA - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ -/* Actually, Alliant CONCENTRIX does paging "right": - data pages are copy-on-write, which means that the pure data areas - are shared automatically and remapping is not necessary. */ - -#define NO_REMAP - -/* Alliant needs special crt0.o because system version is not reentrant */ - -#define START_FILES crt0.o - -/* Alliant dependent code for dumping executing image. - See crt0.c code for alliant. */ - -#define ADJUST_EXEC_HEADER {\ -extern int _curbrk, _setbrk;\ -_setbrk = _curbrk;\ -hdr.a_bss_addr = bss_start;\ -unexec_text_start = hdr.a_text_addr;} - -/* POSIX Compatibility */ -/* Use System V.4 style getdents/readdir <dirent.h> for 2.2 and up. */ -#define SYSV_SYSTEM_DIR - -/* Use the K&R version of the DEFUN macro. */ -#define USE_NONANSI_DEFUN diff --git a/src/m/alliant.h b/src/m/alliant.h deleted file mode 100644 index bf8909fb3ef..00000000000 --- a/src/m/alliant.h +++ /dev/null @@ -1,134 +0,0 @@ -/* alliant.h Alliant machine running system version 2 or 3. - Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. - Note that for version 1 of the Alliant system - you should use alliant1.h instead of this file. - Use alliant4.h for version 4. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="bsd4-2" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#ifdef ALLIANT_1 -#define NO_ARG_ARRAY -#endif - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#undef WORD_MACHINE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO - are the ones defined so far. */ - -#define ALLIANT - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ -/* On Alliants, bitfields are unsigned. */ - -#define EXPLICIT_SIGN_EXTEND - -/* No load average information available for Alliants. */ - -#undef LOAD_AVE_TYPE -#undef LOAD_AVE_CVT - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -#undef CANNOT_DUMP - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -#undef VIRT_ADDR_VARIES - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#undef C_ALLOCA -#define HAVE_ALLOCA - -#ifdef ALLIANT_1 -#define C_ALLOCA -#undef HAVE_ALLOCA -#endif /* ALLIANT_1 */ - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ -/* Actually, Alliant CONCENTRIX does paging "right": - data pages are copy-on-write, which means that the pure data areas - are shared automatically and remapping is not necessary. */ - -#define NO_REMAP - -/* Alliant needs special crt0.o because system version is not reentrant */ - -#define START_FILES crt0.o - -/* Alliant dependent code for dumping executing image. - See crt0.c code for alliant. */ - -#define ADJUST_EXEC_HEADER {\ -extern int _curbrk, _setbrk;\ -_setbrk = _curbrk;\ -hdr.a_bss_addr = bss_start;\ -unexec_text_start = hdr.a_text_addr;} - -/* cc screws up on long names. Try making cpp replace them. */ - -#ifdef ALLIANT_1 -#define Finsert_abbrev_table_description Finsert_abbrev_table_descrip -#define internal_with_output_to_temp_buffer internal_with_output_to_tem -#endif - -/* "vector" is a typedef in /usr/include/machine/reg.h, so its use as - a variable name causes errors when compiling under ANSI C. */ - -#define vector xxvector diff --git a/src/m/alliant1.h b/src/m/alliant1.h deleted file mode 100644 index 95f56cf1804..00000000000 --- a/src/m/alliant1.h +++ /dev/null @@ -1,9 +0,0 @@ -/* config.h should include this file for version 1 of Alliant's - operating system. */ - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="bsd4-2" */ - -#define ALLIANT_1 -#include "alliant.h" diff --git a/src/m/alliant4.h b/src/m/alliant4.h deleted file mode 100644 index ade3dbbaae5..00000000000 --- a/src/m/alliant4.h +++ /dev/null @@ -1,24 +0,0 @@ -/* machine description file for Alliant Concentrix 4.0 or later. - Use alliant.h for versions 2 and 3. */ - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="bsd4-2" */ - -#include "alliant.h" - -/* Concentrix uses a different kernel symbol for load average. */ - -#undef LDAV_SYMBOL /* Undo definition in s-bsd4-2.h */ -#define LDAV_SYMBOL "_Loadavg" - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (x * 100 / LOADAVG_SCALE) - -/* include <sys/param.h> for the definition of LOADAVG_SCALE, and also - LOADAVG_SIZE, the number of items in the Loadavg array. */ diff --git a/src/m/alpha.h b/src/m/alpha.h deleted file mode 100644 index 9c33475ebbf..00000000000 --- a/src/m/alpha.h +++ /dev/null @@ -1,309 +0,0 @@ -/* machine description file For the alpha chip. - Copyright (C) 1994 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 1, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -Use -opsystem=osf1 -NOTE-END - -*/ - -#define BITS_PER_LONG 64 -#define BITS_PER_EMACS_INT 64 - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#undef WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -/* __alpha defined automatically */ - - -/* Use type EMACS_INT rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define the type to use. */ -#define EMACS_INT long -#define EMACS_UINT unsigned long -#define SPECIAL_EMACS_INT - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#define HAVE_ALLOCA - -/* GNU malloc and the relocating allocator do not work together - with X. [Who wrote that?] */ - -/* May 1995: reportedly [Rainer Schoepf <schoepf@uni-mainz.de>] both the - system and the gnu malloc system work with "alpha-dec-osf3.0" and - "alpha-dec-osf3.2". */ - -/* May 1995: it seems to me [Morten Welinder <terra@diku.dk>] that both - mallocs work with "alpha-dec-osf2.0", but I daren't break anything - right now. Feel free to play if you want. */ - -/* #define SYSTEM_MALLOC */ - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -/* Some really obscure 4.2-based systems (like Sequent DYNIX) - * do not support asynchronous I/O (using SIGIO) on sockets, - * even though it works fine on tty's. If you have one of - * these systems, define the following, and then use it in - * config.h (or elsewhere) to decide when (not) to use SIGIO. - * - * You'd think this would go in an operating-system description file, - * but since it only occurs on some, but not all, BSD systems, the - * reasonable place to select for it is in the machine description - * file. - */ - -/* #define NO_SOCK_SIGIO */ - - -#ifdef __ELF__ -/* With ELF, make sure that all common symbols get allocated to in the - data section. Otherwise, the dump of temacs may miss variables in - the shared library that have been initialized. For example, with - GNU libc, __malloc_initialized would normally be resolved to the - shared library's .bss section, which is fatal. */ -# ifdef __GNUC__ -# define C_SWITCH_MACHINE -fno-common -# else -# error What gives? Fix me if DEC Unix supports ELF now. -# endif -#endif - -#ifdef __ELF__ -#undef UNEXEC -#define UNEXEC unexelf.o -#endif - -#ifndef __ELF__ - -/* Describe layout of the address space in an executing process. */ - -#define TEXT_START 0x120000000 -#define DATA_START 0x140000000 - -/* This is necessary for mem-limits.h, so that start_of_data gives - the correct value */ - -#define DATA_SEG_BITS 0x140000000 - -/* The program to be used for unexec. */ - -#define UNEXEC unexalpha.o - -#endif /* notdef __ELF__ */ - -#ifdef OSF1 -#define ORDINARY_LINK - -/* Some systems seem to have this, others don't. */ -#ifdef HAVE_LIBDNET -#define LIBS_MACHINE -ldnet -#else -#define LIBS_MACHINE -ldnet_stub -#endif -#endif /* OSF1 */ - -#if 0 /* Rainer Schoepf <schoepf@uni-mainz.de> says this loses with X11R6 - since it has only shared libraries. */ -#ifndef __GNUC__ -/* This apparently is for the system ld as opposed to Gnu ld. */ -#ifdef OSF1 -#define LD_SWITCH_MACHINE -non_shared -#endif -#endif -#endif /* 0 */ - -#ifdef OSF1 -#define LIBS_DEBUG -#define START_FILES pre-crt0.o -#endif - -#if defined (LINUX) && __GNU_LIBRARY__ - 0 < 6 -/* This controls a conditional in main. */ -#define LINUX_SBRK_BUG -#endif - - -#define PNTR_COMPARISON_TYPE unsigned long - -/* On the 64 bit architecture, we can use 60 bits for addresses */ - -#define VALBITS 60 - - -/* This definition of MARKBIT is necessary because of the comparison of - ARRAY_MARK_FLAG and MARKBIT in an #if in lisp.h, which cpp doesn't like. */ - -#define MARKBIT 0x8000000000000000L - - -/* Define XINT and XUINT so that they can take arguments of type int */ - -#define XINT(a) (((long) (a) << (BITS_PER_LONG - VALBITS)) >> (BITS_PER_LONG - VALBITS)) -#define XUINT(a) ((long) (a) & VALMASK) - -/* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ - -#define XPNTR(a) XUINT (a) - -/* Declare malloc and realloc in a way that is clean. - But not in makefiles! */ - -#ifndef NOT_C_CODE -/* We need these because pointers are larger than the default ints. */ -#include <alloca.h> - -/* Hack alert! For reasons unknown to mankind the string.h file insists - on defining bcopy etc. as taking char pointers as arguments. With - Emacs this produces an endless amount of warning which are harmless, - but tends to flood the real errors. This hack works around this problem - by not prototyping. */ -#define bcopy string_h_bcopy -#define bzero string_h_bzero -#define bcmp string_h_bcmp -#include <string.h> -#undef bcopy -#undef bzero -#undef bcmp - -/* We need to prototype these for the lib-src programs even if we don't - use the system malloc for the Emacs proper. */ -#ifdef _MALLOC_INTERNAL -/* These declarations are designed to match the ones in gmalloc.c. */ -#if defined (__STDC__) && __STDC__ -extern void *malloc (), *realloc (), *calloc (); -#else -extern char *malloc (), *realloc (), *calloc (); -#endif -#else /* not _MALLOC_INTERNAL */ -extern void *malloc (), *realloc (), *calloc (); -#endif /* not _MALLOC_INTERNAL */ - - -extern long *xmalloc (), *xrealloc (); - -#ifdef REL_ALLOC -#ifndef _MALLOC_INTERNAL -/* "char *" because ralloc.c defines it that way. gmalloc.c thinks it - is allowed to prototype these as "void *" so we don't prototype in - that case. You're right: it stinks! */ -extern char *r_alloc (), *r_re_alloc (); -extern void r_alloc_free (); -#endif /* not _MALLOC_INTERNAL */ -#endif /* REL_ALLOC */ - -#endif /* not NOT_C_CODE */ - -#ifdef OSF1 -#define PTY_ITERATION for (i = 0; i < 1; i++) /* ick */ -#define PTY_NAME_SPRINTF /* none */ -#define PTY_TTY_NAME_SPRINTF /* none */ -#define PTY_OPEN \ - do \ - { \ - int dummy; \ - SIGMASKTYPE mask; \ - mask = sigblockx (SIGCHLD); \ - if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \ - fd = -1; \ - sigsetmask (mask); \ - close (dummy); \ - } \ - while (0) -#endif - -/* On the Alpha it's best to avoid including TERMIO since struct - termio and struct termios are mutually incompatible. */ -#define NO_TERMIO - -#ifdef LINUX -# define TEXT_END ({ extern int _etext; &_etext; }) -# ifndef __ELF__ -# define COFF -# define DATA_END ({ extern int _EDATA; &_EDATA; }) -# endif /* notdef __ELF__ */ -#endif diff --git a/src/m/altos.h b/src/m/altos.h deleted file mode 100644 index 264d65745d1..00000000000 --- a/src/m/altos.h +++ /dev/null @@ -1,64 +0,0 @@ -/* altos machine description file Altos 3068 Unix System V Release 2 - Copyright (C) 1985, 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-2" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -#define EXPLICIT_SIGN_EXTEND - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -#define LIB_STANDARD -lc - -#ifdef __GNUC__ -#define alloca __builtin_alloca -#define HAVE_ALLOCA -#else -#define C_ALLOCA /* we have -lPW and alloca but it's broken! - <vsedev!ron> */ -#endif - -#define SWITCH_ENUM_BUG - -#define NO_REMAP -#define STACK_DIRECTION -1 - -#undef TERMINFO - -#undef CANNOT_DUMP -#undef SHORTNAMES -#define TERMCAP - -#define LIBS_TERMCAP -ltermlib -#define PURESIZE 220000 -#define ALTOS - -#ifdef __GNUC__ -#define COFF_ENCAPSULATE -#endif diff --git a/src/m/amdahl.h b/src/m/amdahl.h deleted file mode 100644 index 08887b49410..00000000000 --- a/src/m/amdahl.h +++ /dev/null @@ -1,156 +0,0 @@ -/* amdahl machine description file - Copyright (C) 1987 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* -This file for amdahl_uts created by modifying the template.h -by Jishnu Mukerji 3/1/87 - -The following line tells the configuration script what sort of -operating system this machine is likely to run. -USUAL-OPSYS="usg5-2-2" - -This file works with the Amdahl uts native C compiler. The 5.2u370 -compiler is so brain damaged that it is not even worth trying to use it. -*/ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#undef NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#define WORD_MACHINE /* not actually used anywhere yet! */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO - are the ones defined so far. */ - -/* uts gets defined automatically */ -/* However for clarity define amdahl_uts */ -#define amdahl_uts - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -/* #define LOAD_AVE_TYPE long*/ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -/*#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0)*/ - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES*/ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#define C_ALLOCA -/*#define HAVE_ALLOCA */ - -#ifdef HAVE_ALLOCA -#define LIB_STANDARD -lPW -lc -#endif - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -/*#define NO_REMAP*/ - -#define TERMINFO - -/* The usual definition of XINT, which involves shifting, does not - sign-extend properly on this machine. */ - -#define XINT(i) (((sign_extend_temp=(i)) & 0x00800000) \ - ? (sign_extend_temp | 0xFF000000) \ - : (sign_extend_temp & 0x00FFFFFF)) - -#ifdef emacs /* Don't do this when making xmakefile! */ -extern int sign_extend_temp; -#endif - -/* The following needed to load the proper crt0.o and to get the - proper declaration of data_start in the #undef NO_REMAP case */ - -#ifndef NO_REMAP -#define START_FILES pre-crt0.o /lib/crt0.o -#endif - -/* Perhaps this means that the optimizer isn't safe to use. */ - -#define C_OPTIMIZE_SWITCH - -/* Put text and data on non-segment boundary; makes image smaller */ - -#define LD_SWITCH_MACHINE -N - -/* When writing the 'xemacs' file, make text segment ro */ -#define EXEC_MAGIC 0410 - -/* Mask for address bits within a memory segment */ -#define SEGSIZ 0x10000 /* Should this not be defined elsewhere ? */ -#define SEGMENT_MASK (SEGSIZ - 1) - -/* Tell alloca.c which direction stack grows. */ -#define STACK_DIRECTION -1 - -/* Compensate for error in signal.h. */ -#if NSIG==19 -#undef NSIG -#define NSIG 20 -#endif diff --git a/src/m/apollo.h b/src/m/apollo.h deleted file mode 100644 index f8424be88b0..00000000000 --- a/src/m/apollo.h +++ /dev/null @@ -1,96 +0,0 @@ -/* machine description file for Apollo machine. - Copyright (C) 1985, 1986, 1994, Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="bsd4-3" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Say this machine is a 68000 */ - -/* #define m68000 */ /* Done by the C compiler */ - -#define APOLLO - -/* Assume we use s-bsd4-3.h for system version 10. */ - -#ifdef BSD4_3 -#define APOLLO_SR10 -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* Do not define LOAD_AVE_TYPE or LOAD_AVE_CVT - since there is no /dev/kmem */ - -/* Undefine VIRT_ADDR_VARIES because the virtual addresses of - pure and impure space as loaded do not vary. */ - -#undef VIRT_ADDR_VARIES - -/* Define HAVE_ALLOCA because we use the system's version of alloca. */ - -#define HAVE_ALLOCA - -/* Prevent -lg from being used for debugging. Not needed. */ - -#define LIBS_DEBUG - -/* Can't use the system's termcap. It has compressed data sections that - interfere with dumping. That means we won't automatically get a vt100 - when we start up emacs in a dm pad (a dubious feature at best anyway). */ - -#undef LIBS_TERMCAP - -/* Must use the system's malloc and alloca. */ - -#define SYSTEM_MALLOC - -/* Define the file we use for UNEXEC. */ - -#define UNEXEC unexapollo.o - -/* The Apollo linker does not recognize the -X switch, so we remove it here. */ - -#define LD_SWITCH_SYSTEM - -/* Define C_SWITCH_MACHINE to compile for 68020/68030 or PRISM. - Define LD_SWITCH_MACHINE to save space by stripping symbols - and use X11 libraries. */ - -#if _ISP__A88K -#define C_SWITCH_MACHINE -W0,-ncompress -W0,-opt,2 -A cpu,a88k -A sys,any -A run,bsd4.3 -#define LD_SWITCH_MACHINE -A cpu,a88k -A sys,any -A run,bsd4.3 -#else -#define C_SWITCH_MACHINE -W0,-ncompress -W0,-opt,2 -A cpu,3000 -A sys,any -A run,bsd4.3 -#define LD_SWITCH_MACHINE -A cpu,m68k -A sys,any -A run,bsd4.3 -#endif - -#define OLDXMENU_OPTIONS ${C_SWITCH_MACHINE} - -/* In SR10.4, unistd.h has bad prototype for getpgrp, so we don't include it. */ -#undef HAVE_UNISTD_H diff --git a/src/m/att3b.h b/src/m/att3b.h deleted file mode 100644 index 394f3db959f..00000000000 --- a/src/m/att3b.h +++ /dev/null @@ -1,157 +0,0 @@ -/* Machine-dependent configuration for GNU Emacs for AT&T 3b machines. - Copyright (C) 1986 Free Software Foundation, Inc. - - Modified by David Robinson (daver@csvax.caltech.edu) 6/6/86 - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-2-2" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -/* #define NO_ARG_ARRAY */ - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically */ -#define ATT3B - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ -/* #define LOAD_AVE_TYPE long */ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -/* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ /* Karl Kleinpaste says this isn't needed. */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -/* SysV has alloca in the PW library */ - -#define LIB_STANDARD -lPW -lc -#define HAVE_ALLOCA - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -/* #define LD_SWITCH_MACHINE -N */ - -/* Use Terminfo, not Termcap. */ - -#define TERMINFO - -/* -O has been observed to make correct C code in Emacs not work. - So don't try to use it. */ - -#if u3b2 || u3b5 || u3b15 -#define C_OPTIMIZE_SWITCH -#endif - -/* Define our page size. */ - -#define NBPC 2048 - -/* The usual definition of XINT, which involves shifting, does not - sign-extend properly on this machine. */ - -#define XINT(i) (((sign_extend_temp=(i)) & 0x00800000) \ - ? (sign_extend_temp | 0xFF000000) \ - : (sign_extend_temp & 0x00FFFFFF)) - -#ifdef emacs /* Don't do this when making xmakefile! */ -extern int sign_extend_temp; -#endif - -#if u3b2 || u3b5 || u3b15 - -/* On 3b2/5/15, data space has high order bit on. */ -#define VALBITS 27 -#define VALMASK (((1<<VALBITS) - 1) | (1 << 31)) -#define XTYPE(a) ((enum Lisp_Type) (((a) >> VALBITS) & GCTYPEMASK)) - -#endif /* 3b2, 3b5 or 3b15 */ - -#define TEXT_START 0 - - -/* For alloca.c (not actually used, since HAVE_ALLOCA) */ -#define STACK_DIRECTION 1 - -/* (short) negative-int doesn't sign-extend correctly */ -#define SHORT_CAST_BUG - -/* 3B2s with WIN/3B have winsize defined in ptem.h */ -#if u3b2 -#define NEED_PTEM_H -#endif /* u3b2 */ - -/* 3b2 does not have memmove, I'm told. */ -/* It is safe to have no parens around the args in the safe_bcopy call, - and parens would screw up the prototype decl for memmove. */ -#define memmove(d, s, n) safe_bcopy (s, d, n) - -/* This affects filemode.c. */ -#define NO_MODE_T diff --git a/src/m/aviion.h b/src/m/aviion.h deleted file mode 100644 index 62802d7a615..00000000000 --- a/src/m/aviion.h +++ /dev/null @@ -1,132 +0,0 @@ -/* machine description file for Data General AViiON. - Copyright (C) 1985, 1986, 1991 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#define WORD_MACHINE - -/* Define DATA_SEG_BITS if pointers need to be corrected with - a segment field. */ - -#ifdef FIX_ADDRESS -#define DATA_SEG_BITS 0xef000000 -#endif - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -#ifndef m88k -#define m88k -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -/* #define LOAD_AVE_TYPE long */ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -/* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -/* #define C_ALLOCA */ -#define HAVE_ALLOCA -#define alloca(x) __builtin_alloca(x) - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -/* Define ADDR_CORRECT(ADDR) to be a macro to correct an int which is - the bit pattern of a pointer to a byte into an int which is the - number of a byte. - - This macro has a default definition which is usually right. - This default definition is a no-op on most machines (where a - pointer looks like an int) but not on all machines. */ - -#define ADDR_CORRECT(ADDR) ((int)ADDR) - -/* Cast pointers to this type to compare them. */ - -#define PNTR_COMPARISON_TYPE void * - -/* Some machines that use COFF executables require that each section - start on a certain boundary *in the COFF file*. Such machines should - define SECTION_ALIGNMENT to a mask of the low-order bits that must be - zero on such a boundary. This mask is used to control padding between - segments in the COFF file. - - If SECTION_ALIGNMENT is not defined, the segments are written - consecutively with no attempt at alignment. This is right for - unmodified system V. */ - -#define SECTION_ALIGNMENT 0x7 - diff --git a/src/m/celerity.h b/src/m/celerity.h deleted file mode 100644 index 6e378e84fcc..00000000000 --- a/src/m/celerity.h +++ /dev/null @@ -1,60 +0,0 @@ -/* machine description file for Celerity. - Copyright (C) 1985, 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="bsd4-2" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* XINT must explicitly sign extend */ - -#define EXPLICIT_SIGN_EXTEND - -/* celerity preprocessor defines "accel", however the following is clearer */ -#define celerity - -/* #define NO_UNION_TYPE would be preferable, - but it does not work, and the reason is not yet known. */ - -#define NO_UNION_TYPE - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE double - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) - -/* A machine-specific loader switch is needed. */ - -#define LD_SWITCH_MACHINE -k100000 - -/* alloca is provided by the system. */ - -#define HAVE_ALLOCA - -/* (short) negative-int doesn't sign-extend correctly */ -#define SHORT_CAST_BUG diff --git a/src/m/clipper.h b/src/m/clipper.h deleted file mode 100644 index 7dc5e84b07d..00000000000 --- a/src/m/clipper.h +++ /dev/null @@ -1,103 +0,0 @@ -/* machine description file for clipper - Copyright (C) 1985, 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#undef WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically */ - -#define clipper 1 - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* crt0.c should define a symbol `start' and do .globl with a dot. */ - -#define DOT_GLOBAL_START - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -/* #define EXPLICIT_SIGN_EXTEND */ - -/* USG systems I know of running on Vaxes do not actually - support the load average, so disable it for them. */ - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE double - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ /* Karl Kleinpaste says this isn't needed. */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#define C_ALLOCA - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -/* #define NO_REMAP */ - -#ifdef USG -#define TEXT_START 0 -#endif /* USG */ - -#define LD_TEXT_START_ADDR 8000 diff --git a/src/m/cnvrgnt.h b/src/m/cnvrgnt.h deleted file mode 100644 index c6008083291..00000000000 --- a/src/m/cnvrgnt.h +++ /dev/null @@ -1,111 +0,0 @@ -/* machine description file for convergent S series. - Copyright (C) 1989 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -/* #define NO_ARG_ARRAY */ - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically. */ - -#define m68000 - -/* Use type int rather than a union, to represent Lisp_Object. - This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. - These are commented out since it is not supported by this machine. */ - -#define LOAD_AVE_TYPE double - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -#undef VIRT_ADDR_VARIES - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#define C_ALLOCA -#undef HAVE_ALLOCA - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -/* Change some things to avoid bugs in compiler. */ - -#define SWITCH_ENUM_BUG - -/* fork(2) and vfork() are the same here. */ - -#define HAVE_VFORK - -/* grows towards lower addresses. */ - -#define STACK_DIRECTION -1 - -/* some errno.h's don't actually allocate the variable itself. - Cause crt0.c to define errno. */ - -#define NEED_ERRNO diff --git a/src/m/convex.h b/src/m/convex.h deleted file mode 100644 index bd5125a2435..00000000000 --- a/src/m/convex.h +++ /dev/null @@ -1,191 +0,0 @@ -/* machine description file for Convex (all models). - Copyright (C) 1987, 1994 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="bsd4-3" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. - * Maybe it would be better to simply correct the code. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically. */ -#ifndef convex /* The compiler doesn't always do this. */ -#define convex -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -#ifndef __GNUC__ /* David M. Cooke <dcooke@haven.larc.nasa.gov> - and Ralph Sobek <Ralph.Sobek@cerfacs.fr> agree - must ignore one arg when compiled with convex compiler. */ -#define CRT0_DUMMIES ignore, -#else -#define CRT0_DUMMIES -#endif - -/* crt0.c should define a symbol `start' and do .globl with a dot. */ - -#define DOT_GLOBAL_START - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE double - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int) ((x) * 100.0) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/*#define VIRT_ADDR_VARIES*/ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -/* #define C_ALLOCA */ -#define HAVE_ALLOCA - -/* Must use the system's termcap. It does special things. */ - -#define LIBS_TERMCAP -ltermcap - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -/* #define NO_REMAP */ - -/* Addresses on the Convex have the high bit set. */ -#define DATA_SEG_BITS (1 << (BITS_PER_INT-1)) - -/* Right shift is logical shift. - And the usual way of handling such machines, which involves - copying the number into sign_extend_temp, does not work - for reasons as yet unknown. */ - -#define XINT(a) sign_extend_lisp_int (a) - -/* Convex uses a special version of unexec. */ - -#define UNEXEC unexconvex.o - -/* you gotta define 'COFF' for post 6.1 unexec. */ - -#define COFF -#define TEXT_START 0x80001000 - -/* Posix stuff for Convex OS 8.1 and up. */ - -#define LD_SWITCH_MACHINE \ - -e__start -L /usr/lib \ - '-A__iob=___ap$$iob' '-A_use_libc_sema=___ap$$use_libc_sema' - -/* Use <dirent.h>. */ -#define SYSV_SYSTEM_DIR - -#ifdef _POSIX_SOURCE - -/* These symbols have been undefined to advance the state of the art. */ - -#define S_IFMT _S_IFMT -#define S_IFDIR _S_IFDIR - -#define S_IREAD _S_IREAD -#define S_IWRITE _S_IWRITE -#define S_IEXEC _S_IEXEC - -#endif - -/* Ptys may start below ptyp0; call a routine to hunt for where. */ - -#undef FIRST_PTY_LETTER -#define FIRST_PTY_LETTER first_pty_letter() - -#if 0 -/* - * Force a K&R compilation and libraries with the Convex V 4.0 C compiler - */ -#define C_SWITCH_MACHINE -pcc -#define LIB_STANDARD -lc_old -#define LIBS_MACHINE -lC2_old -#define LD_SWITCH_MACHINE -X -NL -fn -Enoposix -A__iob=___ap\$$iob \ - -A_use_libc_sema=___ap\$$use_libc_sema -L /usr/lib -#endif - -/* Avoid error in xrdb.c - d.m.cooke@larc.nasa.gov. */ -#define DECLARE_GETPWUID_WITH_UID_T - -/* Call getpgrp properly. */ -#define GETPGRP_NO_ARG - -/* Tested for both Convex C and GNUC by d.m.cooke@larc.nasa.gov. */ -#define LIBS_MACHINE -lC2 - -/* Avoid error in getloadavg.c. */ -#define NLIST_NAME_UNION 1 - -#if 0 /* This is supposed to be an improvement. - It would be good for people to try enabling this code - and report the results. */ -/* gcc -nostdlib prevents some math symbols from being included. - So we have to use -nostartfiles instead. */ -#define LINKER $(CC) -nostartfiles - -#define ORDINARY_LINK - -#undef LD_SWITCH_MACHINE -#define LD_SWITCH_MACHINE \ - -L /usr/lib \ - '-A__iob=___ap$$iob' '-A_use_libc_sema=___ap$$use_libc_sema' -#endif diff --git a/src/m/cydra5.h b/src/m/cydra5.h deleted file mode 100644 index fe224f28fd9..00000000000 --- a/src/m/cydra5.h +++ /dev/null @@ -1,126 +0,0 @@ -/* machine description file for Cydrome's CYDRA 5 mini super computer - Copyright (C) 1988 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-3" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#undef NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#undef WORD_MACHINE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) x - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/*#define CANNOT_DUMP*/ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that data space precedes text space, - numerically. */ - -#undef VIRT_ADDR_VARIES - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#define C_ALLOCA -#undef HAVE_ALLOCA - -/* The data segment in this machine always starts at address 0x10000000. - An address of data cannot be stored correctly in a Lisp object; - we always lose the high bits. We must tell XPNTR to add them back. */ - -#define DATA_SEG_BITS 0x20000000 -#define DATA_START 0x20000000 - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP -#define BROKEN_FIONREAD /* We son't even have it */ -#define LIBS_MACHINE -lsocket -lnsl - -/* Stack grows downward in memory. */ -#define STACK_DIRECTION -1 - -/* The data section in a coff file must be aligned in the file. */ -#define DATA_SECTION_ALIGNMENT 0xFFF - -/* Compiler won't allow switch (x) when x is an enum. */ -#define SWITCH_ENUM_BUG - - -/* Explain how pty filenames work. */ - -#define PTY_ITERATION for (i = 47; i >= 0; i--) -#define PTY_NAME_SPRINTF sprintf (ptyname, "/dev/pty%03x", i); -#define PTY_TTY_NAME_SPRINTF sprintf (ptyname, "/dev/ptm%03x", i); - -/* We can't do interrupt-driven input, so don't let user try. */ - -#undef SIGIO diff --git a/src/m/delta.h b/src/m/delta.h deleted file mode 100644 index ee883656c30..00000000000 --- a/src/m/delta.h +++ /dev/null @@ -1,206 +0,0 @@ -/* Machine description file for the Motorola Delta. - Tested on mvme147 board using R3V7 without X. Tested with gcc. - Tested on mvme167 board using R3V7 without X. Tested with cc, gnucc, gcc. - Copyright (C) 1986, 1993, 1994 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-3" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -/* #define NO_ARG_ARRAY */ - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -#define m68000 -#define MOTOROLA_DELTA - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -/* #define LOAD_AVE_TYPE long */ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -/* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that data space precedes text space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -/* #define C_ALLOCA */ -/* #define HAVE_ALLOCA */ - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -/* Some really obscure 4.2-based systems (like Sequent DYNIX) - * do not support asynchronous I/O (using SIGIO) on sockets, - * even though it works fine on tty's. If you have one of - * these systems, define the following, and then use it in - * config.h (or elsewhere) to decide when (not) to use SIGIO. - * - * You'd think this would go in an operating-system description file, - * but since it only occurs on some, but not all, BSD systems, the - * reasonable place to select for it is in the machine description - * file. - */ - -/* #define NO_SOCK_SIGIO */ - - -/* Undefine this if you don't want the machine slow down when a buffer - is modified. */ - -#define CLASH_DETECTION - -/* Machine specific stuff */ -#define HAVE_PTYS -#define SYSV_PTYS -#ifdef HAVE_INET_SOCKETS /* this comes from autoconf */ -# define HAVE_SOCKETS /* NSE may or may not have been installed */ -#endif -#define SIGNALS_VIA_CHARACTERS -#define BROKEN_CLOSEDIR /* builtin closedir is interruptible */ -#undef HAVE_BCOPY /* b* functions are just stubs to mem* ones */ -#define bcopy(from,to,bytes) memcpy(to,from,bytes) -#define bzero(to,bytes) memset(to,0,bytes) -#define bcmp memcmp -#define memmove(t,f,s) safe_bcopy(f,t,s) /* for overlapping copies */ -#undef KERNEL_FILE -#define KERNEL_FILE "/sysv68" -#undef LDAV_SYMBOL -#ifdef SIGIO - /* R3V7 has SIGIO, but interrupt input does not work yet. - Let's go on with cbreak code. */ -/* # define INTERRUPT_INPUT */ -#endif - -/* The standard C library is -lc881, not -lc. - -lbsd brings sigblock and sigsetmask. - DO NOT USE -lPW. That version of alloca is broken in versions R3V5, - R3V6, R3V7. -riku@field.fi -pot@cnuce.cnr.it. */ - -#define LIB_STANDARD -lc881 -#define LIB_MATH -lm881 -#define LIBS_TERMCAP -lcurses -#define LIBS_SYSTEM -lbsd -#undef sigsetmask - -#ifdef HAVE_X_WINDOWS -# define HAVE_RANDOM -# define BROKEN_FIONREAD /* pearce@ll.mit.edu says this is needed. */ -# define HAVE_XSCREENNUMBEROFSCREEN -# undef LIB_X11_LIB /* no shared libraries */ -# define LIB_X11_LIB -lX11 -# undef USG_SHARED_LIBRARIES /* once again, no shared libs */ -# undef LIBX11_SYSTEM /* no -lpt as usg5-3.h expects */ -# define LIBX11_SYSTEM -lnls -lnsl_s -#endif /* HAVE_X_WINDOWS */ - -#ifdef __GNUC__ - /* Use builtin alloca. Also be sure that no other ones are tried out. */ -# define alloca __builtin_alloca -# define HAVE_ALLOCA - /* Union lisp objects do not yet work as of 19.15. */ -/* # undef NO_UNION_TYPE */ - - /* We are assuming here that the `true' GNU gcc has not been - installed, and we are using the gnucc provided by Motorola. No - support exists for compiling with GNU gcc, as I do not have it on - my machine to try it out. -pot@cnuce.cnr.it - If __STDC__ is defined gnucc has been called without the -traditional - option, that is, we are inside configure. If THIS_IS_CONFIGURE is - not defined, then configure is trying to figure out what the right - option for real compilation are. - Let us set -traditional, because gmalloc.c includes <stddef.h>, and - we don't have that (as of SYSV68 R3V7). */ -# define C_SWITCH_MACHINE -mfp0ret -traditional -Dconst= -fdelayed-branch -fstrength-reduce -fno-inline -fcaller-saves -# define LIB_GCC /lib/gnulib881 - -#else - /* Not __GNUC__, use the alloca in alloca.s. */ - - /* Try to guess if we are using the Green Hills Compiler */ -# if defined mc68000 && defined MC68000 - /* Required only for use with Green Hills compiler: - -ga Because alloca relies on stack frames. This option forces - the Green Hills compiler to create stack frames even for - functions with few local variables. */ -# define C_SWITCH_MACHINE -ga -O -# define GAP_USE_BCOPY /* *++to = *++from is inefficient */ -# define BCOPY_UPWARD_SAFE 0 -# define BCOPY_DOWNWARD_SAFE 1 /* bcopy does: mov.b (%a1)+,(%a0)+ */ -# else - /* We are using the standard AT&T Portable C Compiler */ -# define SWITCH_ENUM_BUG -# endif - -#endif /* not __GNUC__ */ diff --git a/src/m/delta88k.h b/src/m/delta88k.h deleted file mode 100644 index 10bb6c911a5..00000000000 --- a/src/m/delta88k.h +++ /dev/null @@ -1,178 +0,0 @@ -/* Machine description file for Motorola System V/88 machines - Copyright (C) 1985 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-3" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -#ifndef m88000 /* Some 88k C compilers already define this */ -#define m88000 -#endif - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically. */ - - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -/* #define EXPLICIT_SIGN_EXTEND */ - -/* Data type of load average, as read out of kmem. */ -/* No load average on Motorola machines. */ -/* #define LOAD_AVE_TYPE double */ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ -/* #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) */ - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -/* BEM: Distributed asm alloca doesn't work. Don't know about libPW.a. - C ALLOCA is safe and fast enough for now. */ - -#ifdef __GNUC__ -#define HAVE_ALLOCA /* ... and be sure that no other ones are tried out. */ -#undef C_ALLOCA -#else /* not __GNUC__ */ -#undef HAVE_ALLOCA -#define C_ALLOCA /* Use the alloca() supplied in alloca.c. */ -#define STACK_DIRECTION -1 /* The stack grows towards lower addresses. */ -#endif /* __GNUC__ */ - -/* Motorola SysV has PTYs. Not all usg3-5 systems do, so this is defined - here. */ - -#define HAVE_PTYS -#define SYSV_PTYS - -/* Ditto for IPC. */ - - -/* - * we now have job control in R32V1 - */ -#undef NOMULTIPLEJOBS - -/* - * we have bcopy, bzero, bcmp in libc.a (what isn't in libc.a?) - */ -#define BSTRING - -/* - * sockets are in R32V1 - */ -#define HAVE_SOCKETS - -/* - * we have the wrong name for networking libs - */ -#ifdef USG5_4 -/* rms: not needed; LIB_X11_LIB deals with this. */ -/* #define LIBX11_SYSTEM -lX11 */ -#else -#undef LIB_X11_LIB /* We don't have the shared libs as assumed in usg5-3.h. */ -#undef LIBX11_SYSTEM -#define LIBX11_SYSTEM -lnsl -lbsd -#endif /* USG5_4 */ - -#define BROKEN_FIONREAD - -/* previously defined in usg5-4, if we choose to use that. */ -#ifndef LIBS_SYSTEM -#ifdef USG5_4 -#define LIBS_SYSTEM -lsocket -lnsl -#else -#define LIBS_SYSTEM -lbsd -lg -#endif /* USG5_4 */ -#endif - -#define HAVE_TERMIOS -#undef HAVE_TERMIO -#define NO_TERMIO -#undef sigsetmask - -#define NO_SIOCTL_H - -#ifdef USG5_4 -#ifdef HAVE_X_WINDOWS -#else -#undef BSTRING -#endif /* HAVE_X_WINDOWS */ -#endif /* USG5_4 */ - -#define NO_PTY_H - -#define USE_GETOBAUD diff --git a/src/m/dpx2.h b/src/m/dpx2.h deleted file mode 100644 index 978b2fc88fd..00000000000 --- a/src/m/dpx2.h +++ /dev/null @@ -1,240 +0,0 @@ -/* machine description for Bull DPX/2 range - Copyright (C) 1985, 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-3" */ - -/* - * You need to either un-comment one of these lines, or copy one - * of them to config.h before you include this file. - * Note that some simply define a constant and others set a value. - */ - -/* #define ncl_el /* DPX/2 210,220 etc */ -/* #define ncl_mr 1 /* DPX/2 320,340 (and 360,380 ?) */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE /**/ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -/* /bin/cc on ncl_el and ncl_mr define m68k and mc68000 */ - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define FSCALE 1000.0 -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/*#define CANNOT_DUMP /**/ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES /**/ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#define C_ALLOCA -/* #define HAVE_ALLOCA /**/ - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -/* - * end of the standard macro's - */ - -/* - * a neat identifier to handle source mods (if needed) - */ -#ifndef DPX2 -#define DPX2 -#endif - -/* Disable support for shared libraries in unexec. */ - -#undef USG_SHARED_LIBRARIES - -/* - * if we use X11, libX11.a has these... - */ -# undef LIB_X11_LIB -# define LIB_X11_LIB -lX11 -# undef LIBX11_SYSTEM -# define LIBX11_SYSTEM -lmalloc -lnsl -# define BSTRING -# define HAVE_GETWD - -/* - * we must have INET loaded so we have sockets - */ -# define HAVE_SOCKETS - -/* - * useful if you have INET loaded - */ -# define LIBS_MACHINE -linet - - -#if (defined(ncl_mr) || defined(ncl_el)) && !defined (NBPC) -# define NBPC 4096 -#endif - -/* - * if SIGIO is defined, much of the emacs - * code assumes we are BSD !! - */ -#ifdef SIGIO -# undef SIGIO -#endif - - -/* - * a good idea on multi-user systems :-) - */ -#define CLASH_DETECTION /* probably a good idea */ - - -#ifdef SIGTSTP -/* - * sysdep.c(sys_suspend) works fine with emacs-18.58 - * and BOS 02.00.45, if you have an earler version - * of Emacs and/or BOS, or have problems, or just prefer - * to start a sub-shell rather than suspend-emacs, - * un-comment out the next line. - */ -/* # undef SIGTSTP /* make suspend-emacs spawn a sub-shell */ -# ifdef NOMULTIPLEJOBS -# undef NOMULTIPLEJOBS -# endif -#endif -/* - * no we don't want this at all - */ -#ifdef USG_JOBCTRL -# undef USG_JOBCTRL -#endif - -/* - * but we have that -*/ -#define GETPGRP_NO_ARG - -/* select also needs this header file--but not in ymakefile. */ -#ifndef NOT_C_CODE -#include <sys/types.h> -#include <sys/select.h> -#endif - -#define TEXT_START 0 - -/* - * Define the direction of stack growth. - */ - -#define STACK_DIRECTION -1 - -/* we have termios */ -#undef HAVE_TERMIO -#define HAVE_TERMIOS -#define HAVE_TCATTR - -/* we also have this */ -#define HAVE_PTYS -#define SYSV_PTYS - -/* It doesn't seem we have sigpause */ -#undef HAVE_SYSV_SIGPAUSE - -#define POSIX_SIGNALS - -/* We don't need the definition from usg5-3.h with POSIX_SIGNALS. */ -#undef sigsetmask - - -/* on bos2.00.45 there is a bug that makes the F_SETOWN fcntl() call - enters in an infinite loop. Avoid calling it */ -#define F_SETOWN_BUG - -/* system closedir sometimes complains about wrong descriptor - for no apparent reasons. Use the provided closedir in sysdep.c instead */ -#ifdef HAVE_CLOSEDIR -#undef HAVE_CLOSEDIR -#endif - -/* Send signals to subprocesses by "typing" signal chars at them. */ -#define SIGNALS_VIA_CHARACTERS - -/* This is to prevent memory clobbering on the DPX/2 200. */ -#define LD_SWITCH_MACHINE -N -T32 - - /* end of dpx2.h */ - - diff --git a/src/m/dual.h b/src/m/dual.h deleted file mode 100644 index a2c022f08ed..00000000000 --- a/src/m/dual.h +++ /dev/null @@ -1,69 +0,0 @@ -/* machine description file for Dual machines using unisoft port. - Copyright (C) 1985 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -Dual running System V (-machine=dual -opsystem=usg5-2) - - As of 17.46, this works except for a few changes - needed in unexec.c. - -Dual running Uniplus (-machine=dual -opsystem=unipl5-2) - - Works, as of 17.51. -NOTE-END */ - - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* XINT must explicitly sign-extend */ - -#define EXPLICIT_SIGN_EXTEND - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - vax, m68000, ns16000 are the ones defined so far. */ - -#ifndef m68000 -#define m68000 -#endif - -/* Data type of load average, as read out of kmem. */ -/* These are commented out since it does not really work in uniplus */ - -/* #define LOAD_AVE_TYPE long */ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -/* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */ - -/* Change some things to avoid bugs in compiler */ - -#define SWITCH_ENUM_BUG 1 diff --git a/src/m/elxsi.h b/src/m/elxsi.h deleted file mode 100644 index dc27d25bad7..00000000000 --- a/src/m/elxsi.h +++ /dev/null @@ -1,139 +0,0 @@ -/* machine description file for Elxsi machine (running enix). - Copyright (C) 1986, 1992 Free Software Foundation, Inc. - Adapted by John Salmon - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-2" */ - -/* This file was modified by Matt Crawford <matt@tank.uchicago.edu> - to work under Elxsi's 12.0 release of BSD unix. */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#undef WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -/*#define NO_ARG_ARRAY */ - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/*#define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO - are the ones defined so far. */ - -#ifndef elxsi -#define elxsi -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - - -/* Name of kernel load average variable */ - -#undef LDAV_SYMBOL -#define LDAV_SYMBOL "avenrun" - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE double - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int) ((x) * 100.0) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. - - Earlier versions couldn't dump. - Changes for 12.0 release are in 19.1. - Dumping should work now. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#define C_ALLOCA -/*#define HAVE_ALLOCA */ - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ -/*#define NO_REMAP*/ - -/* This is a guess for an alternate solution to whatever - problem motivated defining _sobuf in sysdep,c with extern char *_sobuf. */ -#define _sobuf xsobuf - -/* Address of start of text segment as loaded. */ - -#define TEXT_START 0x800 - -/* Tell crt0.c not to define environ. */ - -#define DONT_NEED_ENVIRON - -/* The elxsi has no debugger, so might as well optimize instead - of trying to make a symbol table. */ - -#define C_DEBUG_SWITCH -O - -/* Elxsi uses COFF under both Sys V and BSD environments */ - -#define COFF - -#define ADJUST_EXEC_HEADER {\ -extern int _init_brk;\ -_init_brk = bss_start;\ -} diff --git a/src/m/gec63.h b/src/m/gec63.h deleted file mode 100644 index c0ca4280911..00000000000 --- a/src/m/gec63.h +++ /dev/null @@ -1,70 +0,0 @@ -/* machine description file for gec63 - Copyright (C) 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-2" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Say this machine is a 68000 */ - -#define gec63 - -/* Use an int to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* GEC63 has alloca in the PW/ux63 library. */ -#define LIB_STANDARD -lPW -lc -#define HAVE_ALLOCA - -/* Do not define LOAD_AVE_TYPE or LOAD_AVE_CVT - since there is no /dev/kmem */ - -#undef ADDR_CORRECT(x) -#define NO_ARG_ARRAY - -#undef TERMCAP -#define TERMINFO - -#define NO_REMAP - -/* The rest of the file certainly needs updating for Emacs 19.29! */ - -/* Define sizes of portions of a Lisp_Object. */ -#define VALBITS 24 - -#define VALAMASK (((1<<VALBITS) - 1)| 0xF0000000L) - -#define XTYPE(a) ((enum Lisp_Type) (((a) >> VALBITS) & GCTYPEMASK)) -#define XSETTYPE(a, b) ((a) = ((a) & VALAMASK) + ((int)(b) << VALBITS)) - -#define XPNTR(a) ((a) & VALAMASK) - -#define XSET(var, type, ptr) \ - ((var) = ((int)(type) << VALBITS) + ((int) (ptr) & VALAMASK)) - -/* Move some garbage-collector flag bits to different bit positions. */ -#define ARRAY_MARK_FLAG (1 << 27) diff --git a/src/m/gould-np1.h b/src/m/gould-np1.h deleted file mode 100644 index 014fa68fb53..00000000000 --- a/src/m/gould-np1.h +++ /dev/null @@ -1,87 +0,0 @@ -/* machine description file for Gould NP1 with UTX/32 3.0 (first release for NP1). */ - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="bsd4-3" */ - -/* If your system uses COFF (Common Object File Format) then define the - preprocessor symbol "COFF". */ -/* UTX 3.0 uses a cross between COFF and a.out format, but closer to COFF. */ -/* at least currently, already defined by cpp, but make sure */ -#ifndef COFF -#define COFF -#endif COFF - -#include "gould.h" - -/* undefine what gould.h defined */ -#undef ADJUST_EXEC_HEADER - -/* If your system uses COFF (Common Object File Format) then define the - preprocessor symbol "COFF". */ -/* UTX 3.0 uses a cross between COFF and a.out format, but closer to COFF. */ -#ifndef COFF /* at least currently, already defined by cpp */ -#define COFF -#endif COFF - -/* make Gould NP1 and PN COFF look like USG COFF */ -/* NP1 COFF */ -#undef aouthdr /* Since gould.h already defined these */ -#undef a_dtbase - -#ifdef IN_UNEXEC -#define aouthdr exec -#define ADJUST_TEXT_SCNHDR_SIZE - -/* Gould COFF - these are already defined in gould.h */ -/* - * #define COFF_WITH_BSD_SYMTAB - * #define HEADER_INCL_IN_TEXT - * #define magic a_magic - * #define tsize a_text - * #define dsize a_data - * #define bsize a_bss - * #define entry a_entry - * #define text_start a_txbase - * #define data_start a_dtbase -*/ -/* End Gould COFF */ -#endif /* IN_UNEXEC */ - -/* NP1 supports a slightly different set than PowerNode */ -#define BAUD_CONVERT { 0, 50, 75, 110, 134, 150, 300, 450, 600, 1200, \ - 1800, 2000, 2400, 3600, 4800, 7200, 9600, \ - 19200, 38400 } - -#define LD_SWITCH_SYSTEM -BS -e start - -/* Undef C_DEBUG_SWITCH because it may have been set in gould.h */ -/* It will compile and load and works with dbx. Runs under an incomplete - port of gdb, but gdb doesn't always find things correctly. */ -#undef C_DEBUG_SWITCH -#define C_DEBUG_SWITCH -g -#define LIBS_DEBUG -lg - - -/* The data segment in this machine always starts at address 0x1000000 = 16M. - An address of data cannot be stored correctly in a Lisp object; - we always lose the high bits. We must tell XPNTR to add them back. */ - -#define DATA_SEG_BITS 0x1000000 -#define DATA_START 0x1000000 - -/* The text segment always starts at 0. - This way we don't need to have a label _start defined. */ -#define TEXT_START 0 - -/* Data isn't right next to text on an NP1 */ -#define NO_REMAP - -/* The bcopy bug has reappeared */ -#undef BSTRING - -#ifndef GOULD_NP1 -#define GOULD_NP1 -#endif - - diff --git a/src/m/gould.h b/src/m/gould.h deleted file mode 100644 index e208b9ea996..00000000000 --- a/src/m/gould.h +++ /dev/null @@ -1,195 +0,0 @@ -/* machine description file for Gould PowerNodes with UTX/32 2.0 and 2.1. - (See MACHINES for older versions.) - -* NOTE: If you are running a pre-release of UTX/32 2.1 you should #define -* RELEASE2_1 in config.h. This may also be necessary with un-updated -* official releases of 2.1 - - Copyright (C) 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -Gould Power Node (-machine=gould -opsystem=bsd4-2 or bsd4-3) -(gould.h; s-bsd4-2.h or s-bsd4-3.h) - - 18.36 worked on versions 1.2 and 2.0 of the operating system. - - On UTX/32 2.0, use -opsystem=bsd4-3 - - On UTX/32 1.2 and UTX/32S 1.0, use -opsystem=bsd4-2 and note that compiling - lib-src/sorted-doc tickles a compiler bug: remove the -g flag to cc in the - makefile. - - UTX/32 1.3 has a bug in the bcopy library routine. Fix it by - #undef BSTRING in gould.h. - - Version 19 incorporates support for releases 2.1 and later of UTX/32. - A site running a pre-release of 2.1 should #define RELEASE2_1 in config.h. -NOTE-END */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically */ - -#ifndef GOULD -#define GOULD -#endif - -/* sel is an old preprocessor name on gould machines - - it is no longer needed and interferes with a variable in xmenu.c */ -#undef sel - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE double - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -#define VIRT_ADDR_VARIES - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#define C_ALLOCA -#define STACK_DIRECTION -1 /* grows towards lower addresses on Gould UTX/32 */ - -/* No need to extend the user stack. */ - -/* If this is a 2.1 system, COFF will be predefined by cpp. If it's */ -/* pre-2.1 COFF won't be defined, which is as it should be. */ - -#ifdef COFF - -#define HEADER_INCL_IN_TEXT -#define COFF_BSD_SYMBOLS - -/* Seems to be necessary with coff */ -#define NO_REMAP - -#ifndef GOULD_NP1 -/* gould-np1.h includes this file */ -/* keep the old value - don't skip over the headers */ -#define KEEP_OLD_TEXT_SCNPTR -#define KEEP_OLD_PADDR -#ifndef RELEASE2_1 -#define ADJUST_TEXTBASE -#endif /*RELEASE2_1*/ -#endif /* GOULD_NP1 */ - -#ifdef IN_UNEXEC -/* make Gould NP and PN COFF look like USG COFF */ -/* PN COFF */ -#define aouthdr old_exec -/* PN COFF doesn't have a data_start or a_dtbase field in its */ -/* optional header, so substitute a junk field */ -#define a_dtbase a_ccvers -/* Gould COFF */ -#define magic a_magic -#define tsize a_text -#define dsize a_data -#define bsize a_bss -#define entry a_entry -#define text_start a_txbase -#define data_start a_dtbase -#endif /* IN_UNEXEC */ - -/* Define how to search all pty names. - * This is for UTX 2.1 and greater on PN and all NP versions. It is only - * accident that this happens to correspond to the same versions of UTX - * as COFF does, but we'll take advantage of that here. - */ - -/*#define USE_PTY_PAIR*/ - -#endif /* COFF */ - -/* -g is sometimes broken on the Gould. */ - -#define C_DEBUG_SWITCH - -/* Comparing pointers as unsigned ints tickles a bug in older compilers. */ - -#define PNTR_COMPARISON_TYPE int - -/* The GOULD machine counts the a.out file header as part of the text. */ - -#define A_TEXT_OFFSET(HDR) sizeof (HDR) - -/* Machine-dependent action when about to dump an executable file. */ - -#ifndef COFF -#define ADJUST_EXEC_HEADER \ - unexec_text_start = hdr.a_txbase + sizeof (hdr); -#endif - -/* We use the system's crt0.o. Somehow it avoids losing - with `environ' the way most standard crt0.o's do. */ - -#define START_FILES pre-crt0.o /lib/crt0.o diff --git a/src/m/hp800.h b/src/m/hp800.h deleted file mode 100644 index 3f2d9f7f5e6..00000000000 --- a/src/m/hp800.h +++ /dev/null @@ -1,183 +0,0 @@ -/* machine description file for hp9000 series 800 machines. - Copyright (C) 1987 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="hpux" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#undef WORD_MACHINE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ -#ifndef hp9000s800 -# define hp9000s800 -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* The standard definitions of these macros would work ok, - but these are faster because the constants are short. */ - - -#define XUINT(a) (((unsigned)(a) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS) - -#define XSET(var, type, ptr) \ - ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS)) - -#define XMARKBIT(a) ((a) < 0) -#define XSETMARKBIT(a,b) ((a) = ((b) ? (a)|MARKBIT : (a) & ~MARKBIT)) - -#if 0 /* Loses when sign bit of type field is set. */ -#define XUNMARK(a) ((a) = (((a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS)) -#endif - -/* Define the BSTRING functions in terms of the sysV functions. */ -/* On HPUX 8.05, including types.h can include strings.h - which declares these as functions. Hence the #ifndef. */ - -#ifndef HAVE_BCOPY -#define bcopy(a,b,s) memcpy (b,a,s) -#define bzero(a,s) memset (a,0,s) -#define bcmp memcmp -#endif - -#ifdef __hpux -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ -#ifndef hp9000s800 -# define hp9000s800 -#endif - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE double - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) ((int) (x * 100.0)) - - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -#undef CANNOT_DUMP - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -#define VIRT_ADDR_VARIES - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#define C_ALLOCA -/* #define HAVE_ALLOCA */ - -/* the data segment on this machine always starts at address 0x40000000. */ - -#define DATA_SEG_BITS 0x40000000 - -#define DATA_START 0x40000000 -#define TEXT_START 0x00000000 - -#define STACK_DIRECTION 1 - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -/* This machine requires completely different unexec code - which lives in a separate file. Specify the file name. */ - -#define UNEXEC unexhp9k800.o - -#define LIBS_MACHINE -#define LIBS_DEBUG - -/* Include the file bsdtty.h, since this machine has job control. */ -#define NEED_BSDTTY - -/* The symbol in the kernel where the load average is found - is named _avenrun. At this time there are two major flavors - of hp-ux (there is the s800 and s300 (s200) flavors). The - differences are thusly moved to the corresponding machine description file. -*/ - -/* no underscore please */ -#define LDAV_SYMBOL "avenrun" - -#if 0 /* Supposedly no longer true. */ -/* In hpux, for unknown reasons, S_IFLNK is defined even though - symbolic links do not exist. - Make sure our conditionals based on S_IFLNK are not confused. - - Here we assume that stat.h is included before config.h - so that we can override it here. */ - -#undef S_IFLNK -#endif - -/* On USG systems these have different names. */ - -#define index strchr -#define rindex strrchr - -#endif /* __hpux */ diff --git a/src/m/hp9000s300.h b/src/m/hp9000s300.h deleted file mode 100644 index e4db86a959a..00000000000 --- a/src/m/hp9000s300.h +++ /dev/null @@ -1,230 +0,0 @@ -/* machine description file for hp9000 series 200 or 300 on either HPUX or BSD. - Copyright (C) 1985 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -HP 9000 series 200 or 300 (-machine=hp9000s300) - - These machines are 68000-series CPUs running HP-UX - (a derivative of sysV with some BSD features) or BSD 4.3 ported by Utah. - - If you're running HP-UX, specify `-opsystem=hpux'. - If you're running BSD, specify `-opsystem=bsd4-3'. -NOTE-END */ - -/* I don't understand why we have to do this at all! -JimB */ -#if 0 - -/* Do this here at the top of the file; including sys/wait.h may - include <endian.h>, which defines BIG_ENDIAN, which will conflict - with our definition of BIG_ENDIAN if we do this at the bottom. */ -#ifndef NOT_C_CODE -#ifndef NO_SHORTNAMES -#include <sys/wait.h> -#define WAITTYPE int -#endif -#define WRETCODE(w) (((w) >> 8) & 0377) -#endif - -#endif - -/* Define NOMULTIPLEJOBS on versions of HPUX before 6.5. */ - -/* #define NOMULTIPLEJOBS */ - -/* Define this symbol if you are running a version of HP-UX - which predates version 6.01 */ - -/* #define HPUX_5 */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -/* #define NO_ARG_ARRAY */ - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically. */ - -#ifndef hp9000s300 -#define hp9000s300 -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* For University of Utah 4.3bsd implementation on HP300s. - The #ifndef __GNUC__ definitions are required for the "standard" cc, - a very old, brain-dead version of PCC. */ - -#ifdef BSD4_3 - -/* Tell crt0.c that this is an ordinary 68020. */ -#undef hp9000s300 -#define m68000 - -#define CRT0_DUMMIES bogus_a6, - -#define HAVE_ALLOCA - -#ifndef __GNUC__ -#define LIBS_DEBUG /* don't have -lg that works */ -#define C_DEBUG_SWITCH /* don't support -g */ -#endif - -#undef LOAD_AVE_TYPE -#undef LOAD_AVE_CVT -#define LOAD_AVE_TYPE long -#define LOAD_AVE_CVT(x) ((int) (((double) (x)) / 2048.0 * 100.0)) - -#endif /* BSD4_3 */ - -#ifndef BSD4_3 -/* The following definitions are for HPUX only. */ - -/* The symbol in the kernel where the load average is found - is named _avenrun on this machine. */ - -#define LDAV_SYMBOL "_avenrun" - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE double - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) - -#ifdef __GNUC__ -#define HAVE_ALLOCA -#endif - -/* This library is needed with -g, on the 200/300 only. */ - -#if !defined(__GNUC__) || defined(__HPUX_ASM__) -#define LIBS_DEBUG /usr/lib/end.o -#endif - -/* Need a TEXT_START. On the HP9000/s300 that is 0. */ -#ifdef __GNUC__ -#define TEXT_START 0 -#endif - -/* The symbol FIONREAD is defined, but the feature does not work - on the 200/300. */ - -#define BROKEN_FIONREAD - -/* In older versions of hpux, for unknown reasons, S_IFLNK is defined - even though symbolic links do not exist. - Make sure our conditionals based on S_IFLNK are not confused. - - Here we assume that stat.h is included before config.h - so that we can override it here. - - Version 6 of HP-UX has symbolic links. */ - -#ifdef HPUX_5 -#undef S_IFLNK -#endif - -/* Define the BSTRING functions in terms of the sysV functions. - Version 6 of HP-UX supplies these in the BSD library, - but that library has reported bugs in `signal'. */ - -/* #ifdef HPUX_5 */ -#define bcopy(a,b,s) memcpy (b,a,s) -#define bzero(a,s) memset (a,0,s) -#define bcmp memcmp -/* #endif */ - -/* On USG systems these have different names. - Version 6 of HP-UX supplies these in the BSD library, - which we currently want to avoid using. */ - -/* #ifdef HPUX_5 */ -#define index strchr -#define rindex strrchr -/* #endif */ - -/* Define C_SWITCH_MACHINE to be +X if you want the s200/300 - * Emacs to run on both 68010 and 68020 based hp-ux's. - * - * Define OLD_HP_ASSEMBLER if you have an ancient assembler - * - * Define HPUX_68010 if you are using the new assembler but - * compiling for a s200 (upgraded) or s310. 68010 based - * processor without 68881. - */ - -/* These switches increase the size of some internal C compiler tables. - They are required for compiling the X11 interface files. */ - -#ifndef HPUX_5 -#ifndef __GNUC__ -#define C_SWITCH_MACHINE -Wc,-Nd4000,-Ns3000 -#endif -#endif - -/* Define NEED_BSDTTY if you have such. */ - -#ifndef NOMULTIPLEJOBS -#define NEED_BSDTTY -#endif - -#endif /* not BSD4_3 */ diff --git a/src/m/i860.h b/src/m/i860.h deleted file mode 100644 index f1ce0c04fb1..00000000000 --- a/src/m/i860.h +++ /dev/null @@ -1,107 +0,0 @@ -/* machine description file for i860. - Copyright (C) 1985, 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="<name of system .h file here, without the s- or .h>" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#undef WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -#define INTEL860 - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#define C_ALLOCA -/* #define HAVE_ALLOCA */ - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -/* The X11 include files for i860-sysv4 need the macro SVR4 defined. - --Kaveh Ghazi (ghazi@noc.rutgers.edu) 8/9/94. */ -#ifdef USG5_4 -#ifndef SVR4 -#define SVR4 -#endif -#endif diff --git a/src/m/ibm370aix.h b/src/m/ibm370aix.h deleted file mode 100644 index 57b5ff67b9d..00000000000 --- a/src/m/ibm370aix.h +++ /dev/null @@ -1,38 +0,0 @@ -/* m/ file for IBM 370 running AIX. */ - -#include "ibmps2-aix.h" - -#define AIX - -/* Include unistd.h, even though we don't define POSIX. */ -#define NEED_UNISTD_H - -/* these were defined in "ibmps2-aix.h" */ -#undef INTEL386 -#undef aix386 - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -#undef TEXT_START -#undef SEGMENT_MASK -#undef DATA_SECTION_ALIGNMENT - -#define TEXT_START 0 -#define SEGMENT_MASK 0 -#define DATA_SECTION_ALIGNMENT 0x00001000 - -#undef LOAD_AVE_CVT -#undef LOAD_AVE_TYPE -/* Data type of load average, as read out of kmem. */ -#define LOAD_AVE_CVT(x) (int)(((double) (x)) * 100.0 / 1.0) -#define LOAD_AVE_TYPE double - -#undef LIBS_MACHINE -#define LIBS_MACHINE -#undef HAVE_VFORK - -#undef LD_SWITCH_MACHINE -#define LD_SWITCH_MACHINE -xa diff --git a/src/m/ibmps2-aix.h b/src/m/ibmps2-aix.h deleted file mode 100644 index 72587ae31ae..00000000000 --- a/src/m/ibmps2-aix.h +++ /dev/null @@ -1,244 +0,0 @@ -/* machine description file for ibm ps/2 aix386. - Copyright (C) 1989 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START - Use -opsystem=usg5-3 on AIX 1.2. - -opsystem=usg5-2-2 should work on either AIX 1.1 or 1.2, but may not - work with certain new X window managers, and may be suboptimal. -NOTE-END */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#undef WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -/* #define NO_ARG_ARRAY */ - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -#define INTEL386 -#define aix386 - -#define IBMAIX - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* crt0.c, if it is used, should use the i386-bsd style of entry. - with no extra dummy args. On USG and XENIX, - NO_REMAP says this isn't used. */ - -#define CRT0_DUMMIES bogus_fp, - -/* crt0.c should define a symbol `start' and do .globl with a dot. */ - -#define DOT_GLOBAL_START - -/* USG systems do not actually support the load average, -so disable it for them. */ - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define addresses, macros, change some setup for dump */ - -#define NO_REMAP -#undef static - /* Since NO_REMAP, problem with statics doesn't exist */ - -#ifdef USG5_3 -#define TEXT_START 0x00000000 -#else -#define TEXT_START 0x00400000 -#define TEXT_END 0 -#define DATA_START 0x00800000 -#define DATA_END 0 - -/* The data segment in this machine always starts at address 0x00800000. - An address of data cannot be stored correctly in a Lisp object; - we always lose the high bits. We must tell XPNTR to add them back. */ - -#define DATA_SEG_BITS 0x00800000 -#endif - -#if 0 /* I refuse to promulgate a recommendation that would make - users unable to debug - RMS. */ -/* delete the following line to foil optimization, enable debugging */ -#define C_DEBUG_SWITCH -O -#endif - -#define BSTRING -#define HAVE_VFORK -#undef HAVE_TERMIO -#define HAVE_TERMIOS - -/* Send signals to subprocesses by "typing" special chars at them. */ - -#define SIGNALS_VIA_CHARACTERS - -/* - * Define SYSV_SYSTEM_DIR to use the V.3 getdents/readir - * library functions. Almost, but not quite the same as - * the 4.2 functions - */ -#define SYSV_SYSTEM_DIR - -/* - * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate - * The 4.2 opendir, etc., library functions. - */ -#undef NONSYSTEM_DIR_LIBRARY - -/* AIX utimes allegedly causes SIGSEGV. */ -#undef HAVE_UTIMES /* override configuration decision */ - -/* AIX defines FIONREAD, but it does not work. */ -#define BROKEN_FIONREAD - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long /* For AIX (sysV) */ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int) (((double) (x)/65535.0) * 100.0) - -/* This page was added in June 1990. It may be incorrect for some versions - of aix, so delete it if it causes trouble. */ - -/* AIX has sigsetmask() */ -#undef sigsetmask - -/* AIX386 has BSD4.3 PTYs */ - -#define HAVE_PTYS - -/* AIX has IPC. It also has sockets, and either can be used for client/server. - I would suggest the client/server code be changed to use HAVE_SOCKETS rather - than BSD as the conditional if sockets provide any advantages. */ - -#define HAVE_SYSVIPC - -/* AIX has sockets */ - -#define HAVE_SOCKETS -/* #define SKTPAIR */ /* SKTPAIR works, but what is advantage over pipes? */ - -/* Specify the font for X to use. */ - -#define X_DEFAULT_FONT "8x13" - -/* AIX has a wait.h. */ - -#define HAVE_WAIT_HEADER - -/* sioctl.h should not be included, says bytheway@cs.utah.edu. */ -#undef NEED_SIOCTL -/* I'm guessing that that means it doesn't want ptem.h either. */ -#undef NEED_PTEM_H - -/* aix has `union wait' */ -#define HAVE_UNION_WAIT - -/* Here override various assumptions in ymakefile */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#ifdef __GNUC__ -#define HAVE_ALLOCA -#define alloca(n) __builtin_alloca(n) -#if __GNUC__ < 2 -#define LIB_STANDARD /usr/local/lib/gcc-gnulib -lbsd -lrts -lc -#endif -/* -g fails to work, so it is omitted. */ -/* tranle says that -fstrength-reduce does not help. */ -#define C_DEBUG_SWITCH -#else -#define C_ALLOCA -#define STACK_DIRECTION -1 /* tell alloca.c which way it grows */ -#define LIBS_MACHINE -lbsd -lrts -#endif - -#define OBJECTS_MACHINE hftctl.o -#define LD_SWITCH_MACHINE -T0x00400000 -K -e start -#define LIBS_DEBUG /* no -lg on aix ps/2 */ - -#ifdef USG5_3 -#define XICCC -#define HAVE_GETWD -#undef LD_SWITCH_MACHINE -#define LD_SWITCH_MACHINE -T0x0 -K -e start - -/* Things defined in s-usg5-3.h that need to be overridden. */ -#undef NOMULTIPLEJOBS -#undef BROKEN_TIOCGETC -#undef BROKEN_TIOCGWINSZ -#undef LIBX10_SYSTEM -#undef LIBX11_SYSTEM -#undef LIB_X11_LIB -#endif - -/* Shared libraries are supported in a patch release of ps/2 1.2.1. - If the system has them, the user can turn them on, and this code - will make them work. */ -#define USG_SHARED_LIBRARIES /* Assume that by 19's release everyone has this. */ - -#ifdef USG_SHARED_LIBRARIES -#define ORDINARY_LINK -#undef LIB_STANDARD -#undef LD_SWITCH_MACHINE -#if __GNUC__ > 1 -#define LD_SWITCH_MACHINE -shlib -#endif -#endif diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h deleted file mode 100644 index 13ea5324955..00000000000 --- a/src/m/ibmrs6000.h +++ /dev/null @@ -1,186 +0,0 @@ -/* R2 AIX machine/system dependent defines - Copyright (C) 1988 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="aix3-1" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#ifdef USG5_4 -#undef WORDS_BIG_ENDIAN -#else -#define WORDS_BIG_ENDIAN -#endif - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically. */ - -#define IBMR2AIX - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ -#ifdef USG5_4 -#define CANNOT_DUMP -#endif - -#ifndef UNEXEC -#define UNEXEC unexaix.o -#endif - -/* Define addresses, macros, change some setup for dump */ - -#define NO_REMAP - -#ifndef USG5_4 -#define TEXT_START 0x10000000 -#define TEXT_END 0 -#define DATA_START 0x20000000 -#define DATA_END 0 -#endif - -/* The data segment in this machine always starts at address 0x20000000. - An address of data cannot be stored correctly in a Lisp object; - we always lose the high bits. We must tell XPNTR to add them back. */ - -#ifndef USG5_4 -#define DATA_SEG_BITS 0x20000000 -#else -#define DATA_SEG_BITS 0 -#endif - -#ifdef CANNOT_DUMP -/* Define shared memory segment symbols */ - -#define PURE_SEG_BITS 0x30000000 - -/* Use shared memory. */ -/* This is turned off because it does not always work. See etc/AIX.DUMP. */ -/* #define HAVE_SHM */ -#define SHMKEY 5305035 /* used for shared memory code segments */ -#endif /* CANNOT_DUMP */ - -#define N_BADMAG(x) BADMAG(x) -#define N_TXTOFF(x) A_TEXTPOS(x) -#define N_SYMOFF(x) A_SYMPOS(x) -#define A_TEXT_OFFSET(HDR) sizeof(HDR) -/* #define ADJUST_EXEC_HEADER \ - unexec_text_start += sizeof(hdr); \ - unexec_data_start = ohdr.a_dbase -*/ -#undef ADDR_CORRECT -#define ADDR_CORRECT(x) ((int)(x)) - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -/* Note: aix3-2.h defines HAVE_ALLOCA; aix3-1.h doesn't. */ -#ifndef HAVE_ALLOCA -#define C_ALLOCA -#define STACK_DIRECTION -1 /* tell alloca.c which way it grows */ -#endif - -/* Specify the font for X to use. - This used to be Rom14.500; that's nice on the X server shipped with - the RS/6000, but it's not available on other servers. */ -#define X_DEFAULT_FONT "fixed" - -/* Here override various assumptions in ymakefile */ - -#ifdef AIXHFT -#define OBJECTS_MACHINE hftctl.o -#endif - -#ifndef USG5_4 -#define C_SWITCH_MACHINE -D_BSD -#endif - -#ifdef AIX3_2 -/* -lpthreads seems to be necessary for Xlib in X11R6, and should be harmless - on older versions of X where it happens to exist. */ -#ifdef HAVE_LIBPTHREADS -#define LIBS_MACHINE -lrts -lIM -liconv -lpthreads -#else -/* IBM's X11R5 use -lIM and -liconv in AIX 3.2.2. */ -#define LIBS_MACHINE -lrts -lIM -liconv -#endif -#else -#ifdef USG5_4 -#define LIBS_MACHINE -#else -#define LIBS_MACHINE -lIM -#endif -#endif - -#define START_FILES -#define HAVE_SYSVIPC -#define HAVE_GETWD -/*** BUILD 9008 - FIONREAD problem still exists in X-Windows. ***/ -#define BROKEN_FIONREAD - -/* Don't try to include sioctl.h or ptem.h. */ -#undef NEED_SIOCTL -#undef NEED_PTEM_H - -#define ORDINARY_LINK - -#ifndef USG5_4 -/* sfreed@unm.edu says add -bI:/usr/lpp/X11/bin/smt.exp for AIX 3.2.4. */ -/* marc@sti.com (Marc Pawliger) says ibmrs6000.inp is needed to avoid - linker error for updated X11R5 libraries, which references pthread library - which most machines don't have. We use the name .inp instead of .imp - because .inp is a better convention to use in make-dist for naming - random input files. */ -#ifdef AIX4 -#define LD_SWITCH_MACHINE -Wl,-bnodelcsect -#else /* not AIX4 */ -#ifdef HAVE_AIX_SMT_EXP -#define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp,-bI:/usr/lpp/X11/bin/smt.exp -#else -#define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp -#endif -#endif /* not AIX4 */ - -/* Avoid gcc 2.7.x collect2 bug by using /bin/ld instead. */ -#if __GNUC__ == 2 && __GNUC_MINOR__ == 7 -#define LD_SWITCH_SITE -B/bin/ -#endif - -/* AIX supposedly doesn't use this interface, but on the RS/6000 - it apparently does. */ -#define NLIST_STRUCT -#endif /* USG5_4 */ diff --git a/src/m/ibmrt-aix.h b/src/m/ibmrt-aix.h deleted file mode 100644 index 6c655ea67fc..00000000000 --- a/src/m/ibmrt-aix.h +++ /dev/null @@ -1,173 +0,0 @@ -/* RTPC AIX machine/system dependent defines - Copyright (C) 1988 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-2-2" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically. */ - -#ifndef IBMAIX -#define IBMAIX -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* No load average information appears in the AIX kernel. VRM has this - info, and if anyone desires they should fix fns.c to get it out of VRM */ - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define addresses, macros, change some setup for dump */ - -#undef COFF -#define NO_REMAP -#undef static - /* Since NO_REMAP, problem with statics doesn't exist */ - -#define TEXT_START 0x10000000 -#define TEXT_END 0 -#define DATA_START 0x20000000 -#define DATA_END 0 - -/* The data segment in this machine always starts at address 0x20000000. - An address of data cannot be stored correctly in a Lisp object; - we always lose the high bits. We must tell XPNTR to add them back. */ - -#define DATA_SEG_BITS 0x20000000 - -#define N_BADMAG(x) BADMAG(x) -#define N_TXTOFF(x) A_TEXTPOS(x) -#define N_SYMOFF(x) A_SYMPOS(x) -#define A_TEXT_OFFSET(HDR) sizeof(HDR) -#define ADJUST_EXEC_HEADER \ - unexec_text_start += sizeof(hdr); \ - unexec_data_start = ohdr.a_dbase -#undef ADDR_CORRECT -#define ADDR_CORRECT(x) ((int)(x)) - -/* This is the offset of the executable's text, from the start of the file. */ - -#define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr)) - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#define C_ALLOCA -#define STACK_DIRECTION -1 /* tell alloca.c which way it grows */ - -/* AIX has PTYs, so define here, along with macros needed to make them work. */ - -#define HAVE_PTYS -#define PTY_ITERATION for (i=0; i<256; i++) -#define PTY_NAME_SPRINTF sprintf (ptyname, "/dev/ptc%d", i); - -#define PTY_TTY_NAME_SPRINTF \ -{ /* Check that server side not already open */ \ - if ((ioctl (*ptyv, PTYSTATUS, 0) & 0xFFFF) != 0) \ - { \ - close (*ptyv); \ - continue; \ - } \ - /* And finally to be sure we can open it later */ \ - sprintf (ptyname, "/dev/pts%d", i); \ - signal (SIGHUP,SIG_IGN); \ -} /* ignore hangup at process end */ - -/* TIOCNOTTY doesn't occur on AIX, but the rest - of the conditionalized code in process.c does - the right thing if we fake this out. */ -#define TIOCNOTTY IOCTYPE - -/* AIX has IPC. It also has sockets, and either can be used for client/server. - I would suggest the client/server code be changed to use HAVE_SOCKETS rather - than BSD_SYSTEM as the conditional if sockets provide any advantages. */ - -#define HAVE_SYSVIPC - -/* AIX has sockets */ - -#define HAVE_SOCKETS -/* #define SKTPAIR */ /* SKTPAIR works, but what is advantage over pipes? */ - -/* Specify the font for X to use. */ - -#define X_DEFAULT_FONT "Rom14.500" - -/* Here override various assumptions in ymakefile */ - -/* On AIX 2.2.1, use these definitions instead -#define C_SWITCH_MACHINE -I/usr/include -Nn2000 -#define LIBS_MACHINE -lX -lrts -*/ - -#define C_SWITCH_MACHINE -I/usr/include -I/usr/include/bsd -Nn2000 -#define LIBS_MACHINE -lXMenu -lX -lsock -lbsd -lrts - -#define OBJECTS_MACHINE hftctl.o -#define START_FILES /lib/crt0.o -/* -lXMenu, -lX must precede -lsock, -lbsd */ -#define LD_SWITCH_MACHINE -n -T0x10000000 -K -e start - -#if 0 /* I refuse to promulgate a recommendation that would make - users unable to debug - RMS. */ -/* delete the following line to foil optimization, enable debugging */ -#define C_DEBUG_SWITCH -O -#endif - - -/* Setup to do some things BSD way - these won't work previous to AIX 2.1.2 */ - -#include </usr/include/bsd/BSDtoAIX.h> -#define BSTRING -#define HAVE_GETTIMEOFDAY -#define HAVE_VFORK - -/* AIX utimes allegedly causes SIGSEGV. */ -#undef HAVE_UTIMES /* override configuration decision */ - -/* AIX defines FIONREAD, but it does not work. */ -#define BROKEN_FIONREAD - -/* rocky@watson.ibm.com says this is needed. */ -#define HAVE_FTIME diff --git a/src/m/ibmrt.h b/src/m/ibmrt.h deleted file mode 100644 index e9404d125c1..00000000000 --- a/src/m/ibmrt.h +++ /dev/null @@ -1,128 +0,0 @@ -/* RTPC machine dependent defines - Copyright (C) 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="bsd4-2" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#define WORD_MACHINE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically. */ - -#define ibmrt -#define romp /* unfortunately old include files are hanging around. */ - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE double /* For AIS (sysV) */ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -#undef VIRT_ADDR_VARIES - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#define HAVE_ALLOCA - -/* The data segment in this machine starts at a fixed address. - An address of data cannot be stored correctly in a Lisp object; - we always lose the high bits. We must tell XPNTR to add them back. */ - -#define DATA_SEG_BITS 0x10000000 -#define DATA_START 0x10000000 - -/* The text segment always starts at a fixed address. - This way we don't need to have a label _start defined. */ -#define TEXT_START 0 - -/* Taking a pointer to a char casting it as int pointer */ -/* and then taking the int which the int pointer points to */ -/* is practically guaranteed to give erroneous results */ - -#define NEED_ERRNO - -#define SKTPAIR - -/* BSD has BSTRING. */ - -#define BSTRING - -/* Special switches to give the C compiler. */ - -#ifndef __GNUC__ -#define C_SWITCH_MACHINE -Dalloca=_Alloca -#endif - -/* Don't attempt to relabel some of the data as text when dumping. - It does not work because their virtual addresses are not consecutive. - This enables us to use the standard crt0.o. */ - -#define NO_REMAP - -/* Use the bitmap files that come with Emacs. */ -#define EMACS_BITMAP_FILES diff --git a/src/m/intel386.h b/src/m/intel386.h deleted file mode 100644 index fd2aac37376..00000000000 --- a/src/m/intel386.h +++ /dev/null @@ -1,235 +0,0 @@ -/* Machine description file for intel 386. - Copyright (C) 1987 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -Intel 386 (-machine=intel386 or -machine=is386.h) - - The possibilities for -opsystem are: bsd4-2, usg5-2-2, usg5-3, - isc2-2, 386-ix, esix, linux, sco3.2v4, and xenix. - - 18.58 should support a wide variety of operating systems. - Use isc2-2 for Interactive 386/ix version 2.2. - Use 386ix for prior versions. - Use esix for Esix. - Use linux for Linux. - It isn't clear what to do on an SCO system. - - -machine=is386 is used for an Integrated Solutions 386 machine. - It may also be correct for Microport systems. - -Cubix QBx/386 (-machine=intel386 -opsystem=usg5-3) - - Changes merged in 19.1. Systems before 2/A/0 may fail to compile etags.c - due to a compiler bug. - -Prime EXL (-machine=intel386 -opsystem=usg5-3) - - Minor changes merged in 19.1. -NOTE-END */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#undef WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -/* #define NO_ARG_ARRAY */ - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -#define INTEL386 - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* crt0.c, if it is used, should use the i386-bsd style of entry. - with no extra dummy args. On USG and XENIX, - NO_REMAP says this isn't used. */ - -#define CRT0_DUMMIES bogus_fp, - -/* crt0.c should define a symbol `start' and do .globl with a dot. */ - -#define DOT_GLOBAL_START - -#ifdef XENIX -/* Data type of load average, as read out of kmem. */ -#define LOAD_AVE_TYPE short - -/* Convert that into an integer that is 100 for a load average of 1.0 */ -#define LOAD_AVE_CVT(x) (((double) (x)) * 100.0 / FSCALE) - -#define FSCALE 256.0 /* determined by experimentation... */ -#endif - - -#ifdef SOLARIS2 -/* Data type of load average, as read out of kmem. */ -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ -/* This is totally uncalibrated. */ -#define LOAD_AVE_CVT(x) ((int) (((double) (x)) * 100.0 / FSCALE)) - -/* J.W.Hawtin@lut.ac.uk say Solaris 2.4 as well as Solaris 2.1 on X86 - requires -lkvm as well */ -#define LIBS_MACHINE -lkvm - -#ifndef SOLARIS2_4 -/* J.W.hawtin@lut.ac.uk says Solaris 2.1 on the X86 has FSCALE defined in a - system header. */ - -#define HAVE_VFORK - -#else /* SOLARIS2_4 */ -#ifndef __GNUC__ -#if 0 /* wisner@gryphon.com says this screws up cpp */ -#define C_SWITCH_MACHINE -Xa -#endif -#ifndef NOT_C_CODE -#ifdef HAVE_ALLOCA_H -#include <alloca.h> -#endif /* HAVE_ALLOCA_H */ -#endif /* not NOT_C_CODE */ -#endif /* not __GNUC__ */ -#endif /* SOLARIS2_4 */ - -/* configure thinks solaris X86 has gethostname, but it does not work, - so undefine it. */ -#undef HAVE_GETHOSTNAME - -#else /* not SOLARIS2 */ -#ifdef USG5_4 /* Older USG systems do not support the load average. */ -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ -/* This is totally uncalibrated. */ - -#define LOAD_AVE_CVT(x) ((int) (((double) (x)) * 100.0 / FSCALE)) -#define FSCALE 256.0 -#endif -#endif /* not SOLARIS2 */ - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -#ifdef XENIX -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -#define STACK_DIRECTION -1 - -/* Since cannot purify, use standard Xenix 386 startup code. */ - -#define START_FILES /lib/386/Sseg.o pre-crt0.o /lib/386/Scrt0.o - -/* These really use terminfo. */ - -#define LIBS_TERMCAP /lib/386/Slibcurses.a \ - /lib/386/Slibtinfo.a /lib/386/Slibx.a - -/* Standard libraries for this machine. Since `-l' doesn't work in `ld'. */ -/* '__fltused' is unresolved w/o Slibcfp.a */ -#define LIB_STANDARD /lib/386/Slibcfp.a /lib/386/Slibc.a -#else /* not XENIX */ - -/* this brings in alloca() if we're using cc */ -#ifdef USG -#ifndef LIB_STANDARD -#ifdef USG5_4 -#define LIB_STANDARD -lc -#else /* not USG5_4 */ -#define LIB_STANDARD -lPW -lc -#endif /* not USG5_4 */ -#endif /* LIB_STANDARD */ - -#define HAVE_ALLOCA -#define NO_REMAP -#define TEXT_START 0 -#endif /* USG */ -#endif /* not XENIX */ - -#ifdef BSD_SYSTEM -#define HAVE_ALLOCA -#endif /* BSD_SYSTEM */ - -/* If compiling with GCC, let GCC implement alloca. */ -#if defined(__GNUC__) && !defined(alloca) -#define alloca(n) __builtin_alloca(n) -#define HAVE_ALLOCA -#endif - -#ifdef USG5_4 -#define DATA_SEG_BITS 0x08000000 -#endif - -#ifdef MSDOS -#define NO_REMAP -#endif - -#ifdef WINDOWSNT -#define VIRT_ADDR_VARIES -#define DATA_END get_data_end () -#define DATA_START get_data_start () -#define HAVE_ALLOCA -#define NO_ARG_ARRAY -#endif - -#ifdef linux -/* libc-linux/sysdeps/linux/i386/ulimit.c says that due to shared library, */ -/* we cannot get the maximum address for brk */ -#define ULIMIT_BREAK_VALUE (32*1024*1024) - -#define SEGMENT_MASK ((SEGMENT_SIZE)-1) -#endif diff --git a/src/m/iris4d.h b/src/m/iris4d.h deleted file mode 100644 index 129206d0e80..00000000000 --- a/src/m/iris4d.h +++ /dev/null @@ -1,194 +0,0 @@ -/* machine description file for Iris-4D machines. Use with s/irix*.h. - Copyright (C) 1987 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#undef WORD_MACHINE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -#ifndef mips -#define mips -#endif - -#ifndef IRIS_4D -#define IRIS_4D -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* jg@genmagic.genmagic.com (John Giannandrea) says this is unnecessary. */ -#if 0 -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long /* This doesn't quite work on the 4D */ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int)(((double)(x)*100)/1024.0) - -/* s-iris3-6.h uses /vmunix */ - -#undef KERNEL_FILE -#define KERNEL_FILE "/unix" -#endif - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -#undef CANNOT_DUMP - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -/* #define C_ALLOCA */ /* Sjoerd.Mullender@cwi.nl says no need. */ -/* #define HAVE_ALLOCA */ - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -/* This machine requires completely different unexec code - which lives in a separate file. Specify the file name. */ - -#ifdef USG5_4 -#undef UNEXEC -#define UNEXEC unexsgi.o -#else -#define UNEXEC unexmips.o -#endif - -#define TEXT_START 0x400000 - -/* - * DATA_SEG_BITS forces extra bits to be or'd in with any pointers which - * were stored in a Lisp_Object (as Emacs uses fewer than 32 bits for - * the value field of a LISP_OBJECT). - */ - -#define DATA_START 0x10000000 -#define DATA_SEG_BITS 0x10000000 - -#undef LIBS_MACHINE -/* -lsun in case using Yellow Pages for passwords. */ -#if defined(__GNUC__) && defined(_ABIN32) -#define LIBS_MACHINE -#else -#define LIBS_MACHINE -lmld -#endif -#define LIBS_DEBUG - -/* Define this if you have a fairly recent system, - in which crt1.o and crt1.n should be used. */ -#define HAVE_CRTN - -#ifndef USG5_4 -#ifdef HAVE_CRTN -/* Must define START-FILES so that the linker can find /usr/lib/crt0.o. */ -#define START_FILES pre-crt0.o /usr/lib/crt1.o -#define LIB_STANDARD -lc /usr/lib/crtn.o -#else -#define START_FILES pre-crt0.o /usr/lib/crt0.o -/* The entry-point label (start of text segment) is `start', not `__start'. */ -#define DEFAULT_ENTRY_ADDRESS start -#define LIB_STANDARD -lc -#endif -#endif - -/* Use terminfo instead of termcap. */ - -#define TERMINFO - -/* Letter to use in finding device name of first pty, - if system supports pty's. 'a' means it is /dev/ptya0 */ - -#undef FIRST_PTY_LETTER -#define FIRST_PTY_LETTER 'q' - -/* Define STACK_DIRECTION for alloca.c */ - -#undef STACK_DIRECTION -#define STACK_DIRECTION -1 - -/* The standard definitions of these macros would work ok, - but these are faster because the constants are short. */ - -#define XUINT(a) (((unsigned)(a) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS) - -#define XSET(var, type, ptr) \ - ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS)) - -#define XMARKBIT(a) ((a) < 0) -#define XSETMARKBIT(a,b) ((a) = ((a) & ~MARKBIT) | ((b) ? MARKBIT : 0)) -#define XUNMARK(a) ((a) = (((unsigned)(a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS)) - -#ifndef __GNUC__ -/* Turn off some "helpful" error checks for type mismatches - that we can't fix without breaking other machines. */ -#ifdef IRIX_FORCE_32_BITS -#ifdef THIS_IS_MAKEFILE -#define C_SWITCH_MACHINE -32 -#endif -#endif - -#endif /* not __GNUC__ */ diff --git a/src/m/iris5d.h b/src/m/iris5d.h deleted file mode 100644 index 9614d53bd5d..00000000000 --- a/src/m/iris5d.h +++ /dev/null @@ -1,190 +0,0 @@ -/* machine description file for Iris-5D machines. Use with s-iris3-6.h - Copyright (C) 1987 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="irix3-3" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#undef WORD_MACHINE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -#ifndef mips -#define mips -#endif - -#ifndef IRIS_4D -#define IRIS_4D -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long /* This doesn't quite work on the 4D */ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int)(((double)(x)*100)/1024.0) - -/* s-iris3-6.h uses /vmunix */ - -#undef KERNEL_FILE -#define KERNEL_FILE "/unix" - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -#undef CANNOT_DUMP - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#define C_ALLOCA -/* #define HAVE_ALLOCA */ - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -/* This machine requires completely different unexec code - which lives in a separate file. Specify the file name. */ - -#ifdef UNEXEC -#undef UNEXEC -#endif -#define UNEXEC unexsgi.o - -#define TEXT_START 0x400000 - -/* - * DATA_SEG_BITS forces extra bits to be or'd in with any pointers which - * were stored in a Lisp_Object (as Emacs uses fewer than 32 bits for - * the value field of a LISP_OBJECT). - */ - -#define DATA_START 0x10000000 -#define DATA_SEG_BITS 0x10000000 - -#undef LIBS_MACHINE -/* -lsun in case using Yellow Pages for passwords. */ -#if defined(__GNUC__) && defined(_ABIN32) -#define LIBS_MACHINE -lsun -#else -#define LIBS_MACHINE -lsun -lmld -#endif - -#define LIBS_DEBUG - -/* Define this if you have a fairly recent system, - in which crt1.o and crt1.n should be used. */ -#define HAVE_CRTN - -#ifdef HAVE_CRTN -/* Must define START-FILES so that the linker can find /usr/lib/crt0.o. */ -#define START_FILES pre-crt0.o /usr/lib/crt1.o -#define LIB_STANDARD -lbsd -lc /usr/lib/crtn.o -#else -#define START_FILES pre-crt0.o /usr/lib/crt0.o -/* The entry-point label (start of text segment) is `start', not `__start'. */ -#define DEFAULT_ENTRY_ADDRESS start -#define LIB_STANDARD -lbsd -lc -#endif - -/* Use terminfo instead of termcap. */ - -#define TERMINFO - -/* sioctl.h should be included where appropriate. */ - -#define NEED_SIOCTL - -/* Letter to use in finding device name of first pty, - if system supports pty's. 'a' means it is /dev/ptya0 */ - -#undef FIRST_PTY_LETTER -#define FIRST_PTY_LETTER 'q' - -/* Define STACK_DIRECTION for alloca.c */ - -#define STACK_DIRECTION -1 - -/* The standard definitions of these macros would work ok, - but these are faster because the constants are short. */ - -#define XUINT(a) (((unsigned)(a) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS) - -#define XSET(var, type, ptr) \ - ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS)) - -#define XMARKBIT(a) ((a) < 0) -#define XSETMARKBIT(a,b) ((a) = ((a) & ~MARKBIT) | ((b) ? MARKBIT : 0)) -#define XUNMARK(a) ((a) = (((unsigned)(a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS)) - -#ifndef __GNUC__ -/* Turn off some "helpful" error checks for type mismatches - that we can't fix without breaking other machines. */ -#define C_SWITCH_MACHINE -cckr -#endif diff --git a/src/m/irist.h b/src/m/irist.h deleted file mode 100644 index 9de72155458..00000000000 --- a/src/m/irist.h +++ /dev/null @@ -1,142 +0,0 @@ -/* machine description file for Silicon Graphics Iris 2500 Turbos; - also possibly for non-turbo Irises with system release 2.5. - Copyright (C) 1985, 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" -NOTE-START -Version 18 said to work; use -opsystem=irist3-5 for system version 2.5 -and -opsystem=iris3-6 for system versions 3.6 and up. -NOTE-END */ - -#if 0 - Message-Id: <8705050653.AA20004@orville.arpa> - Subject: gnu emacs 18.41 on iris [23].5 machines - Date: 04 May 87 23:53:11 PDT (Mon) - From: raible@orville.arpa - - Aside from the SIGIOT, I know of only one bug, a real strange one: - I wrote a utimes interface, which copies elements from timevals - to utimbufs. This code is known good. The problem is that in - emacs, the utime doesn't seem to take effect (i.e. doesn't change the - dates at all) unless I call report_file_error *after* the utime returns! - - if (utime (name, &utb) < 0) - return; - else - /* XXX XXX XXX */ - /* For some reason, if this is taken out, then the utime above breaks! */ - /* (i.e. it doesn't set the time. This just makes no sense... */ - /* Eric - May 4, 1987 */ - report_file_error ("Worked just find\n", Qnil); - - Without any sort of debugger that works on emacs (I know... but I don't have - *time* right now to start with gdb), it was quite time consuming to track - it down to this. - - But since this code is only used for an optional 4th argument to one command - (copy-file), it would say that it is non-critical... -#endif /* 0 */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -/* #define NO_ARG_ARRAY */ - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -#ifndef m68000 -#define m68000 -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define FSCALE 1.0 -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -/* #define C_ALLOCA */ -#define HAVE_ALLOCA - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -/* #define NO_REMAP */ - -/* There is an inconsistency between the sgi assembler, linker which barfs - on these. */ - -#define internal_with_output_to_temp_buffer stupid_long_name1 -#define Finsert_abbrev_table_description stupid_long_name2 diff --git a/src/m/is386.h b/src/m/is386.h deleted file mode 100644 index 45f9273e910..00000000000 --- a/src/m/is386.h +++ /dev/null @@ -1,27 +0,0 @@ -/* machine description file for Integrated Solutions 386 machine. */ - -#include "intel386.h" - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -Intel 386 (-machine=intel386 or -machine=is386.h) - - The possibilities for -opsystem are: bsd4-2, usg5-2-2, usg5-3, - isc2-2, 386-ix, esix, or xenix. - - 18.58 should support a wide variety of operating systems. - Use isc2-2 for Interactive 386/ix version 2.2. - Use 386ix for prior versions. - Use esix for Esix. It isn't clear what to do on an SCO system. - - -machine=is386 is used for an Integrated Solutions 386 machine. - It may also be correct for Microport systems. -NOTE-END */ - -#define LIBX10_MACHINE -lnsl_s -#define LIBX11_MACHINE -lnsl_s - -#define LIBS_DEBUG -lg diff --git a/src/m/isi-ov.h b/src/m/isi-ov.h deleted file mode 100644 index beb3fdd122a..00000000000 --- a/src/m/isi-ov.h +++ /dev/null @@ -1,93 +0,0 @@ -/* machine description file for ISI 68000's - Copyright (C) 1985, 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -Use `-opsystem=bsd4-2' or `-opsystem=bsd4-3'. -NOTE-END */ - -#define ISI68K - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Say this machine is a 68000 */ - -#define m68000 - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* XINT must explicitly sign-extend */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#ifdef BSD4_3 -#define LOAD_AVE_TYPE long -#else -#define LOAD_AVE_TYPE double -#endif BSD4_3 - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#ifdef BSD4_3 -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) -#else -#define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) -#endif - -/* Mask for address bits within a memory segment */ - -#define SEGMENT_MASK 0x1ffff - -/* use the -20 switch to get the 68020 code */ -/* #define C_SWITCH_MACHINE -20 */ - -/* Use the version of the library for the 68020 - because the standard library requires some special hacks in crt0 - which the GNU crt0 does not have. */ - -#define LIB_STANDARD -lmc - -/* macros to make unexec work right */ - -#define A_TEXT_OFFSET(HDR) sizeof(HDR) -#define A_TEXT_SEEK(HDR) sizeof(HDR) - -/* A few changes for the newer systems. */ - -#ifdef BSD4_3 -#define HAVE_ALLOCA -/* The following line affects crt0.c. */ -#undef m68k - -#undef LIB_STANDARD -#define LIB_STANDARD -lmc -lc -#define C_DEBUG_SWITCH -20 -O -X23 -#endif diff --git a/src/m/m68k.h b/src/m/m68k.h deleted file mode 100644 index d2a1ebff743..00000000000 --- a/src/m/m68k.h +++ /dev/null @@ -1,89 +0,0 @@ -/* Machine description file for generic Motorola 68k. - Copyright (C) 1985, 1995 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following three symbols give information on - the size of various data types. */ - - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -/* #define NO_ARG_ARRAY */ - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically. */ - -#ifndef m68k -#define m68k -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -#ifdef linux -#ifdef __ELF__ -#define DATA_SEG_BITS 0x80000000 -#endif - -#define NO_REMAP -#define TEXT_START 0 -#endif - -/* If compiling with GCC, let GCC implement alloca. */ -#if defined(__GNUC__) && !defined(alloca) -#define alloca(n) __builtin_alloca(n) -#define HAVE_ALLOCA -#endif diff --git a/src/m/masscomp.h b/src/m/masscomp.h deleted file mode 100644 index 5f9aa6ae50b..00000000000 --- a/src/m/masscomp.h +++ /dev/null @@ -1,137 +0,0 @@ -/* machine description file for Masscomp 5000 series running RTU, ucb universe. - Copyright (C) 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="rtu" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#undef NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#undef WORD_MACHINE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO - are the ones defined so far. */ -/* Masscomp predefines mc68000. */ -#define m68000 mc68000 - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#undef EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE double - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -#undef CANNOT_DUMP - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -#undef VIRT_ADDR_VARIES - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -/* On return from a subroutine, the 68020 compiler restores old contents of - register variables relative to sp, so alloca() screws up such routines. - The following definitions should work on all Masscomps. On the MC-5500 - (a 68000) one can #undef C_ALLOCA and #define HAVE_ALLOCA. */ -#ifdef mc500 -#undef C_ALLOCA -#define HAVE_ALLOCA -#else -#define C_ALLOCA -#undef HAVE_ALLOCA -#endif - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#undef NO_REMAP - -/* crt0.c should use the vax-bsd style of entry, with a dummy arg. */ - -#define CRT0_DUMMIES bogus_fp, - -/* Name of file the to look in - for the kernel symbol table (for load average) */ - -#define KERNEL_FILE "/unix" - -/* This triggers some stuff to avoid a compiler bug */ - -#define MASSC_REGISTER_BUG - -/* Prevent -lg from being used for debugging. Not implemented? */ - -#define LIBS_DEBUG - -/* - * Define HAVE_TERMIO if the system provides sysV-style ioctls - * for terminal control. - */ - -#define HAVE_TERMIO - -/* Adjust a header field for the executable file about to be dumped. */ - -#define ADJUST_EXEC_HEADER \ - hdr.a_stamp = STAMP13; /* really want the latest stamp, whatever it is */ diff --git a/src/m/mega68.h b/src/m/mega68.h deleted file mode 100644 index b67e3573293..00000000000 --- a/src/m/mega68.h +++ /dev/null @@ -1,49 +0,0 @@ -/* machine description file for Megatest 68000's. - Copyright (C) 1985 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="bsd4-2" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* XINT must explicitly sign-extend */ - -#define EXPLICIT_SIGN_EXTEND - -/* Say this machine is a 68000 */ - -#define m68000 - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE double - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) diff --git a/src/m/mg1.h b/src/m/mg1.h deleted file mode 100644 index 13e4dbeb8bf..00000000000 --- a/src/m/mg1.h +++ /dev/null @@ -1,113 +0,0 @@ -/* machine description file for Whitechapel Computer Works MG1 (ns16000 based). - Copyright (C) 1985 Free Software Foundation, Inc. - MG-1 version by L.M.McLoughlin - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -We are in the dark about what operating system runs on the Whitechapel -systems. Consult share-lib/MACHINES for information on which -operating systems Emacs has already been ported to; one of them might -work. If you find an existing system name that works or write your -own configuration files, please let the Free Software Foundation in on -your work; we'd like to distribute this information. -NOTE-END */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#undef WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ -/* ns16000 call sequence used on mg1 means that &arg = the args as an array */ -#undef NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ -/* ns16000 addresses are byte addresses */ -#undef WORD_MACHINE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO - are the ones defined so far. */ -/* Say this machine is a 16000 and an mg1, cpp says its a 32000 */ -#define ns16000 -#define mg1 - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ -/* Not sure on mg-1 but this shouldn't hurt! */ -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ -/* mg1 its an unsigned long */ -#define LOAD_AVE_TYPE unsigned long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ -#define FSCALE 1000.0 -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ -/* ns16000's have an unexec, so should the mg-1 */ -#undef CANNOT_DUMP - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ -/* hmmmm... not sure. copied sequent.h */ -#undef VIRT_ADDR_VARIES - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ -/* hmmmm... again not sure. so copied sequent.h again! */ -#undef C_ALLOCA -#undef HAVE_ALLOCA - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ -/* mapping seems screwy */ -#define NO_REMAP - -/* Avoids a compiler bug */ -/* borrowed from sequent.h */ diff --git a/src/m/mips-siemens.h b/src/m/mips-siemens.h deleted file mode 100644 index eb30cf88c68..00000000000 --- a/src/m/mips-siemens.h +++ /dev/null @@ -1,187 +0,0 @@ -/* m- file for Mips machines. - Copyright (C) 1987, 1992, 1993, 1995 Free Software Foundation, Inc. - - This file contains some changes for our SVR4 based SINIX-Mips 5.4. - I hope this is helpful to port the emacs to our RM?00 series and - maybe to the DC/OSx (Mips-based) machines of Pyramid Inc. - (Marco.Walther@mch.sni.de) - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -Use m-mips4.h for RISCOS version 4; use s-bsd4-3.h with the BSD world. -Note that the proper m- file for the Decstation is m-pmax.h. -This is the m- file for SNI RM*00 machines. Use s- sinix5-4.h file! -With this the file mips-siemens.h is obsolete. -NOTE-END */ - -/* Define BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#undef WORD_MACHINE - -/* Define how to take a char and sign-extend into an int. - On machines where char is signed, this is a no-op. */ - -#define SIGN_EXTEND_CHAR(c) ((signed char)(c)) - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ -#ifndef mips -# define mips -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / 256.0) - -/* CDC EP/IX 1.4.3 uses /unix */ - -#undef KERNEL_FILE -#define KERNEL_FILE "/unix" - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -#undef CANNOT_DUMP - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#ifdef __GNUC__ -#define HAVE_ALLOCA -#else -#define C_ALLOCA -#endif - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -/* Describe layout of the address space in an executing process. */ -/* MARCO ??? -*/ -#define TEXT_START 0x400000 -/* -#define DATA_START 0x10000000 -#define DATA_SEG_BITS 0x10000000 -*/ -#ifdef UNEXEC -#undef UNEXEC -#endif -#define UNEXEC unexsni.o - -#undef ORDINARY_LINK - -#undef LIBS_DEBUG - -/* Alter some of the options used when linking. */ - -#define LIBS_MACHINE -lmld -#define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xt.o - -#ifdef LIB_STANDARD -#undef LIB_STANDARD -#endif -#define LIB_STANDARD -lc /usr/ccs/lib/crtn.o - -#ifdef __GNUC__ -#define C_DEBUG_SWITCH -#define C_OPTIMIZE_SWITCH -O -#define LD_SWITCH_MACHINE -#else -#define C_DEBUG_SWITCH -DSYSV -#define C_OPTIMIZE_SWITCH -DSYSV -#define LD_SWITCH_MACHINE -#endif - -#if defined(HAVE_X_WINDOWS) && defined(HAVE_X11) -#define HAVE_VFORK /* Graciously provided by libX.a */ -#endif - - -/* The standard definitions of these macros would work ok, - but these are faster because the constants are short. */ - -#define XUINT(a) (((unsigned)(a) << (BITS_PER_INT-VALBITS)) >> (BITS_PER_INT-VALBITS)) - -#define XSET(var, type, ptr) \ - ((var) = \ - ((int)(type) << VALBITS) \ - + (((unsigned) (ptr) << (BITS_PER_INT-VALBITS)) >> (BITS_PER_INT-VALBITS))) - -#define XSETINT(a, b) XSET(a, XTYPE(a), b) -#define XSETUINT(a, b) XSET(a, XTYPE(a), b) -#define XSETPNTR(a, b) XSET(a, XTYPE(a), b) - -#define XUNMARK(a) \ - ((a) = \ - (((unsigned)(a) << (BITS_PER_INT-GCTYPEBITS-VALBITS)) \ - >> (BITS_PER_INT-GCTYPEBITS-VALBITS))) - diff --git a/src/m/mips.h b/src/m/mips.h deleted file mode 100644 index b51581791fd..00000000000 --- a/src/m/mips.h +++ /dev/null @@ -1,225 +0,0 @@ -/* m- file for Mips machines. - Copyright (C) 1987, 1992 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -Use m-mips4.h for RISCOS version 4; use s-bsd4-3.h with the BSD world. -Note that the proper m- file for the Decstation is m-pmax.h. -NOTE-END */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#undef WORD_MACHINE - -/* Define how to take a char and sign-extend into an int. - On machines where char is signed, this is a no-op. */ - -#define SIGN_EXTEND_CHAR(c) ((signed char)(c)) - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ -#ifndef mips -# define mips -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / 256.0) - -/* CDC EP/IX 1.4.3 uses /unix */ - -#undef KERNEL_FILE -#define KERNEL_FILE "/unix" - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -#undef CANNOT_DUMP - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#ifdef __GNUC__ -#define HAVE_ALLOCA -#else -#define C_ALLOCA -#endif - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -/* This machine requires completely different unexec code - which lives in a separate file. Specify the file name. */ - -#undef UNEXEC -#define UNEXEC unexmips.o - -/* Describe layout of the address space in an executing process. */ - -#define TEXT_START 0x400000 -#define DATA_START 0x800000 - -/* Alter some of the options used when linking. */ - -#ifndef NEWSOS5 -#ifdef BSD_SYSTEM - -/* DECstations don't have this library. - #define LIBS_MACHINE -lmld */ - -#define LD_SWITCH_MACHINE -D 800000 -#define LIBS_DEBUG - -#define LINKER /bsd43/bin/ld - -#else /* not BSD_SYSTEM */ - -#if defined(__GNUC__) && defined(_ABIN32) -#define LIBS_MACHINE -#else -#define LIBS_MACHINE -lmld -#endif - -#define LD_SWITCH_MACHINE -D 800000 -g3 -#define START_FILES pre-crt0.o /usr/lib/crt1.o -#define LIB_STANDARD -lbsd -lc /usr/lib/crtn.o -#define LIBS_TERMCAP -lcurses - -#define C_SWITCH_MACHINE -I/usr/include/bsd -#define C_DEBUG_SWITCH -O -g3 - -#if defined(HAVE_X_WINDOWS) && defined(HAVE_X11) -#define HAVE_VFORK /* Graciously provided by libX.a */ -#endif - -#endif /* not BSD_SYSTEM */ -#endif /* not NEWSOS5 */ - -/* The standard definitions of these macros would work ok, - but these are faster because the constants are short. */ - -#define XUINT(a) (((unsigned)(a) << (BITS_PER_INT-VALBITS)) >> (BITS_PER_INT-VALBITS)) - -#define XSET(var, type, ptr) \ - ((var) = \ - ((int)(type) << VALBITS) \ - + (((unsigned) (ptr) << (BITS_PER_INT-VALBITS)) >> (BITS_PER_INT-VALBITS))) - -#define XUNMARK(a) \ - ((a) = \ - (((unsigned)(a) << (BITS_PER_INT-GCTYPEBITS-VALBITS)) \ - >> (BITS_PER_INT-GCTYPEBITS-VALBITS))) - -#ifndef NEWSOS5 -#ifdef USG - -/* Cancel certain parts of standard sysV support. */ -#undef NONSYSTEM_DIR_LIBRARY -#define SYSV_SYSTEM_DIR -#undef static - -/* Don't try to use SIGIO or FIONREAD even though they are defined. */ -#undef SIGIO -#define BROKEN_FIONREAD - -/* Describe special kernel features. */ - -#define HAVE_SYSVIPC - -#if defined(emacs) && !defined(INHIBIT_BSD_TIME) -#include <bsd/sys/time.h> -#endif - -/* The `select' in the system won't work for pipes, so don't use it. */ -#undef HAVE_SELECT /* override configuration decision */ - -#define HAVE_GETWD -#define HAVE_GETTIMEOFDAY - -#define HAVE_PTYS -#define HAVE_SOCKETS - -#undef NOMULTIPLEJOBS - -/* ??? */ -#define IRIS - -#endif /* USG */ - -#ifdef BSD_SYSTEM -#define COFF -#define TERMINFO -#undef MAIL_USE_FLOCK /* Someone should check this. */ -#undef HAVE_UNION_WAIT -#endif /* BSD_SYSTEM */ - -#endif /* not NEWSOS5 */ diff --git a/src/m/mips4.h b/src/m/mips4.h deleted file mode 100644 index 33905072ac0..00000000000 --- a/src/m/mips4.h +++ /dev/null @@ -1,59 +0,0 @@ -/* machine description file for Mips running RISCOS version 4. */ - -#include "mips.h" - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -Use -opsystem=usg5-2-2 normally, or -opsystem=bsd4-3 with the BSD -world. -NOTE-END */ - -#if 0 -/* Define MIPS2 if you have an R6000 or R4000. */ -#define MIPS2 -#endif - -#ifdef __GNUC__ -#define C_DEBUG_SWITCH -g -O -#else -/* We used to have -systype bsd43, but a configure change - now takes care of that option. */ -#ifdef MIPS2 -#define C_DEBUG_SWITCH -DMips -g3 -Wf,-XNd4000 -O -Olimit 2000 -mips2 -#else -#define C_DEBUG_SWITCH -DMips -g3 -Wf,-XNd4000 -O -Olimit 2000 -#endif -#endif - -#ifdef TERMINFO -#undef TERMINFO -#endif - -#define START_FILES pre-crt0.o /lib/crt1.o -/* Used to have -lisode, but jlp@math.byu.edu says remove it - (for RISCOS 4.52). */ -/* ethanb@ptolemy.astro.washington.edu says crtn.o uses _ctype - and therefore we must search libc again after crtn.o. - The -L is used to force second -lc to find the sysv version - of libc.a, which is needed because the BSD libc.a - doesn't have _ctype. */ -#define LIB_STANDARD -lmld -lc /lib/crtn.o -L/usr/lib -lc - - -#define COFF -#undef LD_SWITCH_MACHINE -#define LD_SWITCH_MACHINE -systype bsd43 -g3 -D 800000 - -#define NO_MODE_T - -/* These are needed on Riscos 4.0. - It appears that's the only system which uses mips4.h and defines BSD. */ -#ifdef BSD_SYSTEM -#undef HAVE_STRERROR -#undef HAVE_XRMSETDATABASE -#undef HAVE_XSCREENRESOURCESTRING -#undef HAVE_SETSID -#endif diff --git a/src/m/ncr386.h b/src/m/ncr386.h deleted file mode 100644 index 2599456a873..00000000000 --- a/src/m/ncr386.h +++ /dev/null @@ -1,15 +0,0 @@ -#include "intel386.h" - -#ifndef __GNUC__ -/* Allow emacs to link with "bcopy()" unresolved. Works around a - problem where /usr/lib/libX11.so provides bcopy, but - /usr/ccs/lib/libX11.so does not. */ -#define LD_SWITCH_X_DEFAULT -Wl,-z,nodefs -#else /* __GNUC__ */ - -/* Assuming we are using GNU ld, pass a -R option to it - so that shared libraries will be found at execution time - just as they are found at link time. */ -#define LD_SWITCH_X_DEFAULT -Xlinker LD_SWITCH_X_SITE_AUX - -#endif /* __GNUC__ */ diff --git a/src/m/news-risc.h b/src/m/news-risc.h deleted file mode 100644 index 268d1796ddf..00000000000 --- a/src/m/news-risc.h +++ /dev/null @@ -1,51 +0,0 @@ -/* news-risc.h is for the "RISC News". */ - -#include "mips.h" - -#ifdef NEWSOS5 - -/* NEWS-OS 5.0.2 */ - -#define LIBS_MACHINE -lmld - -#ifdef __GNUC__ -#define C_DEBUG_SWITCH -g -#define C_OPTIMIZE_SWITCH -g -O -#define LD_SWITCH_MACHINE -g -Xlinker -D -Xlinker 800000 -#else -#define C_DEBUG_SWITCH -g3 -#define C_OPTIMIZE_SWITCH -g3 -#define LD_SWITCH_MACHINE -g3 -D 800000 -non_shared -#endif - -#else /* not NEWSOS5 */ - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="bsd4-3" */ - -#define COFF -#undef LD_SWITCH_MACHINE -#define LD_SWITCH_MACHINE -x -D 800000 - -/* #define C_OPTIMIZE_SWITCH -O2 */ -#define C_OPTIMIZE_SWITCH -O - -#ifndef __GNUC__ -#define C_DEBUG_SWITCH -g3 -#endif - -#undef TERMINFO - -/* We have no mode_t. */ -#define NO_MODE_T - -/* Don't use the definitions in m/mips.h. */ -#undef LINKER -#undef LIBS_MACHINE -#define LIBS_MACHINE -lmld - -#undef KERNEL_FILE -#define KERNEL_FILE "/vmunix" - -#endif /* not NEWSOS5 */ diff --git a/src/m/news.h b/src/m/news.h deleted file mode 100644 index 8b4c5a8275e..00000000000 --- a/src/m/news.h +++ /dev/null @@ -1,66 +0,0 @@ -/* machine description file for Sony's NEWS workstations, NEWS-OS 3.0. - Copyright (C) 1985, 1986, 1989 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -Use -opsystem=bsd4-2, or -opsystem=bsd4-3 for system release 3. -NOTE-END */ - -/* Say this machine is a 68000 */ - -#ifndef m68000 -#define m68000 -#endif - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* One CRT0 Dummy variable */ - -#if 0 /* larry@mitra.com says Sony's as doesn't like this. */ -#define CRT0_DUMMIES one_dummy, -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* The News machine has alloca. */ - -#define HAVE_ALLOCA - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE double - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) - -/* Must use the system's termcap. It does special things. */ - -#define LIBS_TERMCAP -ltermcap - diff --git a/src/m/next.h b/src/m/next.h deleted file mode 100644 index 0c3a2466fae..00000000000 --- a/src/m/next.h +++ /dev/null @@ -1,125 +0,0 @@ -/* Configuration file for the NeXT machine. - Copyright (C) 1990 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* Say this machine is a next if not previously defined */ - -#ifndef NeXT -#define NeXT -#endif - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -/* Let the compiler tell us. */ -#ifdef __BIG_ENDIAN__ -#define WORDS_BIG_ENDIAN -#endif - -/* Define how to take a char and sign-extend into an int. - On machines where char is signed, this is a no-op. */ - -#define SIGN_EXTEND_CHAR(c) (c) - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* XINT must explicitly sign-extend */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) - -/* Say that the text segment of a.out includes the header; - the header actually occupies the first few bytes of the text segment - and is counted in hdr.a_text. */ - -#define A_TEXT_OFFSET(HDR) sizeof (HDR) - -/* Mask for address bits within a memory segment */ - -#define SEGSIZ 0x20000 -#define SEGMENT_MASK (SEGSIZ - 1) - -#define HAVE_ALLOCA - -#define SYSTEM_MALLOC - -#define HAVE_UNIX_DOMAIN - -#define LIB_X11_LIB -L/usr/lib/X11 -lX11 - -/* This avoids a problem in Xos.h when using co-Xist 3.01. */ -#define X_NOT_POSIX - -/* Conflicts in process.c between ioctl.h & tty.h use of t_foo fields */ - -#define NO_T_CHARS_DEFINES - -/* Use our own unexec routines */ - -#define UNEXEC unexnext.o - -/* We don't have a g library either, so override the -lg LIBS_DEBUG switch */ - -#define LIBS_DEBUG - -/* We don't have a libgcc.a, so we can't let LIB_GCC default to -lgcc */ - -#define LIB_GCC - -#if 0 /* ohl@chico.harvard.edu says to do this. */ -/* Compile "strict bsd" to avoid warnings from include files */ - -#define C_SWITCH_MACHINE -bsd -#endif - -/* Link this program just by running cc. */ -#define ORDINARY_LINK - -/* start_of_text isn't actually used, so make it compile without error. */ -#define TEXT_START 0 -/* This seems to be right for end_of_text, but it may not be used anyway. */ -#define TEXT_END get_etext () -/* This seems to be right for end_of_data, but it may not be used anyway. */ -#define DATA_END get_edata () - -/* Defining KERNEL_FILE causes lossage because sys/file.h - stupidly gets confused by it. */ -#undef KERNEL_FILE - -#define LD_SWITCH_MACHINE -X -noseglinkedit - -#define environ _environ - -#if 0 /* This is ok for NeXT system version 3.0 or above. */ -/* Where to find the kernel, for load average. */ -#define KERNEL_FILE "/mach" -#endif - -/* This should be true for recent NeXT systems. At least since 3.2. */ -#define HAVE_MACH_MACH_H diff --git a/src/m/nh3000.h b/src/m/nh3000.h deleted file mode 100644 index c124e1bf6c7..00000000000 --- a/src/m/nh3000.h +++ /dev/null @@ -1,115 +0,0 @@ -/* machine description for Harris Night Hawk Series 1200 and Series 3000 - MC68030-based systems (FPP on these is custom). These systems are - also known as "ecx" and "gcx". - Copyright (C) 1994 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* This file manually constructed for Harris Night Hawk 4000 (and 5000) - * series Motorola 88100 and 88110 based machines. - */ - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="<name of system .h file here, without the s- or .h>" */ - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -#ifndef gcx -#define gcx -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -/* #define EXPLICIT_SIGN_EXTEND */ - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -/* #define C_ALLOCA */ -#define HAVE_ALLOCA - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -/* Some really obscure 4.2-based systems (like Sequent DYNIX) - * do not support asynchronous I/O (using SIGIO) on sockets, - * even though it works fine on tty's. If you have one of - * these systems, define the following, and then use it in - * config.h (or elsewhere) to decide when (not) to use SIGIO. - * - * You'd think this would go in an operating-system description file, - * but since it only occurs on some, but not all, BSD systems, the - * reasonable place to select for it is in the machine description - * file. - */ - -/* #define NO_SOCK_SIGIO */ diff --git a/src/m/nh4000.h b/src/m/nh4000.h deleted file mode 100644 index df8c80901b0..00000000000 --- a/src/m/nh4000.h +++ /dev/null @@ -1,114 +0,0 @@ -/* machine description for Harris NightHawk 88k based machines - (includes nh4000 and nh5000 machines). - Copyright (C) 1994 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* This file manually constructed for Harris Night Hawk 4000 (and 5000) - * series Motorola 88100 and 88110 based machines. - */ - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="<name of system .h file here, without the s- or .h>" */ - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -#ifndef m88000 -#define m88000 -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -/* #define EXPLICIT_SIGN_EXTEND */ - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -/* #define C_ALLOCA */ -#define HAVE_ALLOCA - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -/* Some really obscure 4.2-based systems (like Sequent DYNIX) - * do not support asynchronous I/O (using SIGIO) on sockets, - * even though it works fine on tty's. If you have one of - * these systems, define the following, and then use it in - * config.h (or elsewhere) to decide when (not) to use SIGIO. - * - * You'd think this would go in an operating-system description file, - * but since it only occurs on some, but not all, BSD systems, the - * reasonable place to select for it is in the machine description - * file. - */ - -/* #define NO_SOCK_SIGIO */ diff --git a/src/m/ns16000.h b/src/m/ns16000.h deleted file mode 100644 index c9cf4005263..00000000000 --- a/src/m/ns16000.h +++ /dev/null @@ -1,100 +0,0 @@ -/* machine description file for ns16000. - Copyright (C) 1985 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -For the Encore, use `-opsystem=umax'. -For a Tektronix 16000 box (a 6130, perhaps?), use `-opsystem=bsd4-2'. -Use `-machine=ns16000' for both. -NOTE-END */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#undef WORDS_BIG_ENDIAN - -/* Say this machine is a 16000 */ - -#define ns16000 1 - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* Data type of load average, as read out of kmem. */ - -#ifndef USG -#define LOAD_AVE_TYPE double -#endif - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#ifndef USG -#define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) -#endif - -#ifdef USG - -/* Control assembler syntax used in alloca.s. */ -#define NS5 - -/* On early NS systems ulimit was buggy. If set emacs uses this value - * for the maximum sbrk value instead of getting it from ulimit. - */ -#define ULIMIT_BREAK_VALUE 0x7E0000 - -/* Early NS compilers have this bug. I believe it has been fixed in later - * releases. - */ -#define SHORT_CAST_BUG - -#define SEGMENT_MASK (NBPS - 1) - -/* Variables to get crt0.c to come out correctly */ -#define CRT0_DUMMIES bogus_fp, -#define DOT_GLOBAL_START - -/* Control how emacsclient communicates. */ -#define HAVE_SYSVIPC - -/* Set this to /bin/mail unless you have a better mail posting program */ -#define MAIL_PROGRAM_NAME "/usr/local/bin/remail" - -/* Tell sysdep.c not to define bzero, etc. */ -#undef BSTRING -#define BSTRING - -/* Macro definitions to emulate BSD functions with SysV ones */ -#undef bcopy -#undef bzero -#undef bcmp - -#define bcopy(a,b,s) memcpy(b,a,s) -#define bzero(a,s) memset(a,0,s) -#define bcmp memcmp - -/* This avoids problems with uninitialized static variables going in .data. */ -#define static - -#endif /* USG */ diff --git a/src/m/ns32000.h b/src/m/ns32000.h deleted file mode 100644 index 9fe59767089..00000000000 --- a/src/m/ns32000.h +++ /dev/null @@ -1,112 +0,0 @@ -/* machine description file for National Semiconductor 32000, running Genix. - Copyright (C) 1985, 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-2" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#undef WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -/* #define NO_ARG_ARRAY */ - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -/* #define LOAD_AVE_TYPE long */ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -/* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -/* #define C_ALLOCA */ -#ifdef __NetBSD__ -#define HAVE_ALLOCA -#endif - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -/* #define NO_REMAP */ - -#define TEXT_START 0 - -#define STACK_DIRECTION -1 - -#ifndef __NetBSD__ -#define EXEC_MAGIC 0410 - -#define PURESIZE 140000 - -#define START_FILES pre-crt0.o /lib/crt0.o -#endif diff --git a/src/m/nu.h b/src/m/nu.h deleted file mode 100644 index ec9ad5f2976..00000000000 --- a/src/m/nu.h +++ /dev/null @@ -1,71 +0,0 @@ -/* machine description file for TI Nu machines using system V. - Copyright (C) 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-2" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* XINT must explicitly sign-extend */ - -#define EXPLICIT_SIGN_EXTEND - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - vax, m68000, ns16000 are the ones defined so far. */ - -#ifndef m68000 -#define m68000 -#endif - -#ifndef NU -#define NU -#endif - -/* Data type of load average, as read out of kmem. */ -/* These are commented out since it does not really work in uniplus */ - -/* #define LOAD_AVE_TYPE long */ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -/* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */ - -/* Change some things to avoid bugs in compiler */ - -#define SWITCH_ENUM_BUG 1 - -/* The NU machine has a compiler that can handle long names. */ - -#undef SHORTNAMES - -/* Specify alignment requirement for start of text and data sections - in the executable file. */ - -#define SECTION_ALIGNMENT pagemask diff --git a/src/m/orion.h b/src/m/orion.h deleted file mode 100644 index bfb85cdb6fc..00000000000 --- a/src/m/orion.h +++ /dev/null @@ -1,71 +0,0 @@ -/* machine description file for HLH Orion. - Copyright (C) 1985 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="bsd4-2" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#undef WORDS_BIG_ENDIAN - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically. */ - -#ifndef orion -#define orion -#endif - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#define WORD_MACHINE - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE double - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#ifndef FSCALE -#define FSCALE 1.0 -#endif -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) - -/* It is necessary to use the portable imitation of alloca, - since a true stack-allocating one is impossible. */ - -#define C_ALLOCA diff --git a/src/m/orion105.h b/src/m/orion105.h deleted file mode 100644 index c9f8991ddf3..00000000000 --- a/src/m/orion105.h +++ /dev/null @@ -1,70 +0,0 @@ -/* machine description file for HLH Orion 1/05 (Clipper). - Copyright (C) 1985 Free Software Foundation, Inc. - Lee McLoughlin <lmjm%doc.imperial.ac.uk@nss.cs.ucl.ac.uk> - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="bsd4-2" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#undef WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Data type of load average, as read out of kmem. */ -/* This used to be `double'. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -/* This used to be 1.0. */ -#ifndef FSCALE -#define FSCALE 256 -#endif -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) - -/* HLH have a SIGWINCH defined (but unimplemented) so we need a sigmask */ -#ifndef sigmask -#define sigmask(m) (1 << ((m) - 1)) -#endif - -#define HAVE_ALLOCA - -/* Here is where programs actually start running */ -#define TEXT_START 0x8000 -#define LD_TEXT_START_ADDR 8000 - -/* Arguments to ignore before argc in crt0.c. */ -#define DUMMIES dummy1, dummy2, diff --git a/src/m/paragon.h b/src/m/paragon.h deleted file mode 100644 index 5c00f7d8d92..00000000000 --- a/src/m/paragon.h +++ /dev/null @@ -1,10 +0,0 @@ -/* m/ file for Paragon i860 machine. */ - -#include "i860.h" -#define COFF -#define SYSTEM_MALLOC -#define TEXT_START 0x10000 -#define LIB_STANDARD -lc -lic -lmach -#define KEEP_OLD_TEXT_SCNPTR -#define KEEP_OLD_PADDR -#define drem fmod diff --git a/src/m/pfa50.h b/src/m/pfa50.h deleted file mode 100644 index 561ba15bb20..00000000000 --- a/src/m/pfa50.h +++ /dev/null @@ -1,94 +0,0 @@ -/* Machine description file for PFU A-series. - Copyright (C) 1988 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Say this machine is a 68000 */ - -#define m68000 -#define mc68000 1 - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* XINT must explicitly sign-extend */ - -#define EXPLICIT_SIGN_EXTEND - -/* The symbol FIONREAD is defined, but the feature does not work. */ - -#define BROKEN_FIONREAD - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -/* Define TEXT_START_ADDR if your linker don't set execute point to _start. - If it needed, temacs always CORE-DUMP. */ - -#define TEXT_START_ADDR __start - -/* Define START_FILES if your machine used _start. - */ - -#define START_FILES crt0.o - -/* Define LD_SWITCH_MACHINE if your linker needs it. - */ - -#define LD_SWITCH_MACHINE -e __start - -#if pfa50 || pfa70 - -/* On A-50/60/70/80, data space has high order byte use. */ -#define VALBITS 26 -#define VALMASK (((1<<VALBITS) - 1) | 0x60000000) -#define XTYPE(a) ((enum Lisp_Type) (((a) >> VALBITS) & GCTYPEMASK)) - -#endif /* pfa50, pfa70 */ - -/* SX/A has alloca in the PW library. */ - -#define LIB_STANDARD -lPW -lc -#define HAVE_ALLOCA - -/* SX/A uses terminfo and lib/curses */ - -#define TERMINFO - -#define HAVE_PTYS -#define HAVE_SOCKETS - -/* SX/A use SystemV style getdents/readdir. */ - -/* SX/A does not have sigblock(2) */ -#define sigblock(mask) (0) - -#define NO_SIOCTL_H - -#undef SIGIO diff --git a/src/m/plexus.h b/src/m/plexus.h deleted file mode 100644 index b42c93c285a..00000000000 --- a/src/m/plexus.h +++ /dev/null @@ -1,115 +0,0 @@ -/* machine description file for the Plexus running System V.2. - Copyright (C) 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-2" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#undef NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#undef WORD_MACHINE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO - are the ones defined so far. */ -/* Plexus predefines m68 instead of m68000. */ -#define m68000 m68 - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#undef EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#undef LOAD_AVE_TYPE - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#undef LOAD_AVE_CVT - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -#undef CANNOT_DUMP - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -#undef VIRT_ADDR_VARIES - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#undef C_ALLOCA -#define HAVE_ALLOCA - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#undef NO_REMAP - -/* Use the following on ld so we can use the gnu crt0 - The plexus ld looks for start */ -#define LD_SWITCH_MACHINE -e __start - -/* Use the PW library, which contains alloca. */ - -#define LIB_STANDARD -lPW -lc - -/* crt0.c should use the vax-bsd style of entry, with no dummy args. */ - -#define CRT0_DUMMIES zero1, zero2, - -/* This triggers some stuff to avoid a compiler bug */ - -#define TAHOE_REGISTER_BUG diff --git a/src/m/pmax.h b/src/m/pmax.h deleted file mode 100644 index 4ddb857b8e8..00000000000 --- a/src/m/pmax.h +++ /dev/null @@ -1,108 +0,0 @@ -/* Machine description file for DEC MIPS machines. */ - -#include "mips.h" - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -The operating system would be either osf1, ultrix, or NetBSD. -NOTE-END */ - -#undef WORDS_BIG_ENDIAN -#undef LIB_STANDARD -#undef START_FILES -#undef COFF -#undef TERMINFO -#define MAIL_USE_FLOCK -#define HAVE_UNION_WAIT - - -#ifdef MACH -#define START_FILES pre-crt0.o /usr/lib/crt0.o -#else -/* This line starts being needed with ultrix 4.0. */ -/* You must delete it for version 3.1. */ -#define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o -#endif - -#ifdef __NetBSD__ -#undef START_FILES -#undef RUN_TIME_REMAP -#define START_FILES pre-crt0.o /usr/lib/crt0.o -#define CANNOT_DUMP -#undef UNEXEC -#endif /* NetBSD */ - -/* Supposedly the following will overcome a kernel bug. */ -#undef LD_SWITCH_MACHINE -#undef DATA_START -#define DATA_START 0x10000000 -#define DATA_SEG_BITS 0x10000000 - -#if 0 -/* I don't see any such conflict in Ultrix 4.2, 4.2a, or 4.3. And - the relocating allocator is a real win. -JimB */ - -/* In Ultrix 4.1, XvmsAlloc.o in libX11.a seems to insist - on defining malloc itself. This should avoid conflicting with it. */ -#define SYSTEM_MALLOC -#endif - -/* Override what mips.h says about this. */ -#undef LINKER - -#ifdef ultrix -/* Ultrix 4.2 (perhaps also 4.1) implements O_NONBLOCK - but it doesn't work right; - and it causes hanging in read_process_output. */ -#define BROKEN_O_NONBLOCK -#endif - -#if defined (OSF1) || defined (MACH) -#undef C_ALLOCA -#define HAVE_ALLOCA -#endif - -#ifndef __NetBSD__ -/* mcc@timessqr.gc.cuny.edu says this makes Emacs work with DECnet. */ -#ifdef HAVE_LIBDNET -#define LIBS_MACHINE -ldnet -#endif - -/* mcc@timessqr.gc.cuny.edu says it is /vmunix on Ultrix 4.2a. */ -#undef KERNEL_FILE -#define KERNEL_FILE "/vmunix" -#endif - -#ifdef ultrix -/* Jim Wilson writes: - [...] The X11 include files that Dec distributes with Ultrix - are bogus. - - When __STDC__ is defined (which is true with gcc), the X11 include files - try to define prototypes. The prototypes however use types which haven't - been defined yet, and thus we get syntax/parse errors. - - You can not fix this by changing the include files, because the prototypes - create circular dependencies, in particular Xutil.h depends on types defined - in Xlib.h, and Xlib.h depends on types defined in Xutil.h. So, no matter - which order you try to include them in, it will still fail. - - Compiling with -DNeedFunctionPrototypes=0 will solve the problem by - directly inhibiting the bad prototypes. This could perhaps just be put in - an a Ultrix configuration file. - - Using the MIT X11 distribution instead of the one provided by Dec will - also solve the problem, but I doubt you can convince everyone to do this. */ -/* Addendum: the MIT X11 distribution neglects to define certain symbols - when NeedFunctionPrototypes is 0, but still tries to use them when - NeedVarargsPrototypes is 1 (which is its default value). So if we're - going to disable non-variadic prototypes, we also need to disable - variadic prototypes. --kwzh@gnu.ai.mit.edu */ -#define C_SWITCH_X_MACHINE -DNeedFunctionPrototypes=0 -DNeedVarargsPrototypes=0 -#endif - -/* Enable a fix in process.c. */ -#define SET_CHILD_PTY_PGRP diff --git a/src/m/pyramid.h b/src/m/pyramid.h deleted file mode 100644 index ace92e51ba3..00000000000 --- a/src/m/pyramid.h +++ /dev/null @@ -1,63 +0,0 @@ -/* machine description file for pyramid. - Copyright (C) 1985, 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="bsd4-2" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#ifdef __GNUC__ -#define NO_ARG_ARRAY -#endif - -/* XINT must explicitly sign extend */ - -#define EXPLICIT_SIGN_EXTEND - -/* pyramid preprocessor defines "pyr", however the following is clearer */ -#define pyramid - -/* Don't use the union types any more. They were used until Emacs 17.45. */ - -#define NO_UNION_TYPE - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE double - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) - -/* Don't use the ordinary -g for debugging in cc */ - -#define C_DEBUG_SWITCH -gx - -/* Reenable this #define for old versions of the Pyramid system. */ - -/* #define PYRAMID_OLD */ diff --git a/src/m/sequent-ptx.h b/src/m/sequent-ptx.h deleted file mode 100644 index 112638dbbf1..00000000000 --- a/src/m/sequent-ptx.h +++ /dev/null @@ -1,141 +0,0 @@ -/* machine description file for SEQUENT machines running DYNIX/ptx - Copyright (C) 1985, 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="ptx" */ - -#include "intel386.h" - -/* Define how to take a char and sign-extend into an int. - On machines where char is signed, this is a no-op. */ -/* CHECK THIS */ -#define SIGN_EXTEND_CHAR(c) (c) - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others. */ - -/* BTW: ptx defines _SEQUENT_, i386 */ - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* crt0.c should use the vax-bsd style of entry, with these dummy args. */ -/* Already defined. Assume prior definition works for PTX. */ -#if 0 -#undef CRT0_DUMMIES -#define CRT0_DUMMIES dummy1, dummy2, dummy3, -#endif - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#undef LOAD_AVE_TYPE -#define LOAD_AVE_TYPE unsigned long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#undef FSCALE -#define FSCALE 1000.0 -#undef LOAD_AVE_CVT -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#ifndef __GNUC__ -#define C_ALLOCA -#undef HAVE_ALLOCA -#endif - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ -/* On PTX, can't seem to get a valid executable unless NO_REMAP is - defined. This did work in the Sequent patched Emacs 18.57. */ -#ifndef NO_REMAP -#define NO_REMAP -#endif -/* #undef NO_REMAP */ - -/* If a valid PTX executable could be dumped without NO_REMAP defined, - here's a guess at some defines to make it work. */ -#ifndef NO_REMAP - -/* PTX has getpagesize() but it returns 296. Using the default method of - including getpagesize.h in unexec.c returns 4096 which seems more - reasonable. */ -#undef HAVE_GETPAGESIZE - -/* Override magic number for a.out header. */ -#define EXEC_MAGIC 0411 /* from a.out.h: separated I&D */ - -#define ADJUST_TEXT_SCNHDR_SIZE -#define ADJUST_TEXTBASE - -/* The file sections in the Symmetry a.out must be on 4K boundaries. */ -/* #define DATA_SECTION_ALIGNMENT (4096-1) */ - -#endif /* ifndef NO_REMAP */ - -/* Avoids a compiler bug. */ -#define TAHOE_REGISTER_BUG - -/* (short) negative-int doesn't sign-extend correctly. */ -#define SHORT_CAST_BUG - -/* Cause compilations to be done in parallel in ymakefile. */ -#define MAKE_PARALLEL $& - -/* Use terminfo library. */ -#define LIBS_TERMCAP -ltermlib - diff --git a/src/m/sequent.h b/src/m/sequent.h deleted file mode 100644 index 50b585bc75e..00000000000 --- a/src/m/sequent.h +++ /dev/null @@ -1,175 +0,0 @@ -/* machine description file for SEQUENT BALANCE machines - Copyright (C) 1985, 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -Use -opsystem=bsd4-2, or -opsystem=bsd4-3 on newer systems. -NOTE-END */ - -/* NOTE: this file works for DYNIX release 2.0 - (not tested on 1.3) on NS32000's */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#undef WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -/* #define NO_ARG_ARRAY */ - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO - are the ones defined so far. */ - -/* BTW: DYNIX defines sequent, ns32000, and ns16000 (GENIX compatibility) */ -#ifndef sequent /* pre DYNIX 2.1 releases */ -# define sequent -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* crt0.c should use the vax-bsd style of entry, with these dummy args. */ - -#define CRT0_DUMMIES bogus_fp, - -/* crt0.c should define a symbol `start' and do .globl with a dot. */ - -#define DOT_GLOBAL_START - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE unsigned long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define FSCALE 1000.0 -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -/* #define C_ALLOCA */ -#define HAVE_ALLOCA - -/* Name of file the to look in - for the kernel symbol table (for load average) */ - -#undef KERNEL_FILE -#define KERNEL_FILE "/dynix" - -/* Avoids a compiler bug */ - -#define TAHOE_REGISTER_BUG - -/* Say that the text segment of a.out includes the header; - the header actually occupies the first few bytes of the text segment - and is counted in hdr.a_text. Furthermore, the value written - in the a_text in the file must have N_ADDRADJ added to it. */ - -#define A_TEXT_OFFSET(HDR) (sizeof (HDR) + N_ADDRADJ (HDR)) - -/* This is the offset of the executable's text, from the start of the file. */ - -#define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr)) - -/* (short) negative-int doesn't sign-extend correctly */ -#define SHORT_CAST_BUG - -/* Cause compilations to be done in parallel in ymakefile. */ -#define MAKE_PARALLEL & - -/* Say that mailer interlocking uses flock. */ -#define MAIL_USE_FLOCK - -/* On many 4.2-based systems, there's a rather tricky bug - * with the interpretation of the pid/pgrp value given to - * the F_SETOWN fcntl() call. It works as documented EXCEPT - * when applied to filedescriptors for sockets, in which case - * the sign must be reversed. If your emacs subprocesses get - * SIGIO's when they shouldn't, while running on a socket - * (e.g. under X windows), you should probably define this. - */ - -#define F_SETOWN_SOCK_NEG - -/* Some really obscure 4.2-based systems (like Sequent DYNIX) - * do not support asynchronous I/O (using SIGIO) on sockets, - * even though it works fine on tty's. If you have one of - * these systems, define the following, and then use it in - * config.h (or elsewhere) to decide when (not) to use SIGIO. - */ - -#define NO_SOCK_SIGIO - -/* Define how to search all pty names. - This is for Dynix 3.0; delete next 5 definitions for older systems. */ - -#define PTY_MAJOR "pqrstuvwPQRSTUVW" -#define PTY_MINOR "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" -#define PTY_ITERATION \ - register int ma, mi; \ - for (ma = 0; ma < sizeof(PTY_MAJOR) - 1; ma++) \ - for (mi = 0; mi < sizeof(PTY_MINOR) - 1; mi++) -#define PTY_NAME_SPRINTF \ - sprintf (ptyname, "/dev/pty%c%c", PTY_MAJOR[ma], PTY_MINOR[mi]); -#define PTY_TTY_NAME_SPRINTF \ - sprintf (ptyname, "/dev/tty%c%c", PTY_MAJOR[ma], PTY_MINOR[mi]); diff --git a/src/m/sgi3000.h b/src/m/sgi3000.h deleted file mode 100644 index 79249b61911..00000000000 --- a/src/m/sgi3000.h +++ /dev/null @@ -1 +0,0 @@ -#include "irist.h" diff --git a/src/m/sparc.h b/src/m/sparc.h deleted file mode 100644 index 9b3ccf362a5..00000000000 --- a/src/m/sparc.h +++ /dev/null @@ -1,121 +0,0 @@ -/* machine description file for Sun 4 SPARC. - Copyright (C) 1987 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -Use -opsystem=sunos4 for operating system version 4, and --opsystem=bsd4-2 for earlier versions. -NOTE-END */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Say this machine is a sparc */ - -#ifndef sparc -#define sparc -#endif - -#ifdef __GNUC__ -# define C_OPTIMIZE_SWITCH -O -#else - /* This level of optimization is reported to work. */ -# define C_OPTIMIZE_SWITCH -O2 -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* XINT must explicitly sign-extend */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#define HAVE_ALLOCA -#ifndef NOT_C_CODE -#if __GNUC__ < 2 /* Modern versions of GCC handle alloca directly. */ -#include <alloca.h> -#endif -#endif - -/* Must use the system's termcap, if we use any termcap. - It does special things. */ - -#ifndef TERMINFO -#define LIBS_TERMCAP -ltermcap -#endif - -/* Mask for address bits within a memory segment */ - -#define SEGMENT_MASK (SEGSIZ - 1) - -/* Arrange to link with sun windows, if requested. */ -/* For details on emacstool and sunfns, see etc/SUN-SUPPORT */ -/* These programs require Sun UNIX 4.2 Release 3.2 or greater */ - -#ifdef HAVE_SUN_WINDOWS -#define OTHER_FILES ${etcdir}emacstool -#define LIBS_MACHINE -lsuntool -lsunwindow -lpixrect -#define OBJECTS_MACHINE sunfns.o -#define SYMS_MACHINE syms_of_sunfns () -#define PURESIZE 130000 -#endif - -#ifndef __NetBSD__ -#ifndef __linux__ -/* This really belongs in s/sun.h. */ - -/* Say that the text segment of a.out includes the header; - the header actually occupies the first few bytes of the text segment - and is counted in hdr.a_text. */ - -#define A_TEXT_OFFSET(HDR) sizeof (HDR) - -/* This is the offset of the executable's text, from the start of the file. */ - -#define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr)) - -#endif /* __linux__ */ -#endif /* __NetBSD__ */ diff --git a/src/m/sps7.h b/src/m/sps7.h deleted file mode 100644 index 40f67c8b895..00000000000 --- a/src/m/sps7.h +++ /dev/null @@ -1,118 +0,0 @@ -/* machine description file for Bull SPS-7. - Copyright (C) 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-2" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Say this machine is a 68000 */ - -#ifndef m68000 -#define m68000 -#endif - -#define sps7 - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* XINT must explicitly sign-extend */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ -/* Suspect there is something weird about this machine, so turn it off. */ - -/* #define LOAD_AVE_TYPE long */ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -/* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */ - -#define SMX -#define V3x - -/* - * Define HAVE_PTYS if the system supports pty devices. - */ - -#define HAVE_PTYS - -/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ - -#define HAVE_SOCKETS - -/* Have the socketpair call -*/ - -#define SKTPAIR - -/* Define CLASH_DETECTION if you want lock files to be written - so that Emacs can tell instantly when you try to modify - a file that someone else has modified in his Emacs. */ - -#define CLASH_DETECTION - -/* Use Berkeley style interface to nlist */ - -#define NLIST_STRUCT - -/* Define this to cause -N to be passed to ld. This is needed - * in uniplus because of its funny memory space layout. - * SMX--If you are using 32 bit (COFF) use "-N", else don't use anything. - */ - -#define LD_SWITCH_MACHINE -N -T32 -e __start - -/* If you are compiling for a 68020, then use -lc32 else use -lc */ - -#define LIB_STANDARD -lc32 - -/* Fore 16 bit, -linet, for 32 bit -linet32 (be sure you have it!). */ - -#define LIBS_MACHINE -linet32 - -/* Use -T32 for 68020, -T16 otherwise */ - -#define C_SWITCH_MACHINE -T32 - -/* - Here we assume that signal.h is included before config.h - so that we can override it here. */ - -#undef SIGIO - -/* Other than 68020 use ld16, as32, or undefine (defaults ld and as). */ - -#define ASS as32 - -#ifdef V3x -#define EXEC_MAGIC 0x10b -#define SEGMENT_MASK (NBPS-1) -#define ADJUST_EXEC_HEADER f_hdr.f_magic = SMROMAGIC;\ - f_ohdr.stsize = 0; -#endif diff --git a/src/m/sr2k.h b/src/m/sr2k.h deleted file mode 100644 index e735668679a..00000000000 --- a/src/m/sr2k.h +++ /dev/null @@ -1,185 +0,0 @@ -/* machine description file for Hitachi SR2001/SR2201 machines. - Copyright (C) 1996 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="hpux" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#undef WORD_MACHINE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ -#ifndef hp9000s800 -# define hp9000s800 -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* The standard definitions of these macros would work ok, - but these are faster because the constants are short. */ - - -#define XUINT(a) (((unsigned)(a) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS) - -#define XSET(var, type, ptr) \ - ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS)) - -#define XMARKBIT(a) ((a) < 0) -#define XSETMARKBIT(a,b) ((a) = ((b) ? (a)|MARKBIT : (a) & ~MARKBIT)) - -#if 0 /* Loses when sign bit of type field is set. */ -#define XUNMARK(a) ((a) = (((a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS)) -#endif - -/* Define the BSTRING functions in terms of the sysV functions. */ -/* On HPUX 8.05, including types.h can include strings.h - which declares these as functions. Hence the #ifndef. */ - -#ifndef HAVE_BCOPY -#define bcopy(a,b,s) memcpy (b,a,s) -#define bzero(a,s) memset (a,0,s) -#define bcmp memcmp -#endif - -/* #ifdef __hpux */ -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -#ifndef hp9000s800 -# define hp9000s800 -#endif - - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE double - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) ((int) (x * 100.0)) - - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -#undef CANNOT_DUMP - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -#define VIRT_ADDR_VARIES - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#define C_ALLOCA -/* #define HAVE_ALLOCA */ - -/* the data segment on this machine always starts at address 0x40000000. */ - -#define DATA_SEG_BITS 0x40000000 - -#define DATA_START 0x40000000 -#define TEXT_START 0x00000000 - -#define STACK_DIRECTION 1 - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -/* This machine requires completely different unexec code - which lives in a separate file. Specify the file name. */ - -#define UNEXEC unexhp9k800.o - -#define LIBS_MACHINE -#define LIBS_DEBUG - -/* Include the file bsdtty.h, since this machine has job control. */ -/* #define NEED_BSDTTY */ - -/* The symbol in the kernel where the load average is found - is named _avenrun. At this time there are two major flavors - of hp-ux (there is the s800 and s300 (s200) flavors). The - differences are thusly moved to the corresponding machine description file. -*/ - -/* no underscore please */ -#define LDAV_SYMBOL "avenrun" - -#if 0 /* Supposedly no longer true. */ -/* In hpux, for unknown reasons, S_IFLNK is defined even though - symbolic links do not exist. - Make sure our conditionals based on S_IFLNK are not confused. - - Here we assume that stat.h is included before config.h - so that we can override it here. */ - -#undef S_IFLNK -#endif - -/* On USG systems these have different names. */ - -#define index strchr -#define rindex strrchr - -/* #endif */ diff --git a/src/m/stride.h b/src/m/stride.h deleted file mode 100644 index 3e031ebe859..00000000000 --- a/src/m/stride.h +++ /dev/null @@ -1,122 +0,0 @@ -/* Definitions file for GNU Emacs running on Stride Micro System-V.2.2 - Copyright (C) 1985, 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-2" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#undef NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#undef WORD_MACHINE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - vax, m68000, ns16000, pyramid, orion, tahoe, APOLLO and STRIDE - are the ones defined so far. */ - -#define m68000 /* because the SGS compiler defines "m68k" */ -#ifndef STRIDE -#define STRIDE -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE double - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -#undef CANNOT_DUMP - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -#undef VIRT_ADDR_VARIES - -/* The STRIDE system is more powerful than standard USG5. */ - -#define HAVE_PTYS -#define HAVE_GETTIMEOFDAY -#define BSTRING -#define SKTPAIR -#define HAVE_SOCKETS - -#define MAIL_USE_FLOCK -#undef TERMINFO -#define EXEC_MAGIC 0413 - -/* USG wins again: Foo! I can't get SIGIO to work properly on the Stride, because I'm - running a System V variant, and don't have a reliable way to block SIGIO - signals without losing them. So, I've gone back to non-SIGIO mode, so - please append this line to the file "stride.h": - */ -#undef SIGIO - -/* Specify alignment requirement for start of text and data sections - in the executable file. */ - -#define SECTION_ALIGNMENT (getpagesize() - 1) - -/* - * UniStride has this in /lib/libc.a. - */ -#undef NONSYSTEM_DIR_LIBRARY - -/* UniStride defines getwd. */ - -#define HAVE_GETWD - -/* Define this macro if system defines a type `union wait'. */ - -#define HAVE_UNION_WAIT diff --git a/src/m/sun1.h b/src/m/sun1.h deleted file mode 100644 index 68a113747e8..00000000000 --- a/src/m/sun1.h +++ /dev/null @@ -1,76 +0,0 @@ -/* machine description file for Sun 68000's - Copyright (C) 1985, 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -Sun 1, 2 and 3 (-machine=sun1, -machine=sun2, -machine=sun3; - -opsystem=bsd4-2 or -opsystem=sunos4) - - Whether you should use sun1, sun2 or sun3 depends on the - VERSION OF THE OPERATING SYSTEM - you have. There are three machine types for different versions of - SunOS. All are derived from Berkeley 4.2, meaning that you should - use -opsystem=bsd4-2. Emacs 17 has run on all of them. You will - need to use sun3 on Sun 2's running SunOS release 3. - - For SunOS release 4 on a Sun 3, use -machine=sun3 and - -opsystem=sunos4. See the file share-lib/SUNBUG for how to solve - problems caused by bugs in the "export" version of SunOS 4. -NOTE-END */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Say this machine is a 68000 */ - -#define m68000 - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* Sun can't write competent compilers */ -#define COMPILER_REGISTER_BUG - -/* XINT must explicitly sign-extend */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) - -/* Must use the system's termcap. It does special things. */ - -#define LIBS_TERMCAP -ltermcap - -/* Mask for address bits within a memory segment */ - -#define SEGMENT_MASK (SEGSIZ - 1) diff --git a/src/m/sun2.h b/src/m/sun2.h deleted file mode 100644 index e9267df0967..00000000000 --- a/src/m/sun2.h +++ /dev/null @@ -1,97 +0,0 @@ -/* machine description file for Sun 68000's OPERATING SYSTEM version 2. - Note that "sun2.h" refers to the operating system version, not the - CPU model number. See the MACHINES file for details. - Copyright (C) 1985, 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -Sun 1, 2 and 3 (-machine=sun1, -machine=sun2, -machine=sun3; - -opsystem=bsd4-2 or -opsystem=sunos4) - - Whether you should use sun1, sun2 or sun3 depends on the - VERSION OF THE OPERATING SYSTEM - you have. There are three machine types for different versions of - SunOS. All are derived from Berkeley 4.2, meaning that you should - use -opsystem=bsd4-2. Emacs 17 has run on all of them. You will - need to use sun3 on Sun 2's running SunOS release 3. - - For SunOS release 4 on a Sun 3, use -machine=sun3 and - -opsystem=sunos4. See the file share-lib/SUNBUG for how to solve - problems caused by bugs in the "export" version of SunOS 4. -NOTE-END */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Say this machine is a 68000 */ - -#ifndef m68000 -#define m68000 -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* Sun can't write competent compilers */ -#define COMPILER_REGISTER_BUG - -/* XINT must explicitly sign-extend */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) - -/* Say that this is a Sun 2; must check for and maybe reinitialize - the "sky" board. */ - -#define sun2 - -/* Must use the system's termcap. It does special things. */ - -#define LIBS_TERMCAP -ltermcap - -/* Mask for address bits within a memory segment */ - -#define SEGMENT_MASK (SEGSIZ - 1) - -/* Arrange to link with sun windows, if requested. */ -/* For details on emacstool and sunfns, see etc/SUN-SUPPORT */ -/* These programs require Sun UNIX 4.2 Release 3.2 or greater */ - -#ifdef HAVE_SUN_WINDOWS -#define OTHER_FILES ${libsrc}emacstool -#define LIBS_MACHINE -lsuntool -lsunwindow -lpixrect -#define OBJECTS_MACHINE sunfns.o -#define SYMS_MACHINE syms_of_sunfns () -#define PURESIZE 132000 -#endif diff --git a/src/m/sun3-68881.h b/src/m/sun3-68881.h deleted file mode 100644 index b74758fa4fc..00000000000 --- a/src/m/sun3-68881.h +++ /dev/null @@ -1,28 +0,0 @@ -/* sun3-68881.h, for a Sun 3, using the 68881. */ - -#include "sun3.h" - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -Sun with 68881 co-processor (-machine=sun3-68881; - -opsystem=bsd4-2 or -opsystem=sunos4) - - Versions 1, 2, and 3 of the operating system are derived from - Berkeley 4.2, meaning that you should use -opsystem=bsd4-2. - - For SunOS release 4 on a Sun 3 with a 68881, use -machine=sun3-68881 - and -opsystem=sunos4. See the file share-lib/SUNBUG for how to - solve problems caused by bugs in the "export" version of SunOS 4. -NOTE-END */ - -/* In case we are using floating point, work together with crt0.c. */ - -#ifndef __GNUC__ -#define C_SWITCH_MACHINE -f68881 -#endif - -#define sun_68881 -#define START_FILES crt0.o /usr/lib/Mcrt1.o diff --git a/src/m/sun3-fpa.h b/src/m/sun3-fpa.h deleted file mode 100644 index da959cac361..00000000000 --- a/src/m/sun3-fpa.h +++ /dev/null @@ -1,28 +0,0 @@ -/* sun3-fpa.h, for a Sun 3, using the Sun fpa. */ - -#include "sun3.h" - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -Sun with FPA co-processor (-machine=sun3-fpa; - -opsystem=bsd4-2 or -opsystem=sunos4) - - Versions 1, 2, and 3 of the operating system are derived from - Berkeley 4.2, meaning that you should use -opsystem=bsd4-2. - - For SunOS release 4 on a Sun 3 with an FPA, use -machine=sun3-fpa - and -opsystem=sunos4. See the file share-lib/SUNBUG for how to - solve problems caused by bugs in the "export" version of SunOS 4. -NOTE-END */ - -/* In case we are using floating point, work together with crt0.c. */ - -#ifndef __GNUC__ -#define C_SWITCH_MACHINE -ffpa -#endif - -#define sun_fpa -#define START_FILES crt0.o /usr/lib/Wcrt1.o diff --git a/src/m/sun3-soft.h b/src/m/sun3-soft.h deleted file mode 100644 index 05a1e9e7f49..00000000000 --- a/src/m/sun3-soft.h +++ /dev/null @@ -1,29 +0,0 @@ -/* sun3-soft.h, for a Sun 3, using the Sun with software floating point. */ - -#include "sun3.h" - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -Sun with software floating point (-machine=sun3-soft; - -opsystem=bsd4-2 or -opsystem=sunos4) - - Versions 1, 2, and 3 of the operating system are derived from - Berkeley 4.2, meaning that you should use -opsystem=bsd4-2. - - If you want to use software floating point on SunOS release 4 on a - Sun 3, use -machine=sun3-68881 and -opsystem=sunos4. See the file - share-lib/SUNBUG for how to solve problems caused by bugs in the - "export" version of SunOS 4. -NOTE-END */ - -/* In case we are using floating point, work together with crt0.c. */ - -#ifndef __GNUC__ -#define C_SWITCH_MACHINE -fsoft -#endif - -#define sun_soft -#define START_FILES crt0.o /usr/lib/Fcrt1.o diff --git a/src/m/sun3.h b/src/m/sun3.h deleted file mode 100644 index b20889c25b8..00000000000 --- a/src/m/sun3.h +++ /dev/null @@ -1,50 +0,0 @@ -/* machine description file for Sun 68000's OPERATING SYSTEM version 3 - (for either 68000 or 68020 systems). */ - -#include "sun2.h" -#undef sun2 -#ifndef sun3 -#define sun3 -#endif - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -Sun 1, 2 and 3 (-machine=sun1, -machine=sun2, -machine=sun3; - -opsystem=bsd4-2 or -opsystem=sunos4) - - Whether you should use sun1, sun2 or sun3 depends on the - VERSION OF THE OPERATING SYSTEM - you have. There are three machine types for different versions of - SunOS. All are derived from Berkeley 4.2, meaning that you should - use -opsystem=bsd4-2. Emacs 17 has run on all of them. You will - need to use sun3 on Sun 2's running SunOS release 3. - - For SunOS release 4 on a Sun 3, use -machine=sun3 and - -opsystem=sunos4. See the file share-lib/SUNBUG for how to solve - problems caused by bugs in the "export" version of SunOS 4. -NOTE-END */ - -/* Say that the text segment of a.out includes the header; - the header actually occupies the first few bytes of the text segment - and is counted in hdr.a_text. */ - -#define A_TEXT_OFFSET(HDR) sizeof (HDR) - -/* This is the offset of the executable's text, from the start of the file. */ - -#define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr)) - -/* In case we are using floating point, work together with crt0.c. */ - -#ifndef __GNUC__ -#define C_SWITCH_MACHINE -fsoft -#endif - -/* This line is needed if you are linking with X windows - and the library xlib was compiled to use the 68881. - For maximum cleanliness, don't edit this file; - instead, insert this line in config.h. */ -/* #define START_FILES crt0.o /usr/lib/Mcrt1.o */ diff --git a/src/m/sun386.h b/src/m/sun386.h deleted file mode 100644 index cf9537ea100..00000000000 --- a/src/m/sun386.h +++ /dev/null @@ -1,82 +0,0 @@ -/* machine description file for Sun's 386-based RoadRunner. This file borrows heavily from - "sun2.h", but since that file is heavily cpu-specific, it was easier - not to include it. - - Copyright (C) 1988 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START - Use s-sunos4-0.h for operating system version 4.0, and s-sunos4-1.h - for later versions. See the file share-lib/SUNBUG for how to solve - problems caused by bugs in the "export" version of SunOS 4. -NOTE-END */ - -/* Say this machine is a bird */ -#ifndef roadrunner -#define roadrunner -#endif - -/* Actual cpu-specific defs */ -#include "intel386.h" - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) - -/* Underscores are not prepended to C symbols on this machine. */ -#undef LDAV_SYMBOL -#define LDAV_SYMBOL "avenrun" - -/* Must use the system's termcap. It does special things. */ - -#define LIBS_TERMCAP -ltermcap - -/* Arrange to link with sun windows, if requested. */ -/* For details on emacstool and sunfns, see etc/SUN-SUPPORT */ -/* These programs require Sun UNIX 4.2 Release 3.2 or greater */ - -#ifdef HAVE_SUN_WINDOWS -#define OTHER_FILES ${etcdir}emacstool -#define LIBS_MACHINE -lsuntool -lsunwindow -lpixrect -#define OBJECTS_MACHINE sunfns.o -#define SYMS_MACHINE syms_of_sunfns () -#define PURESIZE 132000 -#endif - -/* Roadrunner uses 'COFF' format */ -#define COFF - -#define C_SWITCH_MACHINE -Bstatic /* avoid dynamic linking */ -#define LD_SWITCH_MACHINE -n -Bstatic -/* Get rid of the -e __start that s-sunos4.h does. */ -#undef LD_SWITCH_SYSTEM - -#ifdef USG -/* USG detects Solaris. j.w.hawtin@lut.ac.uk says Solaris 2.1 - on the 386 needs this. */ -#define LIBS_MACHINE -lkvm -#endif diff --git a/src/m/symmetry.h b/src/m/symmetry.h deleted file mode 100644 index 2cbb820b2d8..00000000000 --- a/src/m/symmetry.h +++ /dev/null @@ -1,101 +0,0 @@ -/* machine description file for SEQUENT SYMMETRY machines - Copyright (C) 1985, 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* CHANGE: [Eric H. Herrin II; eric@ms.uky.edu - 15 Sept 1988] - * Modified the sequent.h file for the Sequent Symmetry machine. - * Biggest change was to align the sections in the a.out to 4K - * boundaries (this is the page size). - */ - - -/* NOTICE: this file works for DYNIX release 3.0.12 on Sequent Symmetry - * (Intel 80386) machines. Hasn't been tested on anything else. - */ - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="bsd4-3" */ - -#include "intel386.h" - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE unsigned long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define FSCALE 1000.0 -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -/* #define C_ALLOCA */ -/*#define HAVE_ALLOCA*/ - -/* Name of file the to look in - for the kernel symbol table (for load average) */ - -#undef KERNEL_FILE -#define KERNEL_FILE "/dynix" - -/* Avoids a compiler bug */ - -#define TAHOE_REGISTER_BUG - -/* Say that the text segment of a.out includes the header; - the header actually occupies the first few bytes of the text segment - and is counted in hdr.a_text. Furthermore, the value written - in the a_text in the file must have N_ADDRADJ added to it. */ - -#define A_TEXT_OFFSET(HDR) (sizeof (HDR) + N_ADDRADJ (HDR)) - -/* This is the offset of the executable's text, from the start of the file. */ - -#define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr)) - -/* The file sections in the Symmetry a.out must be on 4K boundaries. - */ -#define SEGSIZ 4096 -#define SECTION_ALIGNMENT (SEGSIZ-1) - -/* (short) negative-int doesn't sign-extend correctly */ -#define SHORT_CAST_BUG - -/* Cause compilations to be done in parallel in ymakefile. */ -#define MAKE_PARALLEL & - -/* Define how to search all pty names. - This is for Dynix 3.0; delete next 5 definitions for older systems. */ - -#define PTY_MAJOR "pqrstuvwPQRSTUVW" -#define PTY_MINOR "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" -#define PTY_ITERATION \ - register int ma, mi; \ - for (ma = 0; ma < sizeof(PTY_MAJOR) - 1; ma++) \ - for (mi = 0; mi < sizeof(PTY_MINOR) - 1; mi++) -#define PTY_NAME_SPRINTF \ - sprintf (pty_name, "/dev/pty%c%c", PTY_MAJOR[ma], PTY_MINOR[mi]); -#define PTY_TTY_NAME_SPRINTF \ - sprintf (pty_name, "/dev/tty%c%c", PTY_MAJOR[ma], PTY_MINOR[mi]); diff --git a/src/m/tad68k.h b/src/m/tad68k.h deleted file mode 100644 index eddf1456a9a..00000000000 --- a/src/m/tad68k.h +++ /dev/null @@ -1,119 +0,0 @@ -/* Machine-dependent configuration for GNU Emacs for Tadpole 68k machines - Copyright (C) 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-3" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -/* #define NO_ARG_ARRAY */ - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically */ - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -/* #define EXPLICIT_SIGN_EXTEND */ - -/* Data type of load average, as read out of kmem. */ -/* #define LOAD_AVE_TYPE long */ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -/* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ /* Karl Kleinpaste says this isn't needed. */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -/* SysV has alloca in the PW library */ - -#define LIB_STANDARD -lPW -lc -#define HAVE_ALLOCA - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -/* #define NO_REMAP */ - -/* Use Terminfo, not Termcap. */ - -#define TERMINFO - -/* TPIX extras */ - -#define TPIX /* used in various source files */ -#define BSTRING /* we do have the BSTRING functions */ -#define CLASH_DETECTION /* we want to know about clashes */ -#undef ADDR_CORRECT /* don't need this bug fix */ -#define fchmod /* we don't have fchmod() */ -#define SECTION_ALIGNMENT (2048-1) /* 2k boundaries required in unexec */ -#define SEGMENT_MASK (128*1024-1) /* 128k offsets required in unexec */ -#define C_DEBUG_SWITCH -O /* build with -O (TPIX has GCC 1.34) */ - -#define BROKEN_TIOCGWINSZ /* Don't try to use TIOCGWINSZ. */ - -/* omit next four lines if no TCP installed */ - -#define select gnu_select /* avoid select() name clash */ -#define HAVE_PTYS /* we do have PTYs if we have TCP */ -#define HAVE_SOCKETS /* we do have sockets if we have TCP */ -#define LIBS_SYSTEM -lsocket /* get TCP networking functions */ diff --git a/src/m/tahoe.h b/src/m/tahoe.h deleted file mode 100644 index fdb89244dbe..00000000000 --- a/src/m/tahoe.h +++ /dev/null @@ -1,72 +0,0 @@ -/* machine description file for tahoe. - Copyright (C) 1985 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -Use -opsystem=bsd4-2 or -opsystem=bsd4-3, depending on the version of -Berkeley you are running. -NOTE-END */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* XINT must explicitly sign-extend */ - -#define EXPLICIT_SIGN_EXTEND - -/* Say this machine is a tahoe */ - -#ifndef tahoe -#define tahoe -#endif /* not tahoe */ - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* crt0.c should use the vax-bsd style of entry, with no dummy args. */ - -#define CRT0_DUMMIES - -/* crt0.c should define a symbol `start' and do .globl with a dot. */ - -#define DOT_GLOBAL_START - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE double - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) - -/* This triggers some stuff to avoid a compiler bug */ - -#define TAHOE_REGISTER_BUG - -/* System provides alloca. */ - -#define HAVE_ALLOCA diff --git a/src/m/tandem-s2.h b/src/m/tandem-s2.h deleted file mode 100644 index 405af5c844a..00000000000 --- a/src/m/tandem-s2.h +++ /dev/null @@ -1,21 +0,0 @@ -/* machine description file for the Tandem Integrity S2. */ - -#include "mips.h" - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-3" */ - -/* This overrides some of the usual support for the mips and system V.3. */ - -/* The operating system apparently defines TIOCGETC - but it doesn't work. */ -#undef BROKEN_TIOCGETC - -/* rs@ai.mit.edu said this was necessary for it to work. However, some - user of this machine ought to try to get subprocesses to work. */ -#undef subprocesses - -/* Correct some library file names. */ -#define START_FILES pre-crt0.o /usr/lib/crt1.o1.31 -#define LIB_STANDARD -lbsd -lc /usr/lib/crtn.o1.31 diff --git a/src/m/targon31.h b/src/m/targon31.h deleted file mode 100644 index 16f29cac10b..00000000000 --- a/src/m/targon31.h +++ /dev/null @@ -1,104 +0,0 @@ -/* targon31 machine description file - Copyright (C) 1985, 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-2-2" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -/* #define NO_ARG_ARRAY */ - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#define WORD_MACHINE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO - are the ones defined so far. */ - -/* #define m68k is defined by the Compiler */ -/* #define m68000 */ - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -/* #define LOAD_AVE_TYPE double */ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -/* #define C_ALLOCA */ -/* #define HAVE_ALLOCA */ - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -/* #define NO_REMAP */ -/* Supposedly NO_REMAP is not needed with the following change. */ -#define SEGMENT_MASK 0xffff - -#define SWITCH_ENUM_BUG 1 diff --git a/src/m/tek4300.h b/src/m/tek4300.h deleted file mode 100644 index 30ebbc7d36d..00000000000 --- a/src/m/tek4300.h +++ /dev/null @@ -1,106 +0,0 @@ -/* machine description file for tek4300. - Copyright (C) 1988 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="bsd4-3" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#undef NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#undef WORD_MACHINE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically. */ - -#ifndef tek4300 -#define tek4300 -#endif - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (x) - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. */ - -#define C_ALLOCA - -/* setjmp and longjmp can safely replace _setjmp and _longjmp, */ - -#define _longjmp longjmp -#define _setjmp setjmp - -/* The text segment always starts at a fixed address. - This way we don't need to have a label _start defined. */ - -#define TEXT_START 0 - -/* The Tektronix exec struct for ZMAGIC files is struct zexec */ - -#define EXEC_HDR_TYPE struct zexec - -/* The entry-point label (start of text segment) is `start', not `__start'. */ - -#define DEFAULT_ENTRY_ADDRESS start - -/* Use the system's malloc calls, gmalloc.c won't work for us. */ - -#define SYSTEM_MALLOC - -/* In building xmakefile, "cc -E -g" forcibly reads from stdin. Since we - can't remove the CFLAGS from that "cc -E" invocation, make sure we - never pass -g. If you want to debug, remove the following, and fix - src/Makefile.in so it doesn't pass ${CFLAGS} when creating xmakefile. */ - -#define C_DEBUG_SWITCH - -/* eirik@elf.ithaca.ny.us said this was needed in 19.22. */ -#define NO_MODE_T - -/* Process groups work in the traditional BSD manner. */ - -#define BSD_PGRPS diff --git a/src/m/tekxd88.h b/src/m/tekxd88.h deleted file mode 100644 index dbda4cb181f..00000000000 --- a/src/m/tekxd88.h +++ /dev/null @@ -1,127 +0,0 @@ -/* Configuration file for the Tektronix XD88 running UTekV 3.2e, - contributed by Kaveh Ghazi (ghazi@caip.rutgers.edu) 1/15/93. - You probably need to use gnu make (version 3.63 or higher.) - Copyright (C) 1993 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ -#ifndef m88000 /* Some 88k C compilers already define this */ -#define m88000 -#endif - -/* Define how to take a char and sign-extend into an int. - On machines where char is signed, this is a no-op. */ -#define SIGN_EXTEND_CHAR(c) (c) - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ -/* #define EXPLICIT_SIGN_EXTEND */ - -/* Data type of load average, as read out of kmem. */ -/* #define LOAD_AVE_TYPE double */ /* No load average on XD88. */ -/* Convert that into an integer that is 100 for a load average of 1.0 */ -/* #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) */ - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ -/*#define CANNOT_DUMP*/ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ -/* #define VIRT_ADDR_VARIES */ - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ -#define NO_REMAP - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ -#ifdef __GNUC__ -# define alloca __builtin_alloca /* Use the gcc builtin alloca() ... */ -# define HAVE_ALLOCA /* ... and be sure that no other ones are tried out. */ -# undef C_ALLOCA -# define C_OPTIMIZE_SWITCH -O2 -#else /* not __GNUC__ */ -# undef HAVE_ALLOCA -# define C_ALLOCA /* Use the alloca() supplied in alloca.c. */ -# define STACK_DIRECTION -1 /* The stack grows towards lower addresses. */ -# define C_OPTIMIZE_SWITCH -O -#endif /* __GNUC__ */ - -#undef NOMULTIPLEJOBS /* we have job control */ -#define HAVE_SOCKETS /* sockets are available */ -#define BROKEN_FIONREAD /* is this needed ? */ -#define BSTRING /* its in libc but not declared in any header file. */ -#undef sigsetmask /* XD88 has sigsetmask() */ - -#undef LIB_X11_LIB /* Don't use shared libraries defined in usg5-3.h */ -#undef LIBX11_SYSTEM - -#define HAVE_TERMIOS /* We have termios. */ -#undef HAVE_TERMIO /* Make sure termios ifdef code is used, not termio. */ -#define NO_TERMIO /* Don't include both termios.h and termio.h */ -#define HAVE_PTYS /* XD88 SysV has PTYs. */ -#define SYSV_PTYS /* Requires <termios.h> */ - -#ifdef ghs /* Stands for "Green Hills Software", defined only in /bin/cc */ -/* -X18 means do not allocate programmer-defined local variables to a - register unless they are declared register. (Copied from perl-4.036 - Green Hills C hints file. Might be needed for setjmp, I don't know.) */ -# define C_SWITCH_MACHINE -X18 -/* We need /lib/default.ld so that /bin/ld can read its link directives. */ -# define LD_SWITCH_SYSTEM /lib/default.ld -#endif /* ghs */ - -/* We need this to get dumping to work */ -#define KEEP_OLD_TEXT_SCNPTR diff --git a/src/m/template.h b/src/m/template.h deleted file mode 100644 index b6a31d2e18a..00000000000 --- a/src/m/template.h +++ /dev/null @@ -1,121 +0,0 @@ -/* machine description file template. - Copyright (C) 1985, 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="<name of system .h file here, without the s- or .h>" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#define WORD_MACHINE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -#define CANNOT_DUMP - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -#define VIRT_ADDR_VARIES - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#define C_ALLOCA -#define HAVE_ALLOCA - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP - -/* Some really obscure 4.2-based systems (like Sequent DYNIX) - * do not support asynchronous I/O (using SIGIO) on sockets, - * even though it works fine on tty's. If you have one of - * these systems, define the following, and then use it in - * config.h (or elsewhere) to decide when (not) to use SIGIO. - * - * You'd think this would go in an operating-system description file, - * but since it only occurs on some, but not all, BSD systems, the - * reasonable place to select for it is in the machine description - * file. - */ - -#define NO_SOCK_SIGIO - - -/* After adding support for a new system, modify the large case - statement in the `configure' script to recognize reasonable - configuration names, and add a description of the system to - `etc/MACHINES'. - - If you've just fixed a problem in an existing configuration file, - you should also check `etc/MACHINES' to make sure its descriptions - of known problems in that configuration should be updated. */ diff --git a/src/m/tower32.h b/src/m/tower32.h deleted file mode 100644 index 31ed5c0da52..00000000000 --- a/src/m/tower32.h +++ /dev/null @@ -1,121 +0,0 @@ -/* machine description file for the NCR Tower 32 running System V.2. - Copyright (C) 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-2-2" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -/* #define NO_ARG_ARRAY */ - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO - are the ones defined so far. */ -#define m68000 - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -/* #define LOAD_AVE_TYPE long */ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -/* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -/* #define C_ALLOCA */ -#define HAVE_ALLOCA - -/* Change some things to avoid bugs in compiler */ - -#define SWITCH_ENUM_BUG 1 - -/* The standard C library is -lcieee, not -lc. - Also use the PW library, which contains alloca. */ - -#define LIB_STANDARD -lPW -lcieee - -/* crt0.c should use the vax-bsd style of entry. Beware that if you have - OS release 2.00.00 or later, *and* change src/ymakefile so that CFLAGS - includes C_OPTIMIZE_SWITCH rather than C_DEBUG_SWITCH, you need to - uncomment CRT0_DUMMIES and C_OPTIMIZE_SWITCH below. */ - -/* With the optimizer OFF */ - -#define CRT0_DUMMIES zero, bogus_fp, - -/* With the optimizer ON */ - -/* #define CRT0_DUMMIES */ -/* #define C_OPTIMIZE_SWITCH -O2 */ - -/* emacs's magic number isn't temacs's; - temacs is writable text (the default!). */ - -#include <asld.h> -#define EXEC_MAGIC AOUT1MAGIC -#define EXEC_PAGESIZE DATACLICK diff --git a/src/m/tower32v3.h b/src/m/tower32v3.h deleted file mode 100644 index d85d631b1bb..00000000000 --- a/src/m/tower32v3.h +++ /dev/null @@ -1,121 +0,0 @@ -/* machine description file for the NCR Tower 32 running System V.3. - Copyright (C) 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-3" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -/* #define NO_ARG_ARRAY */ - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO - are the ones defined so far. */ -#define m68000 - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -/* #define LOAD_AVE_TYPE long */ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -/* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#ifdef __GNUC__ -#define HAVE_ALLOCA -#define alloca __builtin_alloca -#define C_OPTIMIZE_SWITCH -O -fstrength-reduce -fomit-frame-pointer -#define LIB_STANDARD -lc /lib/crtn.o -#else -/* This section is correct if you do *not* change src/ymakefile so that - CFLAGS includes C_OPTIMIZE_SWITCH rather than C_DEBUG_SWITCH. */ -#define HAVE_ALLOCA -#define C_DEBUG_SWITCH -g -O0 -#define LIB_STANDARD -lc -lPW /lib/crtn.o -/* This section is correct if you do enable C_OPTIMIZE_SWITCH. */ -/* #define C_ALLOCA */ -/* #define STACK_DIRECTION -1 */ -/* #define C_OPTIMIZE_SWITCH -O2 */ -/* #define LIB_STANDARD -lc /lib/crtn.o */ -#endif - -/* The OS maps the data section far away from the text section. */ -#define NO_REMAP -#define TEXT_START 0 -#undef static -#define START_FILES pre-crt0.o /lib/crt1.o - -/* The OS has an implementation of symlinks that is semantically different - from BSD, but for some silly reason it partly has the same syntax. */ -#undef S_IFLNK - -/* The OS needs stream.h+ptem.h included in sysdep.c. */ -#define NO_SIOCTL_H -#define NEED_PTEM_H diff --git a/src/m/ustation.h b/src/m/ustation.h deleted file mode 100644 index b73ff291d12..00000000000 --- a/src/m/ustation.h +++ /dev/null @@ -1,143 +0,0 @@ -/* machine description file for U-station (Nihon Unisys, SS5E; Sumitomo Denkoh, U-Station E30). - Copyright (C) 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-3" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#undef NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#undef WORD_MACHINE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO - are the ones defined so far. */ -/* Masscomp predefines mc68000. */ - -#define m68000 mc68000 - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#undef EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE double - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -#undef CANNOT_DUMP - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that data space precedes text space, - numerically. */ - -#undef VIRT_ADDR_VARIES - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -/* On return from a subroutine, the 68020 compiler restores old contents of - register variables relative to sp, so alloca() screws up such routines. - The following definitions should work on all Masscomps. On the MC-5500 - (a 68000) one can #undef C_ALLOCA and #define HAVE_ALLOCA. */ - -#define C_ALLOCA -#undef HAVE_ALLOCA - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#undef NO_REMAP - -/* Name of file the to look in - for the kernel symbol table (for load average) */ - -#define KERNEL_FILE "/unix" - -/* This triggers some stuff to avoid a compiler bug */ - -#define MASSC_REGISTER_BUG - -/* Prevent -lg from being used for debugging. Not implemented? */ - -#define LIBS_DEBUG - -/* - * Define HAVE_TERMIO if the system provides sysV-style ioctls - * for terminal control. - */ - -#define HAVE_TERMIO - -/* -lnet is not standard library */ - -#undef LIBS_SYSTEM - -/* Compiler's bug */ - -#define SWITCH_ENUM_BUG - -/* Termcap is available */ - -#define LIBS_TERMCAP -ltermcap - -#define EXEC_PAGESIZE 1024 -#define PURESIZE 130000 - -#undef SIGIO -#undef SIGTSTP diff --git a/src/m/vax.h b/src/m/vax.h deleted file mode 100644 index 99d06d1c0d9..00000000000 --- a/src/m/vax.h +++ /dev/null @@ -1,124 +0,0 @@ -/* machine description file for vax. - Copyright (C) 1985, 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="note" - -NOTE-START -The vax (-machine=vax) runs zillions of different operating systems. - -Vax running Berkeley Unix (-opsystem=bsd4-1, -opsystem=bsd4-2 or - -opsystem=bsd4-3) - - Works. - -Vax running Ultrix (-opsystem=bsd4-2) - - Works. See under Ultrix in share-lib/MACHINES for problems using X - windows on Ultrix. - -Vax running System V rel 2 (-opsystem=usg5-2) - - 18.27 Works. - -Vax running System V rel 0 (-opsystem=usg5-0) - - Works as of 18.36. - -Vax running VMS (-opsystem=vms) - - 18.36 believed to work. Addition of features is necessary to make - this Emacs version more usable. - -NOTE-END */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#undef WORDS_BIG_ENDIAN - -/* #define vax -- appears to be done automatically */ - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* crt0.c should use the vax-bsd style of entry, with no dummy args. */ - -#define CRT0_DUMMIES - -/* crt0.c should define a symbol `start' and do .globl with a dot. */ - -#define DOT_GLOBAL_START - -#ifdef BSD_SYSTEM -/* USG systems I know of running on Vaxes do not actually - support the load average, so disable it for them. */ - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE double - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) - -#endif /* BSD_SYSTEM */ - -#ifdef VMS - -/* Data type of load average, as read out of driver. */ - -#define LOAD_AVE_TYPE float - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) - -#endif /* VMS */ - -/* Vax sysV has alloca in the PW library. */ - -#ifdef USG -#define LIB_STANDARD -lPW -lc -#define HAVE_ALLOCA - -/* There is some bug in unexec in for usg 5.2 on a vax - which nobody who runs such a system has yet tracked down. */ -#ifndef USG5_0 -#define NO_REMAP -#endif /* USG 5_0 */ - -#define TEXT_START 0 -#endif /* USG */ - -#ifdef BSD_SYSTEM -#define HAVE_ALLOCA -#endif /* BSD_SYSTEM */ - -#ifdef VMS -#define C_ALLOCA -#endif - -#ifdef BSD4_2 -#define HAVE_FTIME -#endif diff --git a/src/m/wicat.h b/src/m/wicat.h deleted file mode 100644 index 395ebe2e255..00000000000 --- a/src/m/wicat.h +++ /dev/null @@ -1,155 +0,0 @@ -/* machine description file for WICAT machines. - Copyright (C) 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-2" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#undef NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#undef WORD_MACHINE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - vax, m68000, ns16000 are the ones defined so far. */ - -#ifndef m68000 -#define m68000 -#endif - -/* This flag is used only in alloca.s. */ -#define WICAT - -/* Use type int rather than a union, to represent Lisp_Object */ - -#define NO_UNION_TYPE - -/* XINT must explicitly sign-extend */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#undef LOAD_AVE_TYPE - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#undef LOAD_AVE_CVT - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -#undef CANNOT_DUMP - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -#undef VIRT_ADDR_VARIES - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -/* For the Wicat C compiler version 4.2, this can be removed - and the alloca in alloca.s used. */ -#define C_ALLOCA -#define STACK_DIRECTION -1 /* grows towards lower addresses on WICAT */ - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#undef NO_REMAP - -/* For WICAT, define TAHOE_REGISTER_BUG if you have a pre-4.2 C compiler */ - -#define TAHOE_REGISTER_BUG - -/* pagesize definition */ - -#define EXEC_PAGESIZE 0x1000 - -/* Delete this for WICAT sys V releases before 2.0. */ - -#define LIB_STANDARD -lc-nofp - -/* Special magic number */ - -#define EXEC_MAGIC MC68ROMAGIC - -/* Special switches to give to ld. */ - -#define LD_SWITCH_MACHINE -e __start -N - -/* Sigh...cannot define this for WICAT cuz 0 length memcpy blows chunks */ - -#undef BSTRING - -#ifdef BSTRING -#undef bcopy -#undef bzero -#undef bcmp - -#define bcopy(a,b,s) memcpy(b,a,s) -#define bzero(a,s) memset(a,0,s) -#define bcmp memcmp -#endif - -/* - * Define optimflags if you want to optimize. - * - Set to null string for pre-4.2 C compiler - * - Set to "-O -Wopt,-O-f" for 4.2 - */ - -#define C_OPTIMIZE_SWITCH /* -O -Wopt,-O-f */ - -/* For WICAT version supporting PTYs and select (currently internal only) */ - -#ifdef HAVE_PTYS -#undef FIRST_PTY_LETTER -#define FIRST_PTY_LETTER 'q' -#endif - -/* there is a select() in libcurses.a that causes a conflict so use termlib */ -#ifdef HAVE_SELECT -#undef TERMINFO -#define LIBS_TERMCAP select.o -ltermlib -#endif diff --git a/src/m/windowsnt.h b/src/m/windowsnt.h deleted file mode 100644 index 64206889251..00000000000 --- a/src/m/windowsnt.h +++ /dev/null @@ -1,129 +0,0 @@ -/* Machine description file for Windows NT. - - Copyright (C) 1993, 1994 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="<name of system .h file here, without the s- or .h>" */ - -/* Define BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -/* #define BIG_ENDIAN */ - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -#define WORD_MACHINE - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -#define LOAD_AVE_TYPE long - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* -#define CANNOT_DUMP 1 -#define CANNOT_UNEXEC 1 - */ - -/* Start and end of text and data. */ -#define DATA_END get_data_end () -#define DATA_START get_data_start () - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* Text does precede data space, but this is never a safe assumption. */ -#define VIRT_ADDR_VARIES - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -/* #define C_ALLOCA */ -#include <malloc.h> -#define HAVE_ALLOCA - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -/* #define NO_REMAP */ - -/* Some really obscure 4.2-based systems (like Sequent DYNIX) - * do not support asynchronous I/O (using SIGIO) on sockets, - * even though it works fine on tty's. If you have one of - * these systems, define the following, and then use it in - * config.h (or elsewhere) to decide when (not) to use SIGIO. - * - * You'd think this would go in an operating-system description file, - * but since it only occurs on some, but not all, BSD systems, the - * reasonable place to select for it is in the machine description - * file. - */ - -/* #define NO_SOCK_SIGIO */ - -/* After adding support for a new system, modify the large case - statement in the `configure' script to recognize reasonable - configuration names, and add a description of the system to - `etc/MACHINES'. - - If you've just fixed a problem in an existing configuration file, - you should also check `etc/MACHINES' to make sure its descriptions - of known problems in that configuration should be updated. */ diff --git a/src/m/xps100.h b/src/m/xps100.h deleted file mode 100644 index e712d154030..00000000000 --- a/src/m/xps100.h +++ /dev/null @@ -1,105 +0,0 @@ -/* xps100.h for the Honeywell XPS100 running UNIX System V.2 - Mark J. Hewitt (mjh@uk.co.kernel) - - Copyright (C) 1985, 1986 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="usg5-2" */ - -/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -/* #define NO_ARG_ARRAY */ - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -/* #define LOAD_AVE_TYPE long */ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -/* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -/* #define CANNOT_DUMP */ - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -/* #define VIRT_ADDR_VARIES */ - -/* Define C_ALLOCA if this machine does not support a true alloca - and the one written in C should be used instead. - Define HAVE_ALLOCA to say that the system provides a properly - working alloca function and it should be used. - Define neither one if an assembler-language alloca - in the file alloca.s should be used. */ - -#define C_ALLOCA -/* #define HAVE_ALLOCA */ - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -#define NO_REMAP -#define STACK_DIRECTION -1 -#define TERMINFO -#define SWITCH_ENUM_BUG -#define LIB_STANDARD -lc -#define LD_SWITCH_MACHINE -X -#define SECTION_ALIGNMENT (0x3ff) |