OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [ld/] [ldgram.h] - Blame information for rev 277

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/* A Bison parser, made by GNU Bison 1.875c.  */
2
 
3
/* Skeleton parser for Yacc-like parsing with Bison,
4
   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
5
 
6
   This program is free software; you can redistribute it and/or modify
7
   it under the terms of the GNU General Public License as published by
8
   the Free Software Foundation; either version 2, or (at your option)
9
   any later version.
10
 
11
   This program is distributed in the hope that it will be useful,
12
   but WITHOUT ANY WARRANTY; without even the implied warranty of
13
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
   GNU General Public License for more details.
15
 
16
   You should have received a copy of the GNU General Public License
17
   along with this program; if not, write to the Free Software
18
   Foundation, Inc., 59 Temple Place - Suite 330,
19
   Boston, MA 02111-1307, USA.  */
20
 
21
/* As a special exception, when this file is copied by Bison into a
22
   Bison output file, you may use that output file without restriction.
23
   This special exception was added by the Free Software Foundation
24
   in version 1.24 of Bison.  */
25
 
26
/* Tokens.  */
27
#ifndef YYTOKENTYPE
28
# define YYTOKENTYPE
29
   /* Put the tokens into the symbol table, so that GDB and other debuggers
30
      know about them.  */
31
   enum yytokentype {
32
     INT = 258,
33
     NAME = 259,
34
     LNAME = 260,
35
     OREQ = 261,
36
     ANDEQ = 262,
37
     RSHIFTEQ = 263,
38
     LSHIFTEQ = 264,
39
     DIVEQ = 265,
40
     MULTEQ = 266,
41
     MINUSEQ = 267,
42
     PLUSEQ = 268,
43
     OROR = 269,
44
     ANDAND = 270,
45
     NE = 271,
46
     EQ = 272,
47
     GE = 273,
48
     LE = 274,
49
     RSHIFT = 275,
50
     LSHIFT = 276,
51
     UNARY = 277,
52
     END = 278,
53
     ALIGN_K = 279,
54
     BLOCK = 280,
55
     BIND = 281,
56
     QUAD = 282,
57
     SQUAD = 283,
58
     LONG = 284,
59
     SHORT = 285,
60
     BYTE = 286,
61
     SECTIONS = 287,
62
     PHDRS = 288,
63
     INSERT_K = 289,
64
     AFTER = 290,
65
     BEFORE = 291,
66
     DATA_SEGMENT_ALIGN = 292,
67
     DATA_SEGMENT_RELRO_END = 293,
68
     DATA_SEGMENT_END = 294,
69
     SORT_BY_NAME = 295,
70
     SORT_BY_ALIGNMENT = 296,
71
     SIZEOF_HEADERS = 297,
72
     OUTPUT_FORMAT = 298,
73
     FORCE_COMMON_ALLOCATION = 299,
74
     OUTPUT_ARCH = 300,
75
     INHIBIT_COMMON_ALLOCATION = 301,
76
     SEGMENT_START = 302,
77
     INCLUDE = 303,
78
     MEMORY = 304,
79
     NOLOAD = 305,
80
     DSECT = 306,
81
     COPY = 307,
82
     INFO = 308,
83
     OVERLAY = 309,
84
     DEFINED = 310,
85
     TARGET_K = 311,
86
     SEARCH_DIR = 312,
87
     MAP = 313,
88
     ENTRY = 314,
89
     NEXT = 315,
90
     SIZEOF = 316,
91
     ALIGNOF = 317,
92
     ADDR = 318,
93
     LOADADDR = 319,
94
     MAX_K = 320,
95
     MIN_K = 321,
96
     STARTUP = 322,
97
     HLL = 323,
98
     SYSLIB = 324,
99
     FLOAT = 325,
100
     NOFLOAT = 326,
101
     NOCROSSREFS = 327,
102
     ORIGIN = 328,
103
     FILL = 329,
104
     LENGTH = 330,
105
     CREATE_OBJECT_SYMBOLS = 331,
106
     INPUT = 332,
107
     GROUP = 333,
108
     OUTPUT = 334,
109
     CONSTRUCTORS = 335,
110
     ALIGNMOD = 336,
111
     AT = 337,
112
     SUBALIGN = 338,
113
     PROVIDE = 339,
114
     PROVIDE_HIDDEN = 340,
115
     AS_NEEDED = 341,
116
     CHIP = 342,
117
     LIST = 343,
118
     SECT = 344,
119
     ABSOLUTE = 345,
120
     LOAD = 346,
121
     NEWLINE = 347,
122
     ENDWORD = 348,
123
     ORDER = 349,
124
     NAMEWORD = 350,
125
     ASSERT_K = 351,
126
     FORMAT = 352,
127
     PUBLIC = 353,
128
     DEFSYMEND = 354,
129
     BASE = 355,
130
     ALIAS = 356,
131
     TRUNCATE = 357,
132
     REL = 358,
133
     INPUT_SCRIPT = 359,
134
     INPUT_MRI_SCRIPT = 360,
135
     INPUT_DEFSYM = 361,
136
     CASE = 362,
137
     EXTERN = 363,
138
     START = 364,
139
     VERS_TAG = 365,
140
     VERS_IDENTIFIER = 366,
141
     GLOBAL = 367,
142
     LOCAL = 368,
143
     VERSIONK = 369,
144
     INPUT_VERSION_SCRIPT = 370,
145
     KEEP = 371,
146
     ONLY_IF_RO = 372,
147
     ONLY_IF_RW = 373,
148
     SPECIAL = 374,
149
     EXCLUDE_FILE = 375,
150
     CONSTANT = 376,
151
     INPUT_DYNAMIC_LIST = 377
152
   };
153
#endif
154
#define INT 258
155
#define NAME 259
156
#define LNAME 260
157
#define OREQ 261
158
#define ANDEQ 262
159
#define RSHIFTEQ 263
160
#define LSHIFTEQ 264
161
#define DIVEQ 265
162
#define MULTEQ 266
163
#define MINUSEQ 267
164
#define PLUSEQ 268
165
#define OROR 269
166
#define ANDAND 270
167
#define NE 271
168
#define EQ 272
169
#define GE 273
170
#define LE 274
171
#define RSHIFT 275
172
#define LSHIFT 276
173
#define UNARY 277
174
#define END 278
175
#define ALIGN_K 279
176
#define BLOCK 280
177
#define BIND 281
178
#define QUAD 282
179
#define SQUAD 283
180
#define LONG 284
181
#define SHORT 285
182
#define BYTE 286
183
#define SECTIONS 287
184
#define PHDRS 288
185
#define INSERT_K 289
186
#define AFTER 290
187
#define BEFORE 291
188
#define DATA_SEGMENT_ALIGN 292
189
#define DATA_SEGMENT_RELRO_END 293
190
#define DATA_SEGMENT_END 294
191
#define SORT_BY_NAME 295
192
#define SORT_BY_ALIGNMENT 296
193
#define SIZEOF_HEADERS 297
194
#define OUTPUT_FORMAT 298
195
#define FORCE_COMMON_ALLOCATION 299
196
#define OUTPUT_ARCH 300
197
#define INHIBIT_COMMON_ALLOCATION 301
198
#define SEGMENT_START 302
199
#define INCLUDE 303
200
#define MEMORY 304
201
#define NOLOAD 305
202
#define DSECT 306
203
#define COPY 307
204
#define INFO 308
205
#define OVERLAY 309
206
#define DEFINED 310
207
#define TARGET_K 311
208
#define SEARCH_DIR 312
209
#define MAP 313
210
#define ENTRY 314
211
#define NEXT 315
212
#define SIZEOF 316
213
#define ALIGNOF 317
214
#define ADDR 318
215
#define LOADADDR 319
216
#define MAX_K 320
217
#define MIN_K 321
218
#define STARTUP 322
219
#define HLL 323
220
#define SYSLIB 324
221
#define FLOAT 325
222
#define NOFLOAT 326
223
#define NOCROSSREFS 327
224
#define ORIGIN 328
225
#define FILL 329
226
#define LENGTH 330
227
#define CREATE_OBJECT_SYMBOLS 331
228
#define INPUT 332
229
#define GROUP 333
230
#define OUTPUT 334
231
#define CONSTRUCTORS 335
232
#define ALIGNMOD 336
233
#define AT 337
234
#define SUBALIGN 338
235
#define PROVIDE 339
236
#define PROVIDE_HIDDEN 340
237
#define AS_NEEDED 341
238
#define CHIP 342
239
#define LIST 343
240
#define SECT 344
241
#define ABSOLUTE 345
242
#define LOAD 346
243
#define NEWLINE 347
244
#define ENDWORD 348
245
#define ORDER 349
246
#define NAMEWORD 350
247
#define ASSERT_K 351
248
#define FORMAT 352
249
#define PUBLIC 353
250
#define DEFSYMEND 354
251
#define BASE 355
252
#define ALIAS 356
253
#define TRUNCATE 357
254
#define REL 358
255
#define INPUT_SCRIPT 359
256
#define INPUT_MRI_SCRIPT 360
257
#define INPUT_DEFSYM 361
258
#define CASE 362
259
#define EXTERN 363
260
#define START 364
261
#define VERS_TAG 365
262
#define VERS_IDENTIFIER 366
263
#define GLOBAL 367
264
#define LOCAL 368
265
#define VERSIONK 369
266
#define INPUT_VERSION_SCRIPT 370
267
#define KEEP 371
268
#define ONLY_IF_RO 372
269
#define ONLY_IF_RW 373
270
#define SPECIAL 374
271
#define EXCLUDE_FILE 375
272
#define CONSTANT 376
273
#define INPUT_DYNAMIC_LIST 377
274
 
275
 
276
 
277
 
278
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
279
#line 61 "ldgram.y"
280
typedef union YYSTYPE {
281
  bfd_vma integer;
282
  struct big_int
283
    {
284
      bfd_vma integer;
285
      char *str;
286
    } bigint;
287
  fill_type *fill;
288
  char *name;
289
  const char *cname;
290
  struct wildcard_spec wildcard;
291
  struct wildcard_list *wildcard_list;
292
  struct name_list *name_list;
293
  int token;
294
  union etree_union *etree;
295
  struct phdr_info
296
    {
297
      bfd_boolean filehdr;
298
      bfd_boolean phdrs;
299
      union etree_union *at;
300
      union etree_union *flags;
301
    } phdr;
302
  struct lang_nocrossref *nocrossref;
303
  struct lang_output_section_phdr_list *section_phdr;
304
  struct bfd_elf_version_deps *deflist;
305
  struct bfd_elf_version_expr *versyms;
306
  struct bfd_elf_version_tree *versnode;
307
} YYSTYPE;
308
/* Line 1275 of yacc.c.  */
309
#line 310 "ldgram.h"
310
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
311
# define YYSTYPE_IS_DECLARED 1
312
# define YYSTYPE_IS_TRIVIAL 1
313
#endif
314
 
315
extern YYSTYPE yylval;
316
 
317
 
318
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.