diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2010-12-03 17:01:43 -0500 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2010-12-03 17:01:43 -0500 |
commit | 903653532fd8935d4f07627890b9502618d5a432 (patch) | |
tree | 6ed247b824131105ca98f69eba995d11fadc8513 /src/m | |
parent | e5bd16703f901d9c8e7bc29da98e761f768161fc (diff) | |
download | emacs-903653532fd8935d4f07627890b9502618d5a432.tar.gz |
Revert to 2010-12-03T11:48:24Z!jan.h.d@swipnet.se.
Diffstat (limited to 'src/m')
-rw-r--r-- | src/m/alpha.h | 7 | ||||
-rw-r--r-- | src/m/amdx86-64.h | 7 | ||||
-rw-r--r-- | src/m/hp800.h | 29 | ||||
-rw-r--r-- | src/m/ia64.h | 7 | ||||
-rw-r--r-- | src/m/ibms390.h | 7 | ||||
-rw-r--r-- | src/m/ibms390x.h | 7 | ||||
-rw-r--r-- | src/m/iris4d.h | 7 | ||||
-rw-r--r-- | src/m/m68k.h | 7 | ||||
-rw-r--r-- | src/m/mips.h | 29 | ||||
-rw-r--r-- | src/m/sparc.h | 4 | ||||
-rw-r--r-- | src/m/template.h | 7 |
11 files changed, 118 insertions, 0 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h index 0e7d182fee7..3b6d7da92df 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h @@ -30,6 +30,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ /* __alpha defined automatically */ +/* 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. + + This flag only matters if you use USE_LISP_UNION_TYPE. */ +#define EXPLICIT_SIGN_EXTEND + /* Data type of load average, as read out of kmem. */ #define LOAD_AVE_TYPE long diff --git a/src/m/amdx86-64.h b/src/m/amdx86-64.h index 867d65f6606..30aa2678717 100644 --- a/src/m/amdx86-64.h +++ b/src/m/amdx86-64.h @@ -31,6 +31,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #define EMACS_INT long #define EMACS_UINT unsigned long +/* 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. + + This flag only matters if you use USE_LISP_UNION_TYPE. */ +#define EXPLICIT_SIGN_EXTEND + /* Data type of load average, as read out of kmem. */ #define LOAD_AVE_TYPE long diff --git a/src/m/hp800.h b/src/m/hp800.h new file mode 100644 index 00000000000..9998f701a6b --- /dev/null +++ b/src/m/hp800.h @@ -0,0 +1,29 @@ +/* machine description file for hp9000 series 800 machines. + +Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, + 2009, 2010 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 3 of the License, 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. If not, see <http://www.gnu.org/licenses/>. */ + +/* 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. + + This flag only matters if you use USE_LISP_UNION_TYPE. */ +#define EXPLICIT_SIGN_EXTEND + +/* arch-tag: 809436e6-1645-4b92-b40d-2de5d6e7227c + (do not change this comment) */ diff --git a/src/m/ia64.h b/src/m/ia64.h index e9cf07b6789..bbf09ac878b 100644 --- a/src/m/ia64.h +++ b/src/m/ia64.h @@ -31,6 +31,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #define EMACS_INT long #define EMACS_UINT unsigned long +/* 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. + + This flag only matters if you use USE_LISP_UNION_TYPE. */ +#define EXPLICIT_SIGN_EXTEND + /* Data type of load average, as read out of kmem. */ #define LOAD_AVE_TYPE long diff --git a/src/m/ibms390.h b/src/m/ibms390.h index 1a19f7233a0..0acc826a1ea 100644 --- a/src/m/ibms390.h +++ b/src/m/ibms390.h @@ -19,6 +19,13 @@ You should have received a copy of the GNU General Public License along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ +/* 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. + + This flag only matters if you use USE_LISP_UNION_TYPE. */ +#define EXPLICIT_SIGN_EXTEND + /* Data type of load average, as read out of kmem. */ #define LOAD_AVE_TYPE long diff --git a/src/m/ibms390x.h b/src/m/ibms390x.h index 2ef14a22945..6cbfbbcdbd4 100644 --- a/src/m/ibms390x.h +++ b/src/m/ibms390x.h @@ -27,6 +27,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #define EMACS_INT long #define EMACS_UINT unsigned long +/* 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. + + This flag only matters if you use USE_LISP_UNION_TYPE. */ +#undef EXPLICIT_SIGN_EXTEND + /* On the 64 bit architecture, we can use 60 bits for addresses */ #define VALBITS 60 diff --git a/src/m/iris4d.h b/src/m/iris4d.h index 9e80324ee92..31f08d05cfc 100644 --- a/src/m/iris4d.h +++ b/src/m/iris4d.h @@ -19,6 +19,13 @@ You should have received a copy of the GNU General Public License along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ +/* 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. + + This flag only matters if you use USE_LISP_UNION_TYPE. */ +#define EXPLICIT_SIGN_EXTEND + /* 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). */ diff --git a/src/m/m68k.h b/src/m/m68k.h index df930d511f7..8d53424ccec 100644 --- a/src/m/m68k.h +++ b/src/m/m68k.h @@ -24,6 +24,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #define m68k #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. + + This flag only matters if you use USE_LISP_UNION_TYPE. */ +#define EXPLICIT_SIGN_EXTEND + #ifdef GNU_LINUX #ifdef __ELF__ #define DATA_SEG_BITS 0x80000000 diff --git a/src/m/mips.h b/src/m/mips.h new file mode 100644 index 00000000000..b3a754c2b61 --- /dev/null +++ b/src/m/mips.h @@ -0,0 +1,29 @@ +/* m- file for Mips machines. + +Copyright (C) 1987, 1992, 1999, 2001, 2002, 2003, 2004, 2005, 2006, + 2007, 2008, 2009, 2010 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 3 of the License, 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. If not, see <http://www.gnu.org/licenses/>. */ + +/* 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. + + This flag only matters if you use USE_LISP_UNION_TYPE. */ +#define EXPLICIT_SIGN_EXTEND + +/* arch-tag: 8fd020ee-78a7-4d87-96ce-6129f52f7bee + (do not change this comment) */ diff --git a/src/m/sparc.h b/src/m/sparc.h index fc5ea95c0eb..26ca3caaebe 100644 --- a/src/m/sparc.h +++ b/src/m/sparc.h @@ -20,6 +20,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ /* __sparc__ is defined by the compiler by default. */ +/* XINT must explicitly sign-extend + This flag only matters if you use USE_LISP_UNION_TYPE. */ +#define EXPLICIT_SIGN_EXTEND + /* Data type of load average, as read out of kmem. */ #define LOAD_AVE_TYPE long diff --git a/src/m/template.h b/src/m/template.h index 0d8e78622a6..4efc9158a45 100644 --- a/src/m/template.h +++ b/src/m/template.h @@ -22,6 +22,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ does not define it automatically. Ones defined so far include m68k and many others */ +/* 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. + + This flag only matters if you use USE_LISP_UNION_TYPE. */ +#define EXPLICIT_SIGN_EXTEND + /* Data type of load average, as read out of kmem. */ #define LOAD_AVE_TYPE long |