aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2008-07-16 07:42:41 +0000
committerDan Nicolaescu2008-07-16 07:42:41 +0000
commitff841b30477121505bd4cb5428d882cf8414081f (patch)
treecb67f30db3168a54ec6899be2321509b3546e481
parent0176a2592bb3a6e3c2d306ed0859c3c2c4c95762 (diff)
downloademacs-ff841b30477121505bd4cb5428d882cf8414081f.tar.gz
emacs-ff841b30477121505bd4cb5428d882cf8414081f.zip
* m/ia64.h (PNTR_COMPARISON_TYPE): Remove, same as the default.
Remove boilerplate comments. * m/amdx86-64.h (PNTR_COMPARISON_TYPE): Remove, same as the default. Remove boilerplate comments. * m/ibms390x.h (PNTR_COMPARISON_TYPE): Remove, same as the default. Remove boilerplate comments. * lisp.h (PNTR_COMPARISON_TYPE): Define it unconditionally.
-rw-r--r--src/ChangeLog13
-rw-r--r--src/lisp.h2
-rw-r--r--src/m/amdx86-64.h24
-rw-r--r--src/m/ia64.h40
-rw-r--r--src/m/ibms390x.h8
5 files changed, 14 insertions, 73 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 2f58e35d9dd..f3cb107438e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,18 @@
12008-07-16 Dan Nicolaescu <dann@ics.uci.edu> 12008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * m/ia64.h (PNTR_COMPARISON_TYPE): Remove, same as the default.
4 Remove boilerplate comments.
5 * m/amdx86-64.h (PNTR_COMPARISON_TYPE): Remove, same as the default.
6 Remove boilerplate comments.
7 * m/ibms390x.h (PNTR_COMPARISON_TYPE): Remove, same as the default.
8 Remove boilerplate comments.
9 * lisp.h (PNTR_COMPARISON_TYPE): Define it unconditionally.
10
11 * sysdep.c: Remove code depending on NEED_PTEM_H, unused. Remove
12 if 0-ed code.
13 (baud_convert): Don't depend on BAUD_CONVERT, all definitions the
14 were the same as the default.
15
3 * m/ibms390.h: 16 * m/ibms390.h:
4 * m/intel386.h: 17 * m/intel386.h:
5 * m/m68k.h: 18 * m/m68k.h:
diff --git a/src/lisp.h b/src/lisp.h
index 366a0be146d..bdf45262ffe 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -1660,9 +1660,7 @@ typedef struct {
1660 } while (0) 1660 } while (0)
1661 1661
1662/* Cast pointers to this type to compare them. Some machines want int. */ 1662/* Cast pointers to this type to compare them. Some machines want int. */
1663#ifndef PNTR_COMPARISON_TYPE
1664#define PNTR_COMPARISON_TYPE EMACS_UINT 1663#define PNTR_COMPARISON_TYPE EMACS_UINT
1665#endif
1666 1664
1667/* Define a built-in function for calling from Lisp. 1665/* Define a built-in function for calling from Lisp.
1668 `lname' should be the name to give the function in Lisp, 1666 `lname' should be the name to give the function in Lisp,
diff --git a/src/m/amdx86-64.h b/src/m/amdx86-64.h
index 781247fa9f4..139cfd1003a 100644
--- a/src/m/amdx86-64.h
+++ b/src/m/amdx86-64.h
@@ -69,30 +69,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
69 69
70#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) 70#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
71 71
72/* Define CANNOT_DUMP on machines where unexec does not work.
73 Then the function dump-emacs will not be defined
74 and temacs will do (load "loadup") automatically unless told otherwise. */
75
76/* #define CANNOT_DUMP */
77
78/* Define VIRT_ADDR_VARIES if the virtual addresses of
79 pure and impure space as loaded can vary, and even their
80 relative order cannot be relied on.
81
82 Otherwise Emacs assumes that text space precedes data space,
83 numerically. */
84
85/* #define VIRT_ADDR_VARIES */
86
87/* Define NO_REMAP if memory segmentation makes it not work well
88 to change the boundary between the text section and data section
89 when Emacs is dumped. If you define this, the preloaded Lisp
90 code will not be sharable; but that's better than failing completely. */
91
92/* #define NO_REMAP */
93
94#define PNTR_COMPARISON_TYPE unsigned long
95
96/* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ 72/* Define XPNTR to avoid or'ing with DATA_SEG_BITS */
97#undef DATA_SEG_BITS 73#undef DATA_SEG_BITS
98 74
diff --git a/src/m/ia64.h b/src/m/ia64.h
index 1e2d2800f9c..f838528a62b 100644
--- a/src/m/ia64.h
+++ b/src/m/ia64.h
@@ -32,9 +32,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
32#define NO_ARG_ARRAY 32#define NO_ARG_ARRAY
33 33
34/* Now define a symbol for the cpu type, if your compiler 34/* Now define a symbol for the cpu type, if your compiler
35 does not define it automatically: 35 does not define it automatically. */
36 Ones defined so far include vax, m68000, ns16000, pyramid,
37 orion, tahoe, APOLLO and many others */
38 36
39/* __ia64__ defined automatically */ 37/* __ia64__ defined automatically */
40 38
@@ -59,47 +57,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
59 57
60#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) 58#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
61 59
62/* Define VIRT_ADDR_VARIES if the virtual addresses of
63 pure and impure space as loaded can vary, and even their
64 relative order cannot be relied on.
65
66 Otherwise Emacs assumes that text space precedes data space,
67 numerically. */
68
69/* #define VIRT_ADDR_VARIES */
70
71/* Define the following if GNU malloc and the relocating allocator do
72 not work together with X. */
73
74/* #define SYSTEM_MALLOC */
75
76/* Define NO_REMAP if memory segmentation makes it not work well
77 to change the boundary between the text section and data section
78 when Emacs is dumped. If you define this, the preloaded Lisp
79 code will not be sharable; but that's better than failing completely. */
80
81/* #define NO_REMAP */
82
83/* Some really obscure 4.2-based systems (like Sequent DYNIX) do not
84 support asynchronous I/O (using SIGIO) on sockets, even though it
85 works fine on tty's. If you have one of these systems, define the
86 following, and then use it in config.h (or elsewhere) to decide
87 when (not) to use SIGIO.
88
89 You'd think this would go in an operating-system description file,
90 but since it only occurs on some, but not all, BSD systems, the
91 reasonable place to select for it is in the machine description
92 file. */
93
94/* #define NO_SOCK_SIGIO */
95
96#ifdef __ELF__ 60#ifdef __ELF__
97#undef UNEXEC 61#undef UNEXEC
98#define UNEXEC unexelf.o 62#define UNEXEC unexelf.o
99#endif 63#endif
100 64
101#define PNTR_COMPARISON_TYPE unsigned long
102
103#ifndef NOT_C_CODE 65#ifndef NOT_C_CODE
104 66
105#ifdef REL_ALLOC 67#ifdef REL_ALLOC
diff --git a/src/m/ibms390x.h b/src/m/ibms390x.h
index 14f6509fdb7..e7f9a98145f 100644
--- a/src/m/ibms390x.h
+++ b/src/m/ibms390x.h
@@ -65,12 +65,6 @@ NOTE-END */
65 65
66#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) 66#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
67 67
68/* Define CANNOT_DUMP on machines where unexec does not work.
69 Then the function dump-emacs will not be defined
70 and temacs will do (load "loadup") automatically unless told otherwise. */
71
72#undef CANNOT_DUMP
73
74/* Define VIRT_ADDR_VARIES if the virtual addresses of 68/* Define VIRT_ADDR_VARIES if the virtual addresses of
75 pure and impure space as loaded can vary, and even their 69 pure and impure space as loaded can vary, and even their
76 relative order cannot be relied on. 70 relative order cannot be relied on.
@@ -117,8 +111,6 @@ NOTE-END */
117 you should also check `etc/MACHINES' to make sure its descriptions 111 you should also check `etc/MACHINES' to make sure its descriptions
118 of known problems in that configuration should be updated. */ 112 of known problems in that configuration should be updated. */
119 113
120#define PNTR_COMPARISON_TYPE unsigned long
121
122/* On the 64 bit architecture, we can use 60 bits for addresses */ 114/* On the 64 bit architecture, we can use 60 bits for addresses */
123 115
124#define VALBITS 60 116#define VALBITS 60