Home | History | Annotate | Download | only in src
      1 /* 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      kADD_OP = 258,
     33      kALIGN = 259,
     34      kENTRY = 260,
     35      kEXCLUDE_FILE = 261,
     36      kFILENAME = 262,
     37      kGLOBAL = 263,
     38      kGROUP = 264,
     39      kID = 265,
     40      kINPUT = 266,
     41      kINTERP = 267,
     42      kKEEP = 268,
     43      kLOCAL = 269,
     44      kMODE = 270,
     45      kMUL_OP = 271,
     46      kNUM = 272,
     47      kOUTPUT_FORMAT = 273,
     48      kPAGESIZE = 274,
     49      kPROVIDE = 275,
     50      kSEARCH_DIR = 276,
     51      kSEGMENT = 277,
     52      kSIZEOF_HEADERS = 278,
     53      kSORT = 279,
     54      kVERSION = 280,
     55      kVERSION_SCRIPT = 281,
     56      ADD_OP = 282,
     57      MUL_OP = 283
     58    };
     59 #endif
     60 #define kADD_OP 258
     61 #define kALIGN 259
     62 #define kENTRY 260
     63 #define kEXCLUDE_FILE 261
     64 #define kFILENAME 262
     65 #define kGLOBAL 263
     66 #define kGROUP 264
     67 #define kID 265
     68 #define kINPUT 266
     69 #define kINTERP 267
     70 #define kKEEP 268
     71 #define kLOCAL 269
     72 #define kMODE 270
     73 #define kMUL_OP 271
     74 #define kNUM 272
     75 #define kOUTPUT_FORMAT 273
     76 #define kPAGESIZE 274
     77 #define kPROVIDE 275
     78 #define kSEARCH_DIR 276
     79 #define kSEGMENT 277
     80 #define kSIZEOF_HEADERS 278
     81 #define kSORT 279
     82 #define kVERSION 280
     83 #define kVERSION_SCRIPT 281
     84 #define ADD_OP 282
     85 #define MUL_OP 283
     86 
     87 
     88 
     89 
     90 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
     91 #line 58 "/home/drepper/gnu/elfutils/src/ldscript.y"
     92 typedef union YYSTYPE {
     93   uintmax_t num;
     94   enum expression_tag op;
     95   char *str;
     96   struct expression *expr;
     97   struct input_section_name *sectionname;
     98   struct filemask_section_name *filemask_section_name;
     99   struct input_rule *input_rule;
    100   struct output_rule *output_rule;
    101   struct assignment *assignment;
    102   struct filename_list *filename_list;
    103   struct version *version;
    104   struct id_list *id_list;
    105 } YYSTYPE;
    106 /* Line 1275 of yacc.c.  */
    107 #line 108 "ldscript.h"
    108 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
    109 # define YYSTYPE_IS_DECLARED 1
    110 # define YYSTYPE_IS_TRIVIAL 1
    111 #endif
    112 
    113 extern YYSTYPE ldlval;
    114 
    115 
    116 
    117