diff options
| author | Joakim Verona | 2012-05-24 20:39:12 +0200 |
|---|---|---|
| committer | Joakim Verona | 2012-05-24 20:39:12 +0200 |
| commit | 44fce8ffe7198991c41c985ff4e67ec7d407907e (patch) | |
| tree | 81e28bf1b327f55c0c50b30c1c1c6d1e78c6849d /src/m | |
| parent | 207460f292db1b9ede6b8ddad3ed7ac6bba026b5 (diff) | |
| parent | f18b81e6d670ea83e3ccb7c7b6aff50933120018 (diff) | |
| download | emacs-44fce8ffe7198991c41c985ff4e67ec7d407907e.tar.gz emacs-44fce8ffe7198991c41c985ff4e67ec7d407907e.zip | |
upstream
Diffstat (limited to 'src/m')
| -rw-r--r-- | src/m/README | 7 | ||||
| -rw-r--r-- | src/m/alpha.h | 53 | ||||
| -rw-r--r-- | src/m/amdx86-64.h | 35 | ||||
| -rw-r--r-- | src/m/ia64.h | 32 | ||||
| -rw-r--r-- | src/m/ibmrs6000.h | 46 | ||||
| -rw-r--r-- | src/m/ibms390x.h | 32 | ||||
| -rw-r--r-- | src/m/intel386.h | 29 | ||||
| -rw-r--r-- | src/m/m68k.h | 32 | ||||
| -rw-r--r-- | src/m/macppc.h | 24 | ||||
| -rw-r--r-- | src/m/sparc.h | 30 | ||||
| -rw-r--r-- | src/m/template.h | 34 |
11 files changed, 0 insertions, 354 deletions
diff --git a/src/m/README b/src/m/README deleted file mode 100644 index ad91167648e..00000000000 --- a/src/m/README +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | This directory contains C header files containing machine-specific | ||
| 2 | definitions. Each file describes a particular machine. The emacs | ||
| 3 | configuration script edits ../config.h to include the appropriate one of | ||
| 4 | these files, and then each emacs source file includes config.h. | ||
| 5 | |||
| 6 | template.h is a generic template for machine descriptions; it | ||
| 7 | describes the parameters a machine file can specify. | ||
diff --git a/src/m/alpha.h b/src/m/alpha.h deleted file mode 100644 index 2a97a3d5b0c..00000000000 --- a/src/m/alpha.h +++ /dev/null | |||
| @@ -1,53 +0,0 @@ | |||
| 1 | /* Machine description file for the alpha chip. | ||
| 2 | |||
| 3 | Copyright (C) 1994, 1997, 1999, 2001-2012 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | Author: Rainer Schoepf | ||
| 6 | (according to authors.el) | ||
| 7 | |||
| 8 | This file is part of GNU Emacs. | ||
| 9 | |||
| 10 | GNU Emacs is free software: you can redistribute it and/or modify | ||
| 11 | it under the terms of the GNU General Public License as published by | ||
| 12 | the Free Software Foundation, either version 3 of the License, or | ||
| 13 | (at your option) any later version. | ||
| 14 | |||
| 15 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 16 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 18 | GNU General Public License for more details. | ||
| 19 | |||
| 20 | You should have received a copy of the GNU General Public License | ||
| 21 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | ||
| 22 | |||
| 23 | #ifndef _LP64 | ||
| 24 | #define _LP64 /* This doesn't appear to be necessary on OSF 4/5 -- fx. */ | ||
| 25 | #endif | ||
| 26 | |||
| 27 | /* Now define a symbol for the cpu type, if your compiler | ||
| 28 | does not define it automatically. */ | ||
| 29 | /* __alpha defined automatically */ | ||
| 30 | |||
| 31 | |||
| 32 | #ifdef __ELF__ | ||
| 33 | |||
| 34 | #if !defined (GNU_LINUX) && !defined (__NetBSD__) | ||
| 35 | #define DATA_START 0x140000000 | ||
| 36 | #endif | ||
| 37 | |||
| 38 | #else /* not __ELF__ */ | ||
| 39 | |||
| 40 | /* Describe layout of the address space in an executing process. */ | ||
| 41 | #define DATA_START 0x140000000 | ||
| 42 | |||
| 43 | #endif /* __ELF__ */ | ||
| 44 | |||
| 45 | /* On the Alpha it's best to avoid including TERMIO since struct | ||
| 46 | termio and struct termios are mutually incompatible. */ | ||
| 47 | #define NO_TERMIO | ||
| 48 | |||
| 49 | /* Many Alpha implementations (e.g. gas 2.8) can't handle DBL_MIN: | ||
| 50 | they generate code that uses a signaling NaN instead of DBL_MIN. | ||
| 51 | Define DBL_MIN_REPLACEMENT to be the next value larger than DBL_MIN: | ||
| 52 | this avoids the assembler bug. */ | ||
| 53 | #define DBL_MIN_REPLACEMENT 2.2250738585072019e-308 | ||
diff --git a/src/m/amdx86-64.h b/src/m/amdx86-64.h deleted file mode 100644 index f0482c733f9..00000000000 --- a/src/m/amdx86-64.h +++ /dev/null | |||
| @@ -1,35 +0,0 @@ | |||
| 1 | /* machine description file for AMD x86-64. | ||
| 2 | |||
| 3 | Copyright (C) 2002-2012 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 3 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | ||
| 19 | |||
| 20 | #define BITS_PER_LONG 64 | ||
| 21 | #define BITS_PER_EMACS_INT 64 | ||
| 22 | |||
| 23 | /* Now define a symbol for the cpu type, if your compiler | ||
| 24 | does not define it automatically: | ||
| 25 | Ones defined so far include vax, m68000, ns16000, pyramid, | ||
| 26 | orion, tahoe, APOLLO and many others */ | ||
| 27 | /* __x86_64 defined automatically. */ | ||
| 28 | |||
| 29 | /* Define the type to use. */ | ||
| 30 | #define EMACS_INT long | ||
| 31 | #define pI "l" | ||
| 32 | #define EMACS_UINT unsigned long | ||
| 33 | |||
| 34 | /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ | ||
| 35 | #undef DATA_SEG_BITS | ||
diff --git a/src/m/ia64.h b/src/m/ia64.h deleted file mode 100644 index 47df94cedd0..00000000000 --- a/src/m/ia64.h +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | /* machine description file for the IA-64 architecture. | ||
| 2 | |||
| 3 | Copyright (C) 2000-2012 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | Contributed by David Mosberger <davidm@hpl.hp.com> | ||
| 6 | |||
| 7 | This file is part of GNU Emacs. | ||
| 8 | |||
| 9 | GNU Emacs is free software: you can redistribute it and/or modify | ||
| 10 | it under the terms of the GNU General Public License as published by | ||
| 11 | the Free Software Foundation, either version 3 of the License, or | ||
| 12 | (at your option) any later version. | ||
| 13 | |||
| 14 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | GNU General Public License for more details. | ||
| 18 | |||
| 19 | You should have received a copy of the GNU General Public License | ||
| 20 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | ||
| 21 | |||
| 22 | #define BITS_PER_LONG 64 | ||
| 23 | #define BITS_PER_EMACS_INT 64 | ||
| 24 | |||
| 25 | /* Now define a symbol for the cpu type, if your compiler | ||
| 26 | does not define it automatically. */ | ||
| 27 | /* __ia64__ defined automatically */ | ||
| 28 | |||
| 29 | /* Define the type to use. */ | ||
| 30 | #define EMACS_INT long | ||
| 31 | #define pI "l" | ||
| 32 | #define EMACS_UINT unsigned long | ||
diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h deleted file mode 100644 index 9798ad2d3d7..00000000000 --- a/src/m/ibmrs6000.h +++ /dev/null | |||
| @@ -1,46 +0,0 @@ | |||
| 1 | /* R2 AIX machine/system dependent defines | ||
| 2 | |||
| 3 | Copyright (C) 1988, 2001-2012 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 3 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | ||
| 19 | |||
| 20 | |||
| 21 | /* The data segment in this machine always starts at address 0x20000000. | ||
| 22 | An address of data cannot be stored correctly in a Lisp object; | ||
| 23 | we always lose the high bits. We must tell XPNTR to add them back. */ | ||
| 24 | #define DATA_START 0x20000000 | ||
| 25 | #define DATA_SEG_BITS 0x20000000 | ||
| 26 | |||
| 27 | #ifndef NLIST_STRUCT | ||
| 28 | /* AIX supposedly doesn't use this interface, but on the RS/6000 | ||
| 29 | it apparently does. */ | ||
| 30 | #define NLIST_STRUCT | ||
| 31 | #endif | ||
| 32 | |||
| 33 | #undef ADDR_CORRECT | ||
| 34 | #define ADDR_CORRECT(x) ((int)(x)) | ||
| 35 | |||
| 36 | /*** BUILD 9008 - FIONREAD problem still exists in X-Windows. ***/ | ||
| 37 | #define BROKEN_FIONREAD | ||
| 38 | /* As we define BROKEN_FIONREAD, SIGIO will be undefined in systty.h. | ||
| 39 | But, on AIX, SIGAIO, SIGPTY, and SIGPOLL are defined as SIGIO, | ||
| 40 | which causes compilation error at init_signals in sysdep.c. So, we | ||
| 41 | define these macros so that syssignal.h detects them and undefine | ||
| 42 | SIGAIO, SIGPTY and SIGPOLL. */ | ||
| 43 | #define BROKEN_SIGAIO | ||
| 44 | #define BROKEN_SIGPTY | ||
| 45 | #define BROKEN_SIGPOLL | ||
| 46 | |||
diff --git a/src/m/ibms390x.h b/src/m/ibms390x.h deleted file mode 100644 index aa652a8206a..00000000000 --- a/src/m/ibms390x.h +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | /* Machine description file for IBM S390 in 64-bit mode | ||
| 2 | |||
| 3 | Copyright (C) 2002-2012 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 3 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | ||
| 19 | |||
| 20 | #define BITS_PER_LONG 64 | ||
| 21 | #define BITS_PER_EMACS_INT 64 | ||
| 22 | |||
| 23 | /* Define the type to use. */ | ||
| 24 | #define EMACS_INT long | ||
| 25 | #define pI "l" | ||
| 26 | #define EMACS_UINT unsigned long | ||
| 27 | |||
| 28 | /* On the 64 bit architecture, we can use 60 bits for addresses */ | ||
| 29 | #define VALBITS 60 | ||
| 30 | |||
| 31 | /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ | ||
| 32 | #define XPNTR(a) XUINT (a) | ||
diff --git a/src/m/intel386.h b/src/m/intel386.h deleted file mode 100644 index 78a43e92c21..00000000000 --- a/src/m/intel386.h +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | /* Machine description file for intel 386. | ||
| 2 | |||
| 3 | Copyright (C) 1987, 2001-2012 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 3 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | ||
| 19 | |||
| 20 | |||
| 21 | #ifdef WINDOWSNT | ||
| 22 | #define DATA_START get_data_start () | ||
| 23 | #endif | ||
| 24 | |||
| 25 | #ifdef GNU_LINUX | ||
| 26 | /* libc-linux/sysdeps/linux/i386/ulimit.c says that due to shared library, */ | ||
| 27 | /* we cannot get the maximum address for brk */ | ||
| 28 | #define ULIMIT_BREAK_VALUE (32*1024*1024) | ||
| 29 | #endif | ||
diff --git a/src/m/m68k.h b/src/m/m68k.h deleted file mode 100644 index 120a2bad293..00000000000 --- a/src/m/m68k.h +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | /* Machine description file for generic Motorola 68k. | ||
| 2 | |||
| 3 | Copyright (C) 1985, 1995, 2001-2012 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 3 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | ||
| 19 | |||
| 20 | /* Now define a symbol for the cpu type, if your compiler | ||
| 21 | does not define it automatically. */ | ||
| 22 | #ifndef m68k | ||
| 23 | #define m68k | ||
| 24 | #endif | ||
| 25 | |||
| 26 | #ifdef GNU_LINUX | ||
| 27 | #ifdef __ELF__ | ||
| 28 | #define DATA_SEG_BITS 0x80000000 | ||
| 29 | #endif | ||
| 30 | |||
| 31 | #endif | ||
| 32 | |||
diff --git a/src/m/macppc.h b/src/m/macppc.h deleted file mode 100644 index 0303ead25d6..00000000000 --- a/src/m/macppc.h +++ /dev/null | |||
| @@ -1,24 +0,0 @@ | |||
| 1 | /* machine description file For the powerpc Macintosh. | ||
| 2 | |||
| 3 | Copyright (C) 1994, 2001-2012 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 3 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | ||
| 19 | |||
| 20 | #ifdef _ARCH_PPC64 | ||
| 21 | #ifndef _LP64 | ||
| 22 | #define _LP64 | ||
| 23 | #endif | ||
| 24 | #endif | ||
diff --git a/src/m/sparc.h b/src/m/sparc.h deleted file mode 100644 index 27b6070ba87..00000000000 --- a/src/m/sparc.h +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | /* machine description file for Sun 4 SPARC. | ||
| 2 | |||
| 3 | Copyright (C) 1987, 2001-2012 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 3 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | ||
| 19 | |||
| 20 | /* __sparc__ is defined by the compiler by default. */ | ||
| 21 | |||
| 22 | #ifdef __arch64__ /* GCC, 64-bit ABI. */ | ||
| 23 | |||
| 24 | #define BITS_PER_LONG 64 | ||
| 25 | |||
| 26 | #ifndef _LP64 | ||
| 27 | #define _LP64 /* Done on Alpha -- not sure if it should be here. -- fx */ | ||
| 28 | #endif | ||
| 29 | |||
| 30 | #endif /* __arch64__ */ | ||
diff --git a/src/m/template.h b/src/m/template.h deleted file mode 100644 index 5f1a46c86e1..00000000000 --- a/src/m/template.h +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | /* machine description file template. | ||
| 2 | |||
| 3 | Copyright (C) 1985-1986, 2001-2012 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 3 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | ||
| 19 | |||
| 20 | /* Now define a symbol for the cpu type, if your compiler | ||
| 21 | does not define it automatically. | ||
| 22 | Ones defined so far include m68k and many others */ | ||
| 23 | |||
| 24 | /* After adding support for a new machine, modify the large case | ||
| 25 | statement in configure.in to recognize reasonable | ||
| 26 | configuration names, and add a description of the system to | ||
| 27 | `etc/MACHINES'. | ||
| 28 | |||
| 29 | Check for any tests of $machine in configure.in, and add an entry | ||
| 30 | for the new machine if needed. | ||
| 31 | |||
| 32 | If you've just fixed a problem in an existing configuration file, | ||
| 33 | you should also check `etc/MACHINES' to make sure its descriptions | ||
| 34 | of known problems in that configuration should be updated. */ | ||