diff options
| author | Dan Nicolaescu | 2008-07-13 07:35:26 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-07-13 07:35:26 +0000 |
| commit | bdee2ef3fab9b8a434d41c1f95c3f98aa342008b (patch) | |
| tree | 611a86007793d85fdbad7189d3e7a50adc319079 /src/m | |
| parent | f06b5ed2ce9329fb6112f2ccfd7e3271c5cbe70c (diff) | |
| download | emacs-bdee2ef3fab9b8a434d41c1f95c3f98aa342008b.tar.gz emacs-bdee2ef3fab9b8a434d41c1f95c3f98aa342008b.zip | |
* config.nt (HAVE_FACES): Remove, unused.
* s/vms.h: Use __GNUC__ instead of _GNUC_.
* m/macppc.h:
* m/alpha.h: Use GNU_LINUX instead of LINUX. Reorganize conditionals.
* m/ibms390x.h (XINT, XUINT): Don't define, same as the default
(SPECIAL_EMACS_INT):
* m/ia64.h (SPECIAL_EMACS_INT):
* m/amdx86-64.h (SPECIAL_EMACS_INT):
* s/gnu.h (NLIST_STRUCT):
* aix4-2.h (X11R5_INHIBIT_I18N):
* s/gnu-linux.h (LINUX):
* s/msdos.h (HAVE_FACES):
* s/ms-w32.h (HAVE_FACES): Don't define, unused.
* systty.h:
* sysdep.c (setup_pty): Don't depend on SYSV_PTYS, it is not used
anymore.
Diffstat (limited to 'src/m')
| -rw-r--r-- | src/m/alpha.h | 17 | ||||
| -rw-r--r-- | src/m/amdx86-64.h | 1 | ||||
| -rw-r--r-- | src/m/ia64.h | 1 | ||||
| -rw-r--r-- | src/m/ibms390x.h | 5 | ||||
| -rw-r--r-- | src/m/macppc.h | 4 |
5 files changed, 10 insertions, 18 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h index f1bd6e4b603..2bd42bdf9d2 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h | |||
| @@ -96,12 +96,15 @@ NOTE-END | |||
| 96 | #ifdef __ELF__ | 96 | #ifdef __ELF__ |
| 97 | #undef UNEXEC | 97 | #undef UNEXEC |
| 98 | #define UNEXEC unexelf.o | 98 | #define UNEXEC unexelf.o |
| 99 | #ifndef LINUX | 99 | #ifndef GNU_LINUX |
| 100 | #define DATA_START 0x140000000 | 100 | #define DATA_START 0x140000000 |
| 101 | #endif | 101 | #endif |
| 102 | |||
| 103 | #if (defined (__NetBSD__) || defined (__OpenBSD__)) | ||
| 104 | #define HAVE_TEXT_START | ||
| 102 | #endif | 105 | #endif |
| 103 | 106 | ||
| 104 | #ifndef __ELF__ | 107 | #else /* not __ELF__ */ |
| 105 | 108 | ||
| 106 | /* Describe layout of the address space in an executing process. */ | 109 | /* Describe layout of the address space in an executing process. */ |
| 107 | 110 | ||
| @@ -112,9 +115,9 @@ NOTE-END | |||
| 112 | 115 | ||
| 113 | #define UNEXEC unexalpha.o | 116 | #define UNEXEC unexalpha.o |
| 114 | 117 | ||
| 115 | #endif /* notdef __ELF__ */ | 118 | #endif /* __ELF__ */ |
| 116 | 119 | ||
| 117 | #if defined (LINUX) && __GNU_LIBRARY__ - 0 < 6 | 120 | #if defined (GNU_LINUX) && __GNU_LIBRARY__ - 0 < 6 |
| 118 | /* This controls a conditional in main. */ | 121 | /* This controls a conditional in main. */ |
| 119 | #define LINUX_SBRK_BUG | 122 | #define LINUX_SBRK_BUG |
| 120 | #endif | 123 | #endif |
| @@ -123,7 +126,7 @@ NOTE-END | |||
| 123 | termio and struct termios are mutually incompatible. */ | 126 | termio and struct termios are mutually incompatible. */ |
| 124 | #define NO_TERMIO | 127 | #define NO_TERMIO |
| 125 | 128 | ||
| 126 | #if defined (LINUX) || defined (__NetBSD__) || defined (__OpenBSD__) | 129 | #if defined (GNU_LINUX) || defined (__NetBSD__) || defined (__OpenBSD__) |
| 127 | # define TEXT_END ({ extern int _etext; &_etext; }) | 130 | # define TEXT_END ({ extern int _etext; &_etext; }) |
| 128 | # ifndef __ELF__ | 131 | # ifndef __ELF__ |
| 129 | # define COFF | 132 | # define COFF |
| @@ -131,10 +134,6 @@ NOTE-END | |||
| 131 | # endif /* notdef __ELF__ */ | 134 | # endif /* notdef __ELF__ */ |
| 132 | #endif | 135 | #endif |
| 133 | 136 | ||
| 134 | #if (defined (__NetBSD__) || defined (__OpenBSD__)) && defined (__ELF__) | ||
| 135 | #define HAVE_TEXT_START | ||
| 136 | #endif | ||
| 137 | |||
| 138 | /* Many Alpha implementations (e.g. gas 2.8) can't handle DBL_MIN: | 137 | /* Many Alpha implementations (e.g. gas 2.8) can't handle DBL_MIN: |
| 139 | they generate code that uses a signaling NaN instead of DBL_MIN. | 138 | they generate code that uses a signaling NaN instead of DBL_MIN. |
| 140 | Define DBL_MIN_REPLACEMENT to be the next value larger than DBL_MIN: | 139 | Define DBL_MIN_REPLACEMENT to be the next value larger than DBL_MIN: |
diff --git a/src/m/amdx86-64.h b/src/m/amdx86-64.h index 34800af8e9d..781247fa9f4 100644 --- a/src/m/amdx86-64.h +++ b/src/m/amdx86-64.h | |||
| @@ -52,7 +52,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 52 | /* Define the type to use. */ | 52 | /* Define the type to use. */ |
| 53 | #define EMACS_INT long | 53 | #define EMACS_INT long |
| 54 | #define EMACS_UINT unsigned long | 54 | #define EMACS_UINT unsigned long |
| 55 | #define SPECIAL_EMACS_INT | ||
| 56 | 55 | ||
| 57 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | 56 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend |
| 58 | the 24-bit bit field into an int. In other words, if bit fields | 57 | the 24-bit bit field into an int. In other words, if bit fields |
diff --git a/src/m/ia64.h b/src/m/ia64.h index 960228afe40..1e2d2800f9c 100644 --- a/src/m/ia64.h +++ b/src/m/ia64.h | |||
| @@ -42,7 +42,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 42 | /* Define the type to use. */ | 42 | /* Define the type to use. */ |
| 43 | #define EMACS_INT long | 43 | #define EMACS_INT long |
| 44 | #define EMACS_UINT unsigned long | 44 | #define EMACS_UINT unsigned long |
| 45 | #define SPECIAL_EMACS_INT | ||
| 46 | 45 | ||
| 47 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | 46 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend |
| 48 | the 24-bit bit field into an int. In other words, if bit fields | 47 | the 24-bit bit field into an int. In other words, if bit fields |
diff --git a/src/m/ibms390x.h b/src/m/ibms390x.h index 31efa03f480..14f6509fdb7 100644 --- a/src/m/ibms390x.h +++ b/src/m/ibms390x.h | |||
| @@ -48,7 +48,6 @@ NOTE-END */ | |||
| 48 | /* Define the type to use. */ | 48 | /* Define the type to use. */ |
| 49 | #define EMACS_INT long | 49 | #define EMACS_INT long |
| 50 | #define EMACS_UINT unsigned long | 50 | #define EMACS_UINT unsigned long |
| 51 | #define SPECIAL_EMACS_INT | ||
| 52 | 51 | ||
| 53 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | 52 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend |
| 54 | the 24-bit bit field into an int. In other words, if bit fields | 53 | the 24-bit bit field into an int. In other words, if bit fields |
| @@ -126,10 +125,6 @@ NOTE-END */ | |||
| 126 | 125 | ||
| 127 | #define LINKER $(CC) -nostdlib | 126 | #define LINKER $(CC) -nostdlib |
| 128 | 127 | ||
| 129 | /* Define XINT and XUINT so that they can take arguments of type int */ | ||
| 130 | #define XINT(a) (((long) (a) << (BITS_PER_LONG - VALBITS)) >> (BITS_PER_LONG - VALBITS)) | ||
| 131 | #define XUINT(a) ((long) (a) & VALMASK) | ||
| 132 | |||
| 133 | /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ | 128 | /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ |
| 134 | 129 | ||
| 135 | #define XPNTR(a) XUINT (a) | 130 | #define XPNTR(a) XUINT (a) |
diff --git a/src/m/macppc.h b/src/m/macppc.h index c0e53c2e063..eeb9990562e 100644 --- a/src/m/macppc.h +++ b/src/m/macppc.h | |||
| @@ -54,7 +54,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 54 | 54 | ||
| 55 | /* #define NO_SOCK_SIGIO */ | 55 | /* #define NO_SOCK_SIGIO */ |
| 56 | 56 | ||
| 57 | #if defined (LINUX) || defined (__NetBSD__) || defined (__OpenBSD__) | 57 | #if defined (GNU_LINUX) || defined (__NetBSD__) || defined (__OpenBSD__) |
| 58 | # define TEXT_END ({ extern int _etext; &_etext; }) | 58 | # define TEXT_END ({ extern int _etext; &_etext; }) |
| 59 | #endif | 59 | #endif |
| 60 | 60 | ||
| @@ -65,7 +65,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 65 | /* NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp> says this is needed | 65 | /* NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp> says this is needed |
| 66 | For MkLinux/LinuxPPC. */ | 66 | For MkLinux/LinuxPPC. */ |
| 67 | 67 | ||
| 68 | #ifdef LINUX | 68 | #ifdef GNU_LINUX |
| 69 | #define LINKER $(CC) -nostdlib | 69 | #define LINKER $(CC) -nostdlib |
| 70 | /* s/gnu-linux.h defines this to `-z nocombreloc' which does not work here | 70 | /* s/gnu-linux.h defines this to `-z nocombreloc' which does not work here |
| 71 | because prefix-args is not used. */ | 71 | because prefix-args is not used. */ |