OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [ldgram.h] - Diff between revs 156 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 156 Rev 816
/* A Bison parser, made by GNU Bison 1.875c.  */
/* A Bison parser, made by GNU Bison 1.875c.  */
 
 
/* Skeleton parser for Yacc-like parsing with Bison,
/* Skeleton parser for Yacc-like parsing with Bison,
   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 
 
   This program is free software; you can redistribute it and/or modify
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2, or (at your option)
   the Free Software Foundation; either version 2, or (at your option)
   any later version.
   any later version.
 
 
   This program is distributed in the hope that it will be useful,
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
   GNU General Public License for more details.
 
 
   You should have received a copy of the GNU General Public License
   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place - Suite 330,
   Foundation, Inc., 59 Temple Place - Suite 330,
   Boston, MA 02111-1307, USA.  */
   Boston, MA 02111-1307, USA.  */
 
 
/* As a special exception, when this file is copied by Bison into a
/* As a special exception, when this file is copied by Bison into a
   Bison output file, you may use that output file without restriction.
   Bison output file, you may use that output file without restriction.
   This special exception was added by the Free Software Foundation
   This special exception was added by the Free Software Foundation
   in version 1.24 of Bison.  */
   in version 1.24 of Bison.  */
 
 
/* Tokens.  */
/* Tokens.  */
#ifndef YYTOKENTYPE
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
# define YYTOKENTYPE
   /* Put the tokens into the symbol table, so that GDB and other debuggers
   /* Put the tokens into the symbol table, so that GDB and other debuggers
      know about them.  */
      know about them.  */
   enum yytokentype {
   enum yytokentype {
     INT = 258,
     INT = 258,
     NAME = 259,
     NAME = 259,
     LNAME = 260,
     LNAME = 260,
     OREQ = 261,
     OREQ = 261,
     ANDEQ = 262,
     ANDEQ = 262,
     RSHIFTEQ = 263,
     RSHIFTEQ = 263,
     LSHIFTEQ = 264,
     LSHIFTEQ = 264,
     DIVEQ = 265,
     DIVEQ = 265,
     MULTEQ = 266,
     MULTEQ = 266,
     MINUSEQ = 267,
     MINUSEQ = 267,
     PLUSEQ = 268,
     PLUSEQ = 268,
     OROR = 269,
     OROR = 269,
     ANDAND = 270,
     ANDAND = 270,
     NE = 271,
     NE = 271,
     EQ = 272,
     EQ = 272,
     GE = 273,
     GE = 273,
     LE = 274,
     LE = 274,
     RSHIFT = 275,
     RSHIFT = 275,
     LSHIFT = 276,
     LSHIFT = 276,
     UNARY = 277,
     UNARY = 277,
     END = 278,
     END = 278,
     ALIGN_K = 279,
     ALIGN_K = 279,
     BLOCK = 280,
     BLOCK = 280,
     BIND = 281,
     BIND = 281,
     QUAD = 282,
     QUAD = 282,
     SQUAD = 283,
     SQUAD = 283,
     LONG = 284,
     LONG = 284,
     SHORT = 285,
     SHORT = 285,
     BYTE = 286,
     BYTE = 286,
     SECTIONS = 287,
     SECTIONS = 287,
     PHDRS = 288,
     PHDRS = 288,
     INSERT_K = 289,
     INSERT_K = 289,
     AFTER = 290,
     AFTER = 290,
     BEFORE = 291,
     BEFORE = 291,
     DATA_SEGMENT_ALIGN = 292,
     DATA_SEGMENT_ALIGN = 292,
     DATA_SEGMENT_RELRO_END = 293,
     DATA_SEGMENT_RELRO_END = 293,
     DATA_SEGMENT_END = 294,
     DATA_SEGMENT_END = 294,
     SORT_BY_NAME = 295,
     SORT_BY_NAME = 295,
     SORT_BY_ALIGNMENT = 296,
     SORT_BY_ALIGNMENT = 296,
     SIZEOF_HEADERS = 297,
     SIZEOF_HEADERS = 297,
     OUTPUT_FORMAT = 298,
     OUTPUT_FORMAT = 298,
     FORCE_COMMON_ALLOCATION = 299,
     FORCE_COMMON_ALLOCATION = 299,
     OUTPUT_ARCH = 300,
     OUTPUT_ARCH = 300,
     INHIBIT_COMMON_ALLOCATION = 301,
     INHIBIT_COMMON_ALLOCATION = 301,
     SEGMENT_START = 302,
     SEGMENT_START = 302,
     INCLUDE = 303,
     INCLUDE = 303,
     MEMORY = 304,
     MEMORY = 304,
     NOLOAD = 305,
     NOLOAD = 305,
     DSECT = 306,
     DSECT = 306,
     COPY = 307,
     COPY = 307,
     INFO = 308,
     INFO = 308,
     OVERLAY = 309,
     OVERLAY = 309,
     DEFINED = 310,
     DEFINED = 310,
     TARGET_K = 311,
     TARGET_K = 311,
     SEARCH_DIR = 312,
     SEARCH_DIR = 312,
     MAP = 313,
     MAP = 313,
     ENTRY = 314,
     ENTRY = 314,
     NEXT = 315,
     NEXT = 315,
     SIZEOF = 316,
     SIZEOF = 316,
     ALIGNOF = 317,
     ALIGNOF = 317,
     ADDR = 318,
     ADDR = 318,
     LOADADDR = 319,
     LOADADDR = 319,
     MAX_K = 320,
     MAX_K = 320,
     MIN_K = 321,
     MIN_K = 321,
     STARTUP = 322,
     STARTUP = 322,
     HLL = 323,
     HLL = 323,
     SYSLIB = 324,
     SYSLIB = 324,
     FLOAT = 325,
     FLOAT = 325,
     NOFLOAT = 326,
     NOFLOAT = 326,
     NOCROSSREFS = 327,
     NOCROSSREFS = 327,
     ORIGIN = 328,
     ORIGIN = 328,
     FILL = 329,
     FILL = 329,
     LENGTH = 330,
     LENGTH = 330,
     CREATE_OBJECT_SYMBOLS = 331,
     CREATE_OBJECT_SYMBOLS = 331,
     INPUT = 332,
     INPUT = 332,
     GROUP = 333,
     GROUP = 333,
     OUTPUT = 334,
     OUTPUT = 334,
     CONSTRUCTORS = 335,
     CONSTRUCTORS = 335,
     ALIGNMOD = 336,
     ALIGNMOD = 336,
     AT = 337,
     AT = 337,
     SUBALIGN = 338,
     SUBALIGN = 338,
     PROVIDE = 339,
     PROVIDE = 339,
     PROVIDE_HIDDEN = 340,
     PROVIDE_HIDDEN = 340,
     AS_NEEDED = 341,
     AS_NEEDED = 341,
     CHIP = 342,
     CHIP = 342,
     LIST = 343,
     LIST = 343,
     SECT = 344,
     SECT = 344,
     ABSOLUTE = 345,
     ABSOLUTE = 345,
     LOAD = 346,
     LOAD = 346,
     NEWLINE = 347,
     NEWLINE = 347,
     ENDWORD = 348,
     ENDWORD = 348,
     ORDER = 349,
     ORDER = 349,
     NAMEWORD = 350,
     NAMEWORD = 350,
     ASSERT_K = 351,
     ASSERT_K = 351,
     FORMAT = 352,
     FORMAT = 352,
     PUBLIC = 353,
     PUBLIC = 353,
     DEFSYMEND = 354,
     DEFSYMEND = 354,
     BASE = 355,
     BASE = 355,
     ALIAS = 356,
     ALIAS = 356,
     TRUNCATE = 357,
     TRUNCATE = 357,
     REL = 358,
     REL = 358,
     INPUT_SCRIPT = 359,
     INPUT_SCRIPT = 359,
     INPUT_MRI_SCRIPT = 360,
     INPUT_MRI_SCRIPT = 360,
     INPUT_DEFSYM = 361,
     INPUT_DEFSYM = 361,
     CASE = 362,
     CASE = 362,
     EXTERN = 363,
     EXTERN = 363,
     START = 364,
     START = 364,
     VERS_TAG = 365,
     VERS_TAG = 365,
     VERS_IDENTIFIER = 366,
     VERS_IDENTIFIER = 366,
     GLOBAL = 367,
     GLOBAL = 367,
     LOCAL = 368,
     LOCAL = 368,
     VERSIONK = 369,
     VERSIONK = 369,
     INPUT_VERSION_SCRIPT = 370,
     INPUT_VERSION_SCRIPT = 370,
     KEEP = 371,
     KEEP = 371,
     ONLY_IF_RO = 372,
     ONLY_IF_RO = 372,
     ONLY_IF_RW = 373,
     ONLY_IF_RW = 373,
     SPECIAL = 374,
     SPECIAL = 374,
     EXCLUDE_FILE = 375,
     EXCLUDE_FILE = 375,
     CONSTANT = 376,
     CONSTANT = 376,
     INPUT_DYNAMIC_LIST = 377
     INPUT_DYNAMIC_LIST = 377
   };
   };
#endif
#endif
#define INT 258
#define INT 258
#define NAME 259
#define NAME 259
#define LNAME 260
#define LNAME 260
#define OREQ 261
#define OREQ 261
#define ANDEQ 262
#define ANDEQ 262
#define RSHIFTEQ 263
#define RSHIFTEQ 263
#define LSHIFTEQ 264
#define LSHIFTEQ 264
#define DIVEQ 265
#define DIVEQ 265
#define MULTEQ 266
#define MULTEQ 266
#define MINUSEQ 267
#define MINUSEQ 267
#define PLUSEQ 268
#define PLUSEQ 268
#define OROR 269
#define OROR 269
#define ANDAND 270
#define ANDAND 270
#define NE 271
#define NE 271
#define EQ 272
#define EQ 272
#define GE 273
#define GE 273
#define LE 274
#define LE 274
#define RSHIFT 275
#define RSHIFT 275
#define LSHIFT 276
#define LSHIFT 276
#define UNARY 277
#define UNARY 277
#define END 278
#define END 278
#define ALIGN_K 279
#define ALIGN_K 279
#define BLOCK 280
#define BLOCK 280
#define BIND 281
#define BIND 281
#define QUAD 282
#define QUAD 282
#define SQUAD 283
#define SQUAD 283
#define LONG 284
#define LONG 284
#define SHORT 285
#define SHORT 285
#define BYTE 286
#define BYTE 286
#define SECTIONS 287
#define SECTIONS 287
#define PHDRS 288
#define PHDRS 288
#define INSERT_K 289
#define INSERT_K 289
#define AFTER 290
#define AFTER 290
#define BEFORE 291
#define BEFORE 291
#define DATA_SEGMENT_ALIGN 292
#define DATA_SEGMENT_ALIGN 292
#define DATA_SEGMENT_RELRO_END 293
#define DATA_SEGMENT_RELRO_END 293
#define DATA_SEGMENT_END 294
#define DATA_SEGMENT_END 294
#define SORT_BY_NAME 295
#define SORT_BY_NAME 295
#define SORT_BY_ALIGNMENT 296
#define SORT_BY_ALIGNMENT 296
#define SIZEOF_HEADERS 297
#define SIZEOF_HEADERS 297
#define OUTPUT_FORMAT 298
#define OUTPUT_FORMAT 298
#define FORCE_COMMON_ALLOCATION 299
#define FORCE_COMMON_ALLOCATION 299
#define OUTPUT_ARCH 300
#define OUTPUT_ARCH 300
#define INHIBIT_COMMON_ALLOCATION 301
#define INHIBIT_COMMON_ALLOCATION 301
#define SEGMENT_START 302
#define SEGMENT_START 302
#define INCLUDE 303
#define INCLUDE 303
#define MEMORY 304
#define MEMORY 304
#define NOLOAD 305
#define NOLOAD 305
#define DSECT 306
#define DSECT 306
#define COPY 307
#define COPY 307
#define INFO 308
#define INFO 308
#define OVERLAY 309
#define OVERLAY 309
#define DEFINED 310
#define DEFINED 310
#define TARGET_K 311
#define TARGET_K 311
#define SEARCH_DIR 312
#define SEARCH_DIR 312
#define MAP 313
#define MAP 313
#define ENTRY 314
#define ENTRY 314
#define NEXT 315
#define NEXT 315
#define SIZEOF 316
#define SIZEOF 316
#define ALIGNOF 317
#define ALIGNOF 317
#define ADDR 318
#define ADDR 318
#define LOADADDR 319
#define LOADADDR 319
#define MAX_K 320
#define MAX_K 320
#define MIN_K 321
#define MIN_K 321
#define STARTUP 322
#define STARTUP 322
#define HLL 323
#define HLL 323
#define SYSLIB 324
#define SYSLIB 324
#define FLOAT 325
#define FLOAT 325
#define NOFLOAT 326
#define NOFLOAT 326
#define NOCROSSREFS 327
#define NOCROSSREFS 327
#define ORIGIN 328
#define ORIGIN 328
#define FILL 329
#define FILL 329
#define LENGTH 330
#define LENGTH 330
#define CREATE_OBJECT_SYMBOLS 331
#define CREATE_OBJECT_SYMBOLS 331
#define INPUT 332
#define INPUT 332
#define GROUP 333
#define GROUP 333
#define OUTPUT 334
#define OUTPUT 334
#define CONSTRUCTORS 335
#define CONSTRUCTORS 335
#define ALIGNMOD 336
#define ALIGNMOD 336
#define AT 337
#define AT 337
#define SUBALIGN 338
#define SUBALIGN 338
#define PROVIDE 339
#define PROVIDE 339
#define PROVIDE_HIDDEN 340
#define PROVIDE_HIDDEN 340
#define AS_NEEDED 341
#define AS_NEEDED 341
#define CHIP 342
#define CHIP 342
#define LIST 343
#define LIST 343
#define SECT 344
#define SECT 344
#define ABSOLUTE 345
#define ABSOLUTE 345
#define LOAD 346
#define LOAD 346
#define NEWLINE 347
#define NEWLINE 347
#define ENDWORD 348
#define ENDWORD 348
#define ORDER 349
#define ORDER 349
#define NAMEWORD 350
#define NAMEWORD 350
#define ASSERT_K 351
#define ASSERT_K 351
#define FORMAT 352
#define FORMAT 352
#define PUBLIC 353
#define PUBLIC 353
#define DEFSYMEND 354
#define DEFSYMEND 354
#define BASE 355
#define BASE 355
#define ALIAS 356
#define ALIAS 356
#define TRUNCATE 357
#define TRUNCATE 357
#define REL 358
#define REL 358
#define INPUT_SCRIPT 359
#define INPUT_SCRIPT 359
#define INPUT_MRI_SCRIPT 360
#define INPUT_MRI_SCRIPT 360
#define INPUT_DEFSYM 361
#define INPUT_DEFSYM 361
#define CASE 362
#define CASE 362
#define EXTERN 363
#define EXTERN 363
#define START 364
#define START 364
#define VERS_TAG 365
#define VERS_TAG 365
#define VERS_IDENTIFIER 366
#define VERS_IDENTIFIER 366
#define GLOBAL 367
#define GLOBAL 367
#define LOCAL 368
#define LOCAL 368
#define VERSIONK 369
#define VERSIONK 369
#define INPUT_VERSION_SCRIPT 370
#define INPUT_VERSION_SCRIPT 370
#define KEEP 371
#define KEEP 371
#define ONLY_IF_RO 372
#define ONLY_IF_RO 372
#define ONLY_IF_RW 373
#define ONLY_IF_RW 373
#define SPECIAL 374
#define SPECIAL 374
#define EXCLUDE_FILE 375
#define EXCLUDE_FILE 375
#define CONSTANT 376
#define CONSTANT 376
#define INPUT_DYNAMIC_LIST 377
#define INPUT_DYNAMIC_LIST 377
 
 
 
 
 
 
 
 
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
#line 61 "ldgram.y"
#line 61 "ldgram.y"
typedef union YYSTYPE {
typedef union YYSTYPE {
  bfd_vma integer;
  bfd_vma integer;
  struct big_int
  struct big_int
    {
    {
      bfd_vma integer;
      bfd_vma integer;
      char *str;
      char *str;
    } bigint;
    } bigint;
  fill_type *fill;
  fill_type *fill;
  char *name;
  char *name;
  const char *cname;
  const char *cname;
  struct wildcard_spec wildcard;
  struct wildcard_spec wildcard;
  struct wildcard_list *wildcard_list;
  struct wildcard_list *wildcard_list;
  struct name_list *name_list;
  struct name_list *name_list;
  int token;
  int token;
  union etree_union *etree;
  union etree_union *etree;
  struct phdr_info
  struct phdr_info
    {
    {
      bfd_boolean filehdr;
      bfd_boolean filehdr;
      bfd_boolean phdrs;
      bfd_boolean phdrs;
      union etree_union *at;
      union etree_union *at;
      union etree_union *flags;
      union etree_union *flags;
    } phdr;
    } phdr;
  struct lang_nocrossref *nocrossref;
  struct lang_nocrossref *nocrossref;
  struct lang_output_section_phdr_list *section_phdr;
  struct lang_output_section_phdr_list *section_phdr;
  struct bfd_elf_version_deps *deflist;
  struct bfd_elf_version_deps *deflist;
  struct bfd_elf_version_expr *versyms;
  struct bfd_elf_version_expr *versyms;
  struct bfd_elf_version_tree *versnode;
  struct bfd_elf_version_tree *versnode;
} YYSTYPE;
} YYSTYPE;
/* Line 1275 of yacc.c.  */
/* Line 1275 of yacc.c.  */
#line 310 "ldgram.h"
#line 310 "ldgram.h"
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_TRIVIAL 1
#endif
#endif
 
 
extern YYSTYPE yylval;
extern YYSTYPE yylval;
 
 
 
 
 
 
 
 

powered by: WebSVN 2.1.0

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