aboutsummaryrefslogtreecommitdiffstats
path: root/src/m
diff options
context:
space:
mode:
authorStefan Monnier2010-08-11 07:42:48 +0200
committerStefan Monnier2010-08-11 07:42:48 +0200
commitc566235d981eba73c88bbff00b6a1d88360b6e9f (patch)
treef8d653add3570fe750a83d1123ed35022e0bf4ef /src/m
parent0bfdb86f425a88fe43ebc88851c6f9a6418e1862 (diff)
parent490b89acab3e759426ede25c31c94268df55e925 (diff)
downloademacs-c566235d981eba73c88bbff00b6a1d88360b6e9f.tar.gz
emacs-c566235d981eba73c88bbff00b6a1d88360b6e9f.zip
Merge from trunk
Diffstat (limited to 'src/m')
-rw-r--r--src/m/alpha.h10
-rw-r--r--src/m/amdx86-64.h4
-rw-r--r--src/m/arm.h6
-rw-r--r--src/m/hp800.h4
-rw-r--r--src/m/ia64.h4
-rw-r--r--src/m/ibmrs6000.h1
-rw-r--r--src/m/ibms390.h4
-rw-r--r--src/m/intel386.h6
-rw-r--r--src/m/iris4d.h16
-rw-r--r--src/m/m68k.h5
-rw-r--r--src/m/macppc.h4
-rw-r--r--src/m/mips.h6
-rw-r--r--src/m/sh3.h4
-rw-r--r--src/m/sparc.h7
-rw-r--r--src/m/template.h10
-rw-r--r--src/m/vax.h4
-rw-r--r--src/m/xtensa.h6
17 files changed, 0 insertions, 101 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h
index ae8fd62d6f8..3b6d7da92df 100644
--- a/src/m/alpha.h
+++ b/src/m/alpha.h
@@ -25,10 +25,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
25#define _LP64 /* This doesn't appear to be necessary on OSF 4/5 -- fx. */ 25#define _LP64 /* This doesn't appear to be necessary on OSF 4/5 -- fx. */
26#endif 26#endif
27 27
28/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
29 is the most significant byte. */
30#undef WORDS_BIG_ENDIAN
31
32/* Now define a symbol for the cpu type, if your compiler 28/* Now define a symbol for the cpu type, if your compiler
33 does not define it automatically. */ 29 does not define it automatically. */
34/* __alpha defined automatically */ 30/* __alpha defined automatically */
@@ -64,12 +60,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
64 termio and struct termios are mutually incompatible. */ 60 termio and struct termios are mutually incompatible. */
65#define NO_TERMIO 61#define NO_TERMIO
66 62
67#if defined (GNU_LINUX) || defined (__NetBSD__) || defined (__OpenBSD__)
68# ifndef __ELF__
69# define COFF
70# endif /* notdef __ELF__ */
71#endif
72
73/* Many Alpha implementations (e.g. gas 2.8) can't handle DBL_MIN: 63/* Many Alpha implementations (e.g. gas 2.8) can't handle DBL_MIN:
74 they generate code that uses a signaling NaN instead of DBL_MIN. 64 they generate code that uses a signaling NaN instead of DBL_MIN.
75 Define DBL_MIN_REPLACEMENT to be the next value larger than DBL_MIN: 65 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 1910c37bffc..30aa2678717 100644
--- a/src/m/amdx86-64.h
+++ b/src/m/amdx86-64.h
@@ -21,10 +21,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
21#define BITS_PER_LONG 64 21#define BITS_PER_LONG 64
22#define BITS_PER_EMACS_INT 64 22#define BITS_PER_EMACS_INT 64
23 23
24/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
25 is the most significant byte. */
26#undef WORDS_BIG_ENDIAN
27
28/* Now define a symbol for the cpu type, if your compiler 24/* Now define a symbol for the cpu type, if your compiler
29 does not define it automatically: 25 does not define it automatically:
30 Ones defined so far include vax, m68000, ns16000, pyramid, 26 Ones defined so far include vax, m68000, ns16000, pyramid,
diff --git a/src/m/arm.h b/src/m/arm.h
index cf30e2e1b19..8b659bb5bd0 100644
--- a/src/m/arm.h
+++ b/src/m/arm.h
@@ -18,11 +18,5 @@ GNU General Public License for more details.
18You should have received a copy of the GNU General Public License 18You should have received a copy of the GNU General Public License
19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
22 is the most significant byte. */
23#undef WORDS_BIG_ENDIAN
24
25#define NO_REMAP
26
27/* arch-tag: 07856f0c-f0c8-4bd8-99af-0b7fa1e5ee42 21/* arch-tag: 07856f0c-f0c8-4bd8-99af-0b7fa1e5ee42
28 (do not change this comment) */ 22 (do not change this comment) */
diff --git a/src/m/hp800.h b/src/m/hp800.h
index 3889a1a3e60..9998f701a6b 100644
--- a/src/m/hp800.h
+++ b/src/m/hp800.h
@@ -18,10 +18,6 @@ GNU General Public License for more details.
18You should have received a copy of the GNU General Public License 18You should have received a copy of the GNU General Public License
19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
22 is the most significant byte. */
23#define WORDS_BIG_ENDIAN
24
25/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend 21/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
26 the bit field into an int. In other words, if bit fields 22 the bit field into an int. In other words, if bit fields
27 are always unsigned. 23 are always unsigned.
diff --git a/src/m/ia64.h b/src/m/ia64.h
index 5266c682c78..bbf09ac878b 100644
--- a/src/m/ia64.h
+++ b/src/m/ia64.h
@@ -23,10 +23,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
23#define BITS_PER_LONG 64 23#define BITS_PER_LONG 64
24#define BITS_PER_EMACS_INT 64 24#define BITS_PER_EMACS_INT 64
25 25
26/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
27 is the most significant byte. */
28#undef WORDS_BIG_ENDIAN
29
30/* Now define a symbol for the cpu type, if your compiler 26/* Now define a symbol for the cpu type, if your compiler
31 does not define it automatically. */ 27 does not define it automatically. */
32/* __ia64__ defined automatically */ 28/* __ia64__ defined automatically */
diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h
index a44b2c4ec3b..785719e908b 100644
--- a/src/m/ibmrs6000.h
+++ b/src/m/ibmrs6000.h
@@ -23,7 +23,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
23 An address of data cannot be stored correctly in a Lisp object; 23 An address of data cannot be stored correctly in a Lisp object;
24 we always lose the high bits. We must tell XPNTR to add them back. */ 24 we always lose the high bits. We must tell XPNTR to add them back. */
25#define DATA_START 0x20000000 25#define DATA_START 0x20000000
26#define WORDS_BIG_ENDIAN
27#define DATA_SEG_BITS 0x20000000 26#define DATA_SEG_BITS 0x20000000
28 27
29#ifndef NLIST_STRUCT 28#ifndef NLIST_STRUCT
diff --git a/src/m/ibms390.h b/src/m/ibms390.h
index 087607b547d..0acc826a1ea 100644
--- a/src/m/ibms390.h
+++ b/src/m/ibms390.h
@@ -19,10 +19,6 @@ You should have received a copy of the GNU General Public License
19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21 21
22/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
23 is the most significant byte. */
24#define WORDS_BIG_ENDIAN
25
26/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend 22/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
27 the 24-bit bit field into an int. In other words, if bit fields 23 the 24-bit bit field into an int. In other words, if bit fields
28 are always unsigned. 24 are always unsigned.
diff --git a/src/m/intel386.h b/src/m/intel386.h
index 76e5929e4e6..15601fae76e 100644
--- a/src/m/intel386.h
+++ b/src/m/intel386.h
@@ -19,10 +19,6 @@ You should have received a copy of the GNU General Public License
19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21 21
22/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
23 is the most significant byte. */
24#undef WORDS_BIG_ENDIAN
25
26#ifdef WINDOWSNT 22#ifdef WINDOWSNT
27#define VIRT_ADDR_VARIES 23#define VIRT_ADDR_VARIES
28#define DATA_START get_data_start () 24#define DATA_START get_data_start ()
@@ -32,8 +28,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
32/* libc-linux/sysdeps/linux/i386/ulimit.c says that due to shared library, */ 28/* libc-linux/sysdeps/linux/i386/ulimit.c says that due to shared library, */
33/* we cannot get the maximum address for brk */ 29/* we cannot get the maximum address for brk */
34#define ULIMIT_BREAK_VALUE (32*1024*1024) 30#define ULIMIT_BREAK_VALUE (32*1024*1024)
35
36#define SEGMENT_MASK ((SEGMENT_SIZE)-1)
37#endif 31#endif
38 32
39/* arch-tag: 746338f0-cb7b-4f49-a98c-cb50817cf2ec 33/* arch-tag: 746338f0-cb7b-4f49-a98c-cb50817cf2ec
diff --git a/src/m/iris4d.h b/src/m/iris4d.h
index 2ba6b5ba7ce..31f08d05cfc 100644
--- a/src/m/iris4d.h
+++ b/src/m/iris4d.h
@@ -19,10 +19,6 @@ You should have received a copy of the GNU General Public License
19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21 21
22/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
23 is the most significant byte. */
24#define WORDS_BIG_ENDIAN
25
26/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend 22/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
27 the bit field into an int. In other words, if bit fields 23 the bit field into an int. In other words, if bit fields
28 are always unsigned. 24 are always unsigned.
@@ -36,17 +32,5 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
36#define DATA_START 0x10000000 32#define DATA_START 0x10000000
37#define DATA_SEG_BITS 0x10000000 33#define DATA_SEG_BITS 0x10000000
38 34
39
40#if _MIPS_SZLONG != 64
41/* fixme: should there be 64-bit definitions? (The ones below aren't OK.) */
42
43/* The standard definitions of these macros would work ok,
44 but these are faster because the constants are short. */
45#define XUINT(a) (((unsigned)(a) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS)
46
47#define XSET(var, type, ptr) \
48 ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS))
49#endif /* _LP64 */
50
51/* arch-tag: fff5e139-9ae0-465d-afec-837c41ea0aa6 35/* arch-tag: fff5e139-9ae0-465d-afec-837c41ea0aa6
52 (do not change this comment) */ 36 (do not change this comment) */
diff --git a/src/m/m68k.h b/src/m/m68k.h
index 5a083205e50..8d53424ccec 100644
--- a/src/m/m68k.h
+++ b/src/m/m68k.h
@@ -18,10 +18,6 @@ GNU General Public License for more details.
18You should have received a copy of the GNU General Public License 18You should have received a copy of the GNU General Public License
19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
22 is the most significant byte. */
23#define WORDS_BIG_ENDIAN
24
25/* Now define a symbol for the cpu type, if your compiler 21/* Now define a symbol for the cpu type, if your compiler
26 does not define it automatically. */ 22 does not define it automatically. */
27#ifndef m68k 23#ifndef m68k
@@ -40,7 +36,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
40#define DATA_SEG_BITS 0x80000000 36#define DATA_SEG_BITS 0x80000000
41#endif 37#endif
42 38
43#define NO_REMAP
44#endif 39#endif
45 40
46/* arch-tag: 4eadd161-b4e8-4b82-82a1-e4ce7f42969d 41/* arch-tag: 4eadd161-b4e8-4b82-82a1-e4ce7f42969d
diff --git a/src/m/macppc.h b/src/m/macppc.h
index 2764ae56115..01735790b20 100644
--- a/src/m/macppc.h
+++ b/src/m/macppc.h
@@ -18,10 +18,6 @@ GNU General Public License for more details.
18You should have received a copy of the GNU General Public License 18You should have received a copy of the GNU General Public License
19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
22 is the most significant byte. */
23#define WORDS_BIG_ENDIAN
24
25/* Data type of load average, as read out of kmem. */ 21/* Data type of load average, as read out of kmem. */
26#define LOAD_AVE_TYPE long 22#define LOAD_AVE_TYPE long
27 23
diff --git a/src/m/mips.h b/src/m/mips.h
index 39a948c0cde..b3a754c2b61 100644
--- a/src/m/mips.h
+++ b/src/m/mips.h
@@ -18,12 +18,6 @@ GNU General Public License for more details.
18You should have received a copy of the GNU General Public License 18You should have received a copy of the GNU General Public License
19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
22 is the most significant byte. */
23#if ! (defined (__MIPSEL__) || defined (MIPSEL) || defined (_MIPSEL))
24#define WORDS_BIG_ENDIAN
25#endif
26
27/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend 21/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
28 the 24-bit bit field into an int. In other words, if bit fields 22 the 24-bit bit field into an int. In other words, if bit fields
29 are always unsigned. 23 are always unsigned.
diff --git a/src/m/sh3.h b/src/m/sh3.h
index 703513d23f7..ebfdb5b2d64 100644
--- a/src/m/sh3.h
+++ b/src/m/sh3.h
@@ -1,8 +1,4 @@
1/* Machine description file for SuperH. */ 1/* Machine description file for SuperH. */
2 2
3#ifdef __BIG_ENDIAN__
4# define WORDS_BIG_ENDIAN
5#endif
6
7/* arch-tag: 1b01b84f-f044-4afa-aa4b-caa54ec38966 3/* arch-tag: 1b01b84f-f044-4afa-aa4b-caa54ec38966
8 (do not change this comment) */ 4 (do not change this comment) */
diff --git a/src/m/sparc.h b/src/m/sparc.h
index 39240dcbf5c..26ca3caaebe 100644
--- a/src/m/sparc.h
+++ b/src/m/sparc.h
@@ -18,10 +18,6 @@ GNU General Public License for more details.
18You should have received a copy of the GNU General Public License 18You should have received a copy of the GNU General Public License
19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
22 is the most significant byte. */
23#define WORDS_BIG_ENDIAN
24
25/* __sparc__ is defined by the compiler by default. */ 21/* __sparc__ is defined by the compiler by default. */
26 22
27/* XINT must explicitly sign-extend 23/* XINT must explicitly sign-extend
@@ -34,9 +30,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
34/* Convert that into an integer that is 100 for a load average of 1.0 */ 30/* Convert that into an integer that is 100 for a load average of 1.0 */
35#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) 31#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
36 32
37/* Mask for address bits within a memory segment */
38#define SEGMENT_MASK (SEGSIZ - 1)
39
40#ifdef __arch64__ /* GCC, 64-bit ABI. */ 33#ifdef __arch64__ /* GCC, 64-bit ABI. */
41 34
42#define BITS_PER_LONG 64 35#define BITS_PER_LONG 64
diff --git a/src/m/template.h b/src/m/template.h
index 0b149411a0a..4efc9158a45 100644
--- a/src/m/template.h
+++ b/src/m/template.h
@@ -18,10 +18,6 @@ GNU General Public License for more details.
18You should have received a copy of the GNU General Public License 18You should have received a copy of the GNU General Public License
19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
22 is the most significant byte. */
23#define WORDS_BIG_ENDIAN
24
25/* Now define a symbol for the cpu type, if your compiler 21/* Now define a symbol for the cpu type, if your compiler
26 does not define it automatically. 22 does not define it automatically.
27 Ones defined so far include m68k and many others */ 23 Ones defined so far include m68k and many others */
@@ -47,12 +43,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
47 numerically. */ 43 numerically. */
48#define VIRT_ADDR_VARIES 44#define VIRT_ADDR_VARIES
49 45
50/* Define NO_REMAP if memory segmentation makes it not work well
51 to change the boundary between the text section and data section
52 when Emacs is dumped. If you define this, the preloaded Lisp
53 code will not be sharable; but that's better than failing completely. */
54#define NO_REMAP
55
56/* After adding support for a new machine, modify the large case 46/* After adding support for a new machine, modify the large case
57 statement in configure.in to recognize reasonable 47 statement in configure.in to recognize reasonable
58 configuration names, and add a description of the system to 48 configuration names, and add a description of the system to
diff --git a/src/m/vax.h b/src/m/vax.h
index 3426a20d55e..16e790a2769 100644
--- a/src/m/vax.h
+++ b/src/m/vax.h
@@ -19,10 +19,6 @@ You should have received a copy of the GNU General Public License
19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21 21
22/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
23 is the most significant byte. */
24#undef WORDS_BIG_ENDIAN
25
26/* #define vax -- appears to be done automatically */ 22/* #define vax -- appears to be done automatically */
27 23
28/* USG systems I know of running on Vaxes do not actually 24/* USG systems I know of running on Vaxes do not actually
diff --git a/src/m/xtensa.h b/src/m/xtensa.h
index 664f18dcb10..8e1da54b25b 100644
--- a/src/m/xtensa.h
+++ b/src/m/xtensa.h
@@ -2,11 +2,5 @@
2 2
3Add a license notice if this grows to > 10 lines of code. */ 3Add a license notice if this grows to > 10 lines of code. */
4 4
5#ifdef __LITTLE_ENDIAN
6#undef WORDS_BIG_ENDIAN
7#else
8#define WORDS_BIG_ENDIAN
9#endif
10
11/* arch-tag: fe5872de-d565-4d81-8fe0-ea19865b3e6a 5/* arch-tag: fe5872de-d565-4d81-8fe0-ea19865b3e6a
12 (do not change this comment) */ 6 (do not change this comment) */