Mercurial > emacs
annotate src/m/mips-siemens.h @ 51557:3df5bc22c5e4
(Fwrite_region): Save and restore restriction.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 12 Jun 2003 23:23:48 +0000 |
parents | 23a1cea22d13 |
children | 695cf19ef79e d7ddb3e565de |
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. |
44601
4be8406ebef9
Don't define HAVE_ALLOCA, C_ALLOCA and STACK_DIRECTION, now set by autoconf.
Andreas Schwab <schwab@suse.de>
parents:
41857
diff
changeset
|
2 Copyright (C) 1987, 1992, 1993, 1995, 2002 Free Software Foundation, Inc. |
11113
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
3 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
4 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
|
5 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
|
6 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
|
7 (Marco.Walther@mch.sni.de) |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
8 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
9 This file is part of GNU Emacs. |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
10 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
11 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
|
12 it under the terms of the GNU General Public License as published by |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
13 the Free Software Foundation; either version 2, or (at your option) |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
14 any later version. |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
15 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
16 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
|
17 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
|
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
19 GNU General Public License for more details. |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
20 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
21 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
|
22 along with GNU Emacs; see the file COPYING. If not, write to |
14186
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
13365
diff
changeset
|
23 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
13365
diff
changeset
|
24 Boston, MA 02111-1307, USA. */ |
7034 | 25 |
26 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
46605
diff
changeset
|
27 /* 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
|
28 operating system this machine is likely to run. |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
29 USUAL-OPSYS="note" |
7034 | 30 |
11113
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
31 NOTE-START |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
32 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
|
33 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
|
34 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
|
35 With this the file mips-siemens.h is obsolete. |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
36 NOTE-END */ |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
37 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
38 /* 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
|
39 is the most significant byte. */ |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
40 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
41 #define BIG_ENDIAN |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
42 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
43 /* 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
|
44 * 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
|
45 |
7826
6c242e506369
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
7121
diff
changeset
|
46 #define NO_ARG_ARRAY |
6c242e506369
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
7121
diff
changeset
|
47 |
11113
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
48 /* Define WORD_MACHINE if addresses and such have |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
49 * 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
|
50 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
51 #undef WORD_MACHINE |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
52 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
53 /* 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
|
54 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
|
55 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
56 #define SIGN_EXTEND_CHAR(c) ((signed char)(c)) |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
57 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
58 /* 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
|
59 does not define it automatically: |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
60 Ones defined so far include vax, m68000, ns16000, pyramid, |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
61 orion, tahoe, APOLLO and many others */ |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
62 #ifndef mips |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
63 # define mips |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
64 #endif |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
65 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
66 /* 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
|
67 /* This is desirable for most machines. */ |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
68 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
69 #define NO_UNION_TYPE |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
70 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
71 /* 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
|
72 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
|
73 are always unsigned. |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
74 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
75 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
|
76 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
77 #define EXPLICIT_SIGN_EXTEND |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
78 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
79 /* 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
|
80 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
81 #define LOAD_AVE_TYPE long |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
82 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
83 /* 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
|
84 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
85 #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
|
86 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
87 /* CDC EP/IX 1.4.3 uses /unix */ |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
88 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
89 #undef KERNEL_FILE |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
90 #define KERNEL_FILE "/unix" |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
91 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
92 /* 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
|
93 Then the function dump-emacs will not be defined |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
94 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
|
95 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
96 #undef CANNOT_DUMP |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
97 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
98 /* Define VIRT_ADDR_VARIES if the virtual addresses of |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
99 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
|
100 relative order cannot be relied on. |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
101 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
102 Otherwise Emacs assumes that text space precedes data space, |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
103 numerically. */ |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
104 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
105 /* #define VIRT_ADDR_VARIES */ |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
106 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
107 /* 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
|
108 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
|
109 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
|
110 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
|
111 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
112 #define NO_REMAP |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
113 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
114 /* 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
|
115 /* MARCO ??? |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
116 */ |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
117 #define TEXT_START 0x400000 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
118 /* |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
119 #define DATA_START 0x10000000 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
120 #define DATA_SEG_BITS 0x10000000 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
121 */ |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
122 #ifdef UNEXEC |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
123 #undef UNEXEC |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
124 #endif |
14255
e84b5426ed37
(UNEXEC): unexsni.o renamed from unexelfsni.o.
Karl Heuer <kwzh@gnu.org>
parents:
14186
diff
changeset
|
125 #define UNEXEC unexsni.o |
11113
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
126 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
127 #undef ORDINARY_LINK |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
128 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
129 #undef LIBS_DEBUG |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
130 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
131 /* Alter some of the options used when linking. */ |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
132 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
133 #define LIBS_MACHINE -lmld |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
134 #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
|
135 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
136 #ifdef LIB_STANDARD |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
137 #undef LIB_STANDARD |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
138 #endif |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
139 #define LIB_STANDARD -lc /usr/ccs/lib/crtn.o |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
140 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
141 #ifdef __GNUC__ |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
142 #define C_DEBUG_SWITCH |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
46605
diff
changeset
|
143 #define LD_SWITCH_MACHINE |
11113
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
144 #else |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
145 #define C_DEBUG_SWITCH -DSYSV |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
46605
diff
changeset
|
146 #define C_OPTIMIZE_SWITCH -DSYSV |
11113
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
147 #define LD_SWITCH_MACHINE |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
148 #endif |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
149 |
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 /* The standard definitions of these macros would work ok, |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
152 but these are faster because the constants are short. */ |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
153 |
13365
2cd15d90fec6
(SHORTBITS, INTBITS, LONGBITS): Deleted; now in config.h
Karl Heuer <kwzh@gnu.org>
parents:
11113
diff
changeset
|
154 #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
|
155 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
156 #define XSET(var, type, ptr) \ |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
157 ((var) = \ |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
158 ((int)(type) << VALBITS) \ |
13365
2cd15d90fec6
(SHORTBITS, INTBITS, LONGBITS): Deleted; now in config.h
Karl Heuer <kwzh@gnu.org>
parents:
11113
diff
changeset
|
159 + (((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
|
160 |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
161 #define XUNMARK(a) \ |
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
162 ((a) = \ |
13365
2cd15d90fec6
(SHORTBITS, INTBITS, LONGBITS): Deleted; now in config.h
Karl Heuer <kwzh@gnu.org>
parents:
11113
diff
changeset
|
163 (((unsigned)(a) << (BITS_PER_INT-GCTYPEBITS-VALBITS)) \ |
2cd15d90fec6
(SHORTBITS, INTBITS, LONGBITS): Deleted; now in config.h
Karl Heuer <kwzh@gnu.org>
parents:
11113
diff
changeset
|
164 >> (BITS_PER_INT-GCTYPEBITS-VALBITS))) |
11113
da5800b0c012
(UNEXEC): Override the definition.
Richard M. Stallman <rms@gnu.org>
parents:
9517
diff
changeset
|
165 |