Commit | Line | Data |
---|---|---|
01170860 RP |
1 | /* This file is objrecdef.h |
2 | ||
3 | Copyright (C) 1987-1992 Free Software Foundation, Inc. | |
4 | ||
5 | This file is part of GAS, the GNU Assembler. | |
6 | ||
7 | GAS is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation; either version 2, or (at your option) | |
10 | any later version. | |
11 | ||
12 | GAS is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with GAS; see the file COPYING. If not, write to | |
19 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
20 | ||
0e39a8bb RP |
21 | /* |
22 | * | |
23 | * $OBJRECDEF | |
24 | * Generated automatically by "vms_struct Version 1.00" | |
25 | * Created from VMS definition file "objrecdef.mar" | |
26 | * Mon Oct 14 14:01:29 1985 | |
27 | * | |
28 | */ | |
29 | struct OBJREC { | |
8b228fe9 RP |
30 | unsigned char obj$b_rectyp; |
31 | unsigned char obj$b_subtyp; | |
32 | unsigned char obj$b_mhd_strlv; | |
33 | unsigned char obj$b_mhd_recsz[2]; | |
34 | unsigned char obj$t_mhd_name[1]; | |
35 | }; | |
0e39a8bb RP |
36 | \f |
37 | #define OBJ$C_HDR 0 | |
38 | #define OBJ$C_HDR_MHD 0 | |
39 | #define OBJ$C_HDR_LNM 1 | |
40 | #define OBJ$C_HDR_SRC 2 | |
41 | #define OBJ$C_HDR_TTL 3 | |
42 | #define OBJ$C_HDR_CPR 4 | |
43 | #define OBJ$C_HDR_MTC 5 | |
44 | #define OBJ$C_HDR_GTX 6 | |
45 | #define OBJ$C_GSD 1 | |
46 | #define OBJ$C_GSD_PSC 0 | |
47 | #define OBJ$C_GSD_SYM 1 | |
48 | #define OBJ$C_GSD_EPM 2 | |
49 | #define OBJ$C_GSD_PRO 3 | |
50 | #define OBJ$C_GSD_SYMW 4 | |
51 | #define OBJ$C_GSD_EPMW 5 | |
52 | #define OBJ$C_GSD_PROW 6 | |
53 | #define OBJ$C_GSD_IDC 7 | |
54 | #define OBJ$C_GSD_ENV 8 | |
55 | #define OBJ$C_GSD_LSY 9 | |
56 | #define OBJ$C_GSD_LEPM 10 | |
57 | #define OBJ$C_GSD_LPRO 11 | |
58 | #define OBJ$C_GSD_SPSC 12 | |
59 | #define OBJ$C_TIR 2 | |
60 | #define OBJ$C_EOM 3 | |
61 | #define OBJ$C_DBG 4 | |
62 | #define OBJ$C_TBT 5 | |
63 | #define OBJ$C_LNK 6 | |
64 | #define OBJ$C_EOMW 7 | |
65 | #define OBJ$C_MAXRECTYP 7 | |
66 | #define OBJ$K_SUBTYP 1 | |
67 | #define OBJ$C_SUBTYP 1 | |
68 | #define OBJ$C_MAXRECSIZ 2048 | |
69 | #define OBJ$C_STRLVL 0 | |
70 | #define OBJ$C_SYMSIZ 31 | |
71 | #define OBJ$C_STOREPLIM -1 | |
72 | #define OBJ$C_PSCALILIM 9 | |
73 | \f | |
74 | #define MHD$C_MHD 0 | |
75 | #define MHD$C_LNM 1 | |
76 | #define MHD$C_SRC 2 | |
77 | #define MHD$C_TTL 3 | |
78 | #define MHD$C_CPR 4 | |
79 | #define MHD$C_MTC 5 | |
80 | #define MHD$C_GTX 6 | |
81 | #define MHD$C_MAXHDRTYP 6 | |
82 | \f | |
83 | #define GSD$K_ENTRIES 1 | |
84 | #define GSD$C_ENTRIES 1 | |
85 | #define GSD$C_PSC 0 | |
86 | #define GSD$C_SYM 1 | |
87 | #define GSD$C_EPM 2 | |
88 | #define GSD$C_PRO 3 | |
89 | #define GSD$C_SYMW 4 | |
90 | #define GSD$C_EPMW 5 | |
91 | #define GSD$C_PROW 6 | |
92 | #define GSD$C_IDC 7 | |
93 | #define GSD$C_ENV 8 | |
94 | #define GSD$C_LSY 9 | |
95 | #define GSD$C_LEPM 10 | |
96 | #define GSD$C_LPRO 11 | |
97 | #define GSD$C_SPSC 12 | |
98 | #define GSD$C_SYMV 13 | |
99 | #define GSD$C_EPMV 14 | |
100 | #define GSD$C_PROV 15 | |
101 | #define GSD$C_MAXRECTYP 15 | |
102 | \f | |
103 | #define GSY$M_WEAK 1 | |
104 | #define GSY$M_DEF 2 | |
105 | #define GSY$M_UNI 4 | |
106 | #define GSY$M_REL 8 | |
107 | \f | |
108 | #define GPS$M_PIC 1 | |
109 | #define GPS$M_LIB 2 | |
110 | #define GPS$M_OVR 4 | |
111 | #define GPS$M_REL 8 | |
112 | #define GPS$M_GBL 16 | |
113 | #define GPS$M_SHR 32 | |
114 | #define GPS$M_EXE 64 | |
115 | #define GPS$M_RD 128 | |
116 | #define GPS$M_WRT 256 | |
117 | #define GPS$M_VEC 512 | |
118 | #define GPS$K_NAME 9 | |
119 | #define GPS$C_NAME 9 | |
120 | \f | |
121 | #define TIR$C_STA_GBL 0 | |
122 | #define TIR$C_STA_SB 1 | |
123 | #define TIR$C_STA_SW 2 | |
124 | #define TIR$C_STA_LW 3 | |
125 | #define TIR$C_STA_PB 4 | |
126 | #define TIR$C_STA_PW 5 | |
127 | #define TIR$C_STA_PL 6 | |
128 | #define TIR$C_STA_UB 7 | |
129 | #define TIR$C_STA_UW 8 | |
130 | #define TIR$C_STA_BFI 9 | |
131 | #define TIR$C_STA_WFI 10 | |
132 | #define TIR$C_STA_LFI 11 | |
133 | #define TIR$C_STA_EPM 12 | |
134 | #define TIR$C_STA_CKARG 13 | |
135 | #define TIR$C_STA_WPB 14 | |
136 | #define TIR$C_STA_WPW 15 | |
137 | #define TIR$C_STA_WPL 16 | |
138 | #define TIR$C_STA_LSY 17 | |
139 | #define TIR$C_STA_LIT 18 | |
140 | #define TIR$C_STA_LEPM 19 | |
141 | #define TIR$C_MAXSTACOD 19 | |
142 | #define TIR$C_MINSTOCOD 20 | |
143 | #define TIR$C_STO_SB 20 | |
144 | #define TIR$C_STO_SW 21 | |
145 | #define TIR$C_STO_L 22 | |
146 | #define TIR$C_STO_BD 23 | |
147 | #define TIR$C_STO_WD 24 | |
148 | #define TIR$C_STO_LD 25 | |
149 | #define TIR$C_STO_LI 26 | |
150 | #define TIR$C_STO_PIDR 27 | |
151 | #define TIR$C_STO_PICR 28 | |
152 | #define TIR$C_STO_RSB 29 | |
153 | #define TIR$C_STO_RSW 30 | |
154 | #define TIR$C_STO_RL 31 | |
155 | #define TIR$C_STO_VPS 32 | |
156 | #define TIR$C_STO_USB 33 | |
157 | #define TIR$C_STO_USW 34 | |
158 | #define TIR$C_STO_RUB 35 | |
159 | #define TIR$C_STO_RUW 36 | |
160 | #define TIR$C_STO_B 37 | |
161 | #define TIR$C_STO_W 38 | |
162 | #define TIR$C_STO_RB 39 | |
163 | #define TIR$C_STO_RW 40 | |
164 | #define TIR$C_STO_RIVB 41 | |
165 | #define TIR$C_STO_PIRR 42 | |
166 | #define TIR$C_MAXSTOCOD 42 | |
167 | #define TIR$C_MINOPRCOD 50 | |
168 | #define TIR$C_OPR_NOP 50 | |
169 | #define TIR$C_OPR_ADD 51 | |
170 | #define TIR$C_OPR_SUB 52 | |
171 | #define TIR$C_OPR_MUL 53 | |
172 | #define TIR$C_OPR_DIV 54 | |
173 | #define TIR$C_OPR_AND 55 | |
174 | #define TIR$C_OPR_IOR 56 | |
175 | #define TIR$C_OPR_EOR 57 | |
176 | #define TIR$C_OPR_NEG 58 | |
177 | #define TIR$C_OPR_COM 59 | |
178 | #define TIR$C_OPR_INSV 60 | |
179 | #define TIR$C_OPR_ASH 61 | |
180 | #define TIR$C_OPR_USH 62 | |
181 | #define TIR$C_OPR_ROT 63 | |
182 | #define TIR$C_OPR_SEL 64 | |
183 | #define TIR$C_OPR_REDEF 65 | |
184 | #define TIR$C_OPR_DFLIT 66 | |
185 | #define TIR$C_MAXOPRCOD 66 | |
186 | #define TIR$C_MINCTLCOD 80 | |
187 | #define TIR$C_CTL_SETRB 80 | |
188 | #define TIR$C_CTL_AUGRB 81 | |
189 | #define TIR$C_CTL_DFLOC 82 | |
190 | #define TIR$C_CTL_STLOC 83 | |
191 | #define TIR$C_CTL_STKDL 84 | |
192 | #define TIR$C_MAXCTLCOD 84 | |
193 | \f | |
194 | /* | |
195 | * Debugger symbol definitions: These are done by hand, as no | |
196 | * machine-readable version seems | |
197 | * to be available. | |
198 | */ | |
199 | #define DST$C_C 7 /* Language == "C" */ | |
200 | #define DST$C_VERSION 153 | |
201 | #define DST$C_SOURCE 155 /* Source file */ | |
202 | #define DST$C_PROLOG 162 | |
203 | #define DST$C_BLKBEG 176 /* Beginning of block */ | |
204 | #define DST$C_BLKEND 177 /* End of block */ | |
205 | #define DST$C_ENTRY 181 | |
206 | #define DST$C_PSECT 184 | |
207 | #define DST$C_LINE_NUM 185 /* Line Number */ | |
208 | #define DST$C_LBLORLIT 186 | |
209 | #define DST$C_LABEL 187 | |
210 | #define DST$C_MODBEG 188 /* Beginning of module */ | |
211 | #define DST$C_MODEND 189 /* End of module */ | |
212 | #define DST$C_RTNBEG 190 /* Beginning of routine */ | |
213 | #define DST$C_RTNEND 191 /* End of routine */ | |
214 | #define DST$C_DELTA_PC_W 1 /* Incr PC */ | |
215 | #define DST$C_INCR_LINUM 2 /* Incr Line # */ | |
216 | #define DST$C_INCR_LINUM_W 3 /* Incr Line # */ | |
217 | #define DST$C_SET_LINUM_INCR 4 | |
218 | #define DST$C_SET_LINUM_INCR_W 5 | |
219 | #define DST$C_RESET_LINUM_INCR 6 | |
220 | #define DST$C_BEG_STMT_MODE 7 | |
221 | #define DST$C_END_STMT_MODE 8 | |
222 | #define DST$C_SET_LINE_NUM 9 /* Set Line # */ | |
223 | #define DST$C_SET_PC 10 | |
224 | #define DST$C_SET_PC_W 11 | |
225 | #define DST$C_SET_PC_L 12 | |
226 | #define DST$C_SET_STMTNUM 13 | |
227 | #define DST$C_TERM 14 /* End of lines */ | |
228 | #define DST$C_TERM_W 15 /* End of lines */ | |
229 | #define DST$C_SET_ABS_PC 16 /* Set PC */ | |
230 | #define DST$C_DELTA_PC_L 17 /* Incr PC */ | |
231 | #define DST$C_INCR_LINUM_L 18 /* Incr Line # */ | |
232 | #define DST$C_SET_LINUM_B 19 /* Set Line # */ | |
233 | #define DST$C_SET_LINUM_L 20 /* Set Line # */ | |
234 | #define DST$C_TERM_L 21 /* End of lines */ | |
235 | /* these are used with DST$C_SOURCE */ | |
236 | #define DST$C_SRC_FORMFEED 16 /* ^L counts */ | |
237 | #define DST$C_SRC_DECLFILE 1 /* Declare file */ | |
238 | #define DST$C_SRC_SETFILE 2 /* Set file */ | |
239 | #define DST$C_SRC_SETREC_L 3 /* Set record */ | |
240 | #define DST$C_SRC_DEFLINES_W 10 /* # of line */ | |
241 | /* the following are the codes for the various data types. Anything not on | |
242 | * the list is included under 'advanced_type' | |
243 | */ | |
244 | #define DBG$C_UCHAR 0x02 | |
245 | #define DBG$C_USINT 0x03 | |
246 | #define DBG$C_ULINT 0x04 | |
247 | #define DBG$C_SCHAR 0x06 | |
248 | #define DBG$C_SSINT 0x07 | |
249 | #define DBG$C_SLINT 0x08 | |
250 | #define DBG$C_REAL4 0x0a | |
251 | #define DBG$C_REAL8 0x0b | |
252 | #define DBG$C_FUNCTION_ADDR 0x17 | |
253 | #define DBG$C_ADVANCED_TYPE 0xa3 | |
254 | /* These are the codes that are used to generate the definitions of struct | |
255 | * union and enum records | |
256 | */ | |
257 | #define DBG$C_ENUM_ITEM 0xa4 | |
258 | #define DBG$C_ENUM_START 0xa5 | |
259 | #define DBG$C_ENUM_END 0xa6 | |
260 | #define DBG$C_STRUCT_START 0xab | |
261 | #define DBG$C_STRUCT_ITEM 0xff | |
262 | #define DBG$C_STRUCT_END 0xac | |
263 | /* These are the codes that are used in the suffix records to determine the | |
264 | * actual data type | |
265 | */ | |
266 | #define DBG$C_BASIC 0x01 | |
267 | #define DBG$C_BASIC_ARRAY 0x02 | |
268 | #define DBG$C_STRUCT 0x03 | |
269 | #define DBG$C_POINTER 0x04 | |
270 | #define DBG$C_VOID 0x05 | |
271 | #define DBG$C_COMPLEX_ARRAY 0x07 | |
272 | /* These codes are used in the generation of the symbol definition records | |
273 | */ | |
274 | #define DBG$C_FUNCTION_PARAMETER 0xc9 | |
275 | #define DBG$C_LOCAL_SYM 0xd9 | |
8b228fe9 RP |
276 | |
277 | /* end of objrecdef.h */ |