Mercurial > emacs
annotate src/m/sr2k.h @ 78545:c8072938bf22
*** empty log message ***
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Mon, 13 Aug 2007 11:47:43 +0000 |
parents | 49b363c28dce |
children | f27b84de02cf |
rev | line source |
---|---|
76674
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
1 /* machine description file for Hitachi SR2001/SR2201 machines. |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
2 Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005, |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
3 2006, 2007 Free Software Foundation, Inc. |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
4 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
5 This file is part of GNU Emacs. |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
6 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
7 GNU Emacs is free software; you can redistribute it and/or modify |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
8 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:
76674
diff
changeset
|
9 the Free Software Foundation; either version 3, or (at your option) |
76674
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
10 any later version. |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
11 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
12 GNU Emacs is distributed in the hope that it will be useful, |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
15 GNU General Public License for more details. |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
16 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
17 You should have received a copy of the GNU General Public License |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
18 along with GNU Emacs; see the file COPYING. If not, write to |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
20 Boston, MA 02110-1301, USA. */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
21 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
22 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
23 /* The following line tells the configuration script what sort of |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
24 operating system this machine is likely to run. |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
25 USUAL-OPSYS="hpux" */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
26 |
78499 | 27 /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word |
76674
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
28 is the most significant byte. */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
29 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
30 #define WORDS_BIG_ENDIAN |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
31 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
32 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
33 * group of arguments and treat it as an array of the arguments. */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
34 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
35 #define NO_ARG_ARRAY |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
36 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
37 /* Define WORD_MACHINE if addresses and such have |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
38 * to be corrected before they can be used as byte counts. */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
39 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
40 #undef WORD_MACHINE |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
41 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
42 /* Now define a symbol for the cpu type, if your compiler |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
43 does not define it automatically: |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
44 Ones defined so far include vax, m68000, ns16000, pyramid, |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
45 orion, tahoe, APOLLO and many others */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
46 #ifndef hp9000s800 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
47 # define hp9000s800 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
48 #endif |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
49 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
50 /* Use type int rather than a union, to represent Lisp_Object */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
51 /* This is desirable for most machines. */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
52 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
53 #define NO_UNION_TYPE |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
54 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
55 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
56 the bit field into an int. In other words, if bit fields |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
57 are always unsigned. |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
58 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
59 If you use NO_UNION_TYPE, this flag does not matter. */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
60 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
61 #define EXPLICIT_SIGN_EXTEND |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
62 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
63 /* The standard definitions of these macros would work ok, |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
64 but these are faster because the constants are short. */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
65 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
66 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
67 #define XUINT(a) (((unsigned)(a) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS) |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
68 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
69 #define XSET(var, type, ptr) \ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
70 ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS)) |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
71 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
72 /* #ifdef __hpux */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
73 /* Now define a symbol for the cpu type, if your compiler |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
74 does not define it automatically: |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
75 Ones defined so far include vax, m68000, ns16000, pyramid, |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
76 orion, tahoe, APOLLO and many others */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
77 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
78 #ifndef hp9000s800 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
79 # define hp9000s800 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
80 #endif |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
81 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
82 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
83 /* Data type of load average, as read out of kmem. */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
84 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
85 #define LOAD_AVE_TYPE double |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
86 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
87 /* Convert that into an integer that is 100 for a load average of 1.0 */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
88 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
89 #define LOAD_AVE_CVT(x) ((int) (x * 100.0)) |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
90 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
91 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
92 /* Define CANNOT_DUMP on machines where unexec does not work. |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
93 Then the function dump-emacs will not be defined |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
94 and temacs will do (load "loadup") automatically unless told otherwise. */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
95 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
96 #undef CANNOT_DUMP |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
97 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
98 /* Define VIRT_ADDR_VARIES if the virtual addresses of |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
99 pure and impure space as loaded can vary, and even their |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
100 relative order cannot be relied on. |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
101 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
102 Otherwise Emacs assumes that text space precedes data space, |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
103 numerically. */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
104 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
105 #define VIRT_ADDR_VARIES |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
106 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
107 /* the data segment on this machine always starts at address 0x40000000. */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
108 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
109 #define DATA_SEG_BITS 0x40000000 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
110 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
111 #define DATA_START 0x40000000 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
112 #define TEXT_START 0x00000000 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
113 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
114 /* Define NO_REMAP if memory segmentation makes it not work well |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
115 to change the boundary between the text section and data section |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
116 when Emacs is dumped. If you define this, the preloaded Lisp |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
117 code will not be sharable; but that's better than failing completely. */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
118 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
119 #define NO_REMAP |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
120 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
121 /* This machine requires completely different unexec code |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
122 which lives in a separate file. Specify the file name. */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
123 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
124 #define UNEXEC unexhp9k800.o |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
125 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
126 #define LIBS_MACHINE |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
127 #define LIBS_DEBUG |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
128 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
129 /* Include the file bsdtty.h, since this machine has job control. */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
130 /* #define NEED_BSDTTY */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
131 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
132 /* The symbol in the kernel where the load average is found |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
133 is named _avenrun. At this time there are two major flavors |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
134 of hp-ux (there is the s800 and s300 (s200) flavors). The |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
135 differences are thusly moved to the corresponding machine description file. |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
136 */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
137 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
138 /* no underscore please */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
139 #define LDAV_SYMBOL "avenrun" |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
140 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
141 #if 0 /* Supposedly no longer true. */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
142 /* In hpux, for unknown reasons, S_IFLNK is defined even though |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
143 symbolic links do not exist. |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
144 Make sure our conditionals based on S_IFLNK are not confused. |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
145 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
146 Here we assume that stat.h is included before config.h |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
147 so that we can override it here. */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
148 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
149 #undef S_IFLNK |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
150 #endif |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
151 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
152 /* On USG systems these have different names. */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
153 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
154 #define index strchr |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
155 #define rindex strrchr |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
156 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
157 /* #endif */ |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
158 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
159 /* arch-tag: 4ced5b51-ffe6-4be1-9954-eb40657023a5 |
d045ad4ea72b
Restore file since src/unexhp9k800.c, on which it depends, is
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
160 (do not change this comment) */ |