annotate src/m/mips-siemens.h @ 78258:6aba169c4b1f

Switch license to GPLv3 or later.
author Glenn Morris <rgm@gnu.org>
date Wed, 25 Jul 2007 05:07:12 +0000
parents e90d04cd455a
children 49b363c28dce f55f9811f5d7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11113
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
1 /* m- file for Mips machines.
75227
e90d04cd455a Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents: 68651
diff changeset
2 Copyright (C) 1987, 1992, 1993, 1995, 2001, 2002, 2003, 2004,
e90d04cd455a Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents: 68651
diff changeset
3 2005, 2006, 2007 Free Software Foundation, Inc.
11113
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
4
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
5 This file contains some changes for our SVR4 based SINIX-Mips 5.4.
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
6 I hope this is helpful to port the emacs to our RM?00 series and
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
7 maybe to the DC/OSx (Mips-based) machines of Pyramid Inc.
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
8 (Marco.Walther@mch.sni.de)
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
9
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
10 This file is part of GNU Emacs.
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
11
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
12 GNU Emacs is free software; you can redistribute it and/or modify
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
13 it under the terms of the GNU General Public License as published by
78258
6aba169c4b1f Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 75227
diff changeset
14 the Free Software Foundation; either version 3, or (at your option)
11113
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
15 any later version.
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
16
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
17 GNU Emacs is distributed in the hope that it will be useful,
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
20 GNU General Public License for more details.
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
21
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
22 You should have received a copy of the GNU General Public License
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
23 along with GNU Emacs; see the file COPYING. If not, write to
64083
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 52495
diff changeset
24 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 52495
diff changeset
25 Boston, MA 02110-1301, USA. */
7034
910f6cbabb0f Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26
910f6cbabb0f Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46605
diff changeset
28 /* The following line tells the configuration script what sort of
11113
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
29 operating system this machine is likely to run.
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
30 USUAL-OPSYS="note"
7034
910f6cbabb0f Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31
11113
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
32 NOTE-START
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
33 Use m-mips4.h for RISCOS version 4; use s-bsd4-3.h with the BSD world.
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
34 Note that the proper m- file for the Decstation is m-pmax.h.
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
35 This is the m- file for SNI RM*00 machines. Use s- sinix5-4.h file!
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
36 With this the file mips-siemens.h is obsolete.
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
37 NOTE-END */
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
38
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
39 /* Define BIG_ENDIAN iff lowest-numbered byte in a word
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
40 is the most significant byte. */
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
41
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
42 #define BIG_ENDIAN
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
43
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
44 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
45 * group of arguments and treat it as an array of the arguments. */
7035
39895883bb2e *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7034
diff changeset
46
7826
6c242e506369 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7121
diff changeset
47 #define NO_ARG_ARRAY
6c242e506369 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 7121
diff changeset
48
11113
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
49 /* Define WORD_MACHINE if addresses and such have
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
50 * to be corrected before they can be used as byte counts. */
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
51
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
52 #undef WORD_MACHINE
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
53
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
54 /* Define how to take a char and sign-extend into an int.
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
55 On machines where char is signed, this is a no-op. */
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
56
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
57 #define SIGN_EXTEND_CHAR(c) ((signed char)(c))
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
58
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
59 /* Now define a symbol for the cpu type, if your compiler
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
60 does not define it automatically:
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
61 Ones defined so far include vax, m68000, ns16000, pyramid,
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
62 orion, tahoe, APOLLO and many others */
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
63 #ifndef mips
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
64 # define mips
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
65 #endif
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
66
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
67 /* Use type int rather than a union, to represent Lisp_Object */
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
68 /* This is desirable for most machines. */
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
69
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
70 #define NO_UNION_TYPE
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
71
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
72 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
73 the 24-bit bit field into an int. In other words, if bit fields
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
74 are always unsigned.
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
75
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
76 If you use NO_UNION_TYPE, this flag does not matter. */
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
77
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
78 #define EXPLICIT_SIGN_EXTEND
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
79
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
80 /* Data type of load average, as read out of kmem. */
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
81
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
82 #define LOAD_AVE_TYPE long
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
83
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
84 /* Convert that into an integer that is 100 for a load average of 1.0 */
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
85
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
86 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / 256.0)
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
87
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
88 /* CDC EP/IX 1.4.3 uses /unix */
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
89
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
90 #undef KERNEL_FILE
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
91 #define KERNEL_FILE "/unix"
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
92
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
93 /* Define CANNOT_DUMP on machines where unexec does not work.
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
94 Then the function dump-emacs will not be defined
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
95 and temacs will do (load "loadup") automatically unless told otherwise. */
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
96
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
97 #undef CANNOT_DUMP
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
98
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
99 /* Define VIRT_ADDR_VARIES if the virtual addresses of
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
100 pure and impure space as loaded can vary, and even their
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
101 relative order cannot be relied on.
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
102
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
103 Otherwise Emacs assumes that text space precedes data space,
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
104 numerically. */
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
105
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
106 /* #define VIRT_ADDR_VARIES */
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
107
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
108 /* Define NO_REMAP if memory segmentation makes it not work well
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
109 to change the boundary between the text section and data section
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
110 when Emacs is dumped. If you define this, the preloaded Lisp
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
111 code will not be sharable; but that's better than failing completely. */
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
112
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
113 #define NO_REMAP
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
114
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
115 /* Describe layout of the address space in an executing process. */
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
116 /* MARCO ???
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
117 */
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
118 #define TEXT_START 0x400000
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
119 /*
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
120 #define DATA_START 0x10000000
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
121 #define DATA_SEG_BITS 0x10000000
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
122 */
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
123 #ifdef UNEXEC
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
124 #undef UNEXEC
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
125 #endif
14255
e84b5426ed37 (UNEXEC): unexsni.o renamed from unexelfsni.o.
Karl Heuer <kwzh@gnu.org>
parents: 14186
diff changeset
126 #define UNEXEC unexsni.o
11113
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
127
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
128 #undef ORDINARY_LINK
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
129
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
130 #undef LIBS_DEBUG
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
131
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
132 /* Alter some of the options used when linking. */
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
133
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
134 #define LIBS_MACHINE -lmld
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
135 #define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xt.o
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
136
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
137 #ifdef LIB_STANDARD
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
138 #undef LIB_STANDARD
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
139 #endif
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
140 #define LIB_STANDARD -lc /usr/ccs/lib/crtn.o
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
141
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
142 #ifdef __GNUC__
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
143 #define C_DEBUG_SWITCH
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46605
diff changeset
144 #define LD_SWITCH_MACHINE
11113
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
145 #else
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
146 #define C_DEBUG_SWITCH -DSYSV
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46605
diff changeset
147 #define C_OPTIMIZE_SWITCH -DSYSV
11113
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
148 #define LD_SWITCH_MACHINE
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
149 #endif
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
150
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
151
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
152 /* The standard definitions of these macros would work ok,
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
153 but these are faster because the constants are short. */
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
154
13365
2cd15d90fec6 (SHORTBITS, INTBITS, LONGBITS): Deleted; now in config.h
Karl Heuer <kwzh@gnu.org>
parents: 11113
diff changeset
155 #define XUINT(a) (((unsigned)(a) << (BITS_PER_INT-VALBITS)) >> (BITS_PER_INT-VALBITS))
11113
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
156
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
157 #define XSET(var, type, ptr) \
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
158 ((var) = \
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
159 ((int)(type) << VALBITS) \
13365
2cd15d90fec6 (SHORTBITS, INTBITS, LONGBITS): Deleted; now in config.h
Karl Heuer <kwzh@gnu.org>
parents: 11113
diff changeset
160 + (((unsigned) (ptr) << (BITS_PER_INT-VALBITS)) >> (BITS_PER_INT-VALBITS)))
11113
da5800b0c012 (UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents: 9517
diff changeset
161
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
162 /* arch-tag: a4f5c090-0bd5-48f0-9724-b7d531f9b6c8
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
163 (do not change this comment) */