aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2008-07-21 18:19:30 +0000
committerDan Nicolaescu2008-07-21 18:19:30 +0000
commitb8ff87cc584b41ba7cc6b45a45c764e173b4cddf (patch)
tree2f3f1deef035d8dee7d738879a72909c95019e85 /src
parentde08d1beb31907b85807b85a3c00b81c6893642d (diff)
downloademacs-b8ff87cc584b41ba7cc6b45a45c764e173b4cddf.tar.gz
emacs-b8ff87cc584b41ba7cc6b45a45c764e173b4cddf.zip
* m/mips.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Do not define, not used
on this platform. (mips): * m/iris4d.h (mips): Do not define. * sysdep.c (init_sys_modes): Use __mips__ instead of mips.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/m/iris4d.h14
-rw-r--r--src/m/mips.h21
-rw-r--r--src/sysdep.c2
4 files changed, 7 insertions, 36 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 2d222557645..c1a8f6a599f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,11 @@
12008-07-21 Dan Nicolaescu <dann@ics.uci.edu> 12008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * m/mips.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Do not define, not used
4 on this platform.
5 (mips):
6 * m/iris4d.h (mips): Do not define.
7 * sysdep.c (init_sys_modes): Use __mips__ instead of mips.
8
3 * m/ibmrs6000.h (LD_SWITCH_SITE): Remove. 9 * m/ibmrs6000.h (LD_SWITCH_SITE): Remove.
4 10
5 * image.c: 11 * image.c:
diff --git a/src/m/iris4d.h b/src/m/iris4d.h
index ed055aa67df..923db142300 100644
--- a/src/m/iris4d.h
+++ b/src/m/iris4d.h
@@ -28,13 +28,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
28 28
29#define NO_ARG_ARRAY 29#define NO_ARG_ARRAY
30 30
31/* Now define a symbol for the cpu type, if your compiler
32 does not define it automatically. */
33
34#ifndef mips
35#define mips
36#endif
37
38/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend 31/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
39 the bit field into an int. In other words, if bit fields 32 the bit field into an int. In other words, if bit fields
40 are always unsigned. 33 are always unsigned.
@@ -43,13 +36,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
43 36
44#define EXPLICIT_SIGN_EXTEND 37#define EXPLICIT_SIGN_EXTEND
45 38
46/* Define NO_REMAP if memory segmentation makes it not work well
47 to change the boundary between the text section and data section
48 when Emacs is dumped. If you define this, the preloaded Lisp
49 code will not be sharable; but that's better than failing completely. */
50
51#define NO_REMAP
52
53/* This machine requires completely different unexec code 39/* This machine requires completely different unexec code
54 which lives in a separate file. Specify the file name. */ 40 which lives in a separate file. Specify the file name. */
55 41
diff --git a/src/m/mips.h b/src/m/mips.h
index ec26a86d988..d72cd8a8ccb 100644
--- a/src/m/mips.h
+++ b/src/m/mips.h
@@ -38,12 +38,6 @@ NOTE-END */
38 38
39#define NO_ARG_ARRAY 39#define NO_ARG_ARRAY
40 40
41/* Now define a symbol for the cpu type, if your compiler
42 does not define it automatically. */
43#ifndef mips
44# define mips
45#endif
46
47/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend 41/* 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 42 the 24-bit bit field into an int. In other words, if bit fields
49 are always unsigned. 43 are always unsigned.
@@ -52,21 +46,6 @@ NOTE-END */
52 46
53#define EXPLICIT_SIGN_EXTEND 47#define EXPLICIT_SIGN_EXTEND
54 48
55/* Data type of load average, as read out of kmem. */
56
57#define LOAD_AVE_TYPE long
58
59/* Convert that into an integer that is 100 for a load average of 1.0 */
60
61#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / 256.0)
62
63/* Define NO_REMAP if memory segmentation makes it not work well
64 to change the boundary between the text section and data section
65 when Emacs is dumped. If you define this, the preloaded Lisp
66 code will not be sharable; but that's better than failing completely. */
67
68#define NO_REMAP
69
70/* Describe layout of the address space in an executing process. */ 49/* Describe layout of the address space in an executing process. */
71 50
72#define TEXT_START 0x00400000 51#define TEXT_START 0x00400000
diff --git a/src/sysdep.c b/src/sysdep.c
index b19ed384754..b4dda533936 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -1360,7 +1360,7 @@ init_sys_modes (tty_out)
1360 of C-z */ 1360 of C-z */
1361#endif /* VSWTCH */ 1361#endif /* VSWTCH */
1362 1362
1363#if defined (mips) || defined (HAVE_TCATTR) 1363#if defined (__mips__) || defined (HAVE_TCATTR)
1364#ifdef VSUSP 1364#ifdef VSUSP
1365 tty.main.c_cc[VSUSP] = CDISABLE; /* Turn off mips handling of C-z. */ 1365 tty.main.c_cc[VSUSP] = CDISABLE; /* Turn off mips handling of C-z. */
1366#endif /* VSUSP */ 1366#endif /* VSUSP */