summaryrefslogtreecommitdiffstats
path: root/src/ldscript.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldscript.h')
-rw-r--r--src/ldscript.h116
1 files changed, 116 insertions, 0 deletions
diff --git a/src/ldscript.h b/src/ldscript.h
new file mode 100644
index 00000000..6464d8da
--- /dev/null
+++ b/src/ldscript.h
@@ -0,0 +1,116 @@
+/* A Bison parser, made by GNU Bison 1.875c. */
+
+/* Skeleton parser for Yacc-like parsing with Bison,
+ 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
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+/* As a special exception, when this file is copied by Bison into a
+ Bison output file, you may use that output file without restriction.
+ This special exception was added by the Free Software Foundation
+ in version 1.24 of Bison. */
+
+/* Tokens. */
+#ifndef YYTOKENTYPE
+# define YYTOKENTYPE
+ /* Put the tokens into the symbol table, so that GDB and other debuggers
+ know about them. */
+ enum yytokentype {
+ kADD_OP = 258,
+ kALIGN = 259,
+ kENTRY = 260,
+ kEXCLUDE_FILE = 261,
+ kFILENAME = 262,
+ kGLOBAL = 263,
+ kGROUP = 264,
+ kID = 265,
+ kINPUT = 266,
+ kINTERP = 267,
+ kKEEP = 268,
+ kLOCAL = 269,
+ kMODE = 270,
+ kMUL_OP = 271,
+ kNUM = 272,
+ kOUTPUT_FORMAT = 273,
+ kPAGESIZE = 274,
+ kPROVIDE = 275,
+ kSEARCH_DIR = 276,
+ kSEGMENT = 277,
+ kSIZEOF_HEADERS = 278,
+ kSORT = 279,
+ kVERSION = 280,
+ kVERSION_SCRIPT = 281,
+ ADD_OP = 282,
+ MUL_OP = 283
+ };
+#endif
+#define kADD_OP 258
+#define kALIGN 259
+#define kENTRY 260
+#define kEXCLUDE_FILE 261
+#define kFILENAME 262
+#define kGLOBAL 263
+#define kGROUP 264
+#define kID 265
+#define kINPUT 266
+#define kINTERP 267
+#define kKEEP 268
+#define kLOCAL 269
+#define kMODE 270
+#define kMUL_OP 271
+#define kNUM 272
+#define kOUTPUT_FORMAT 273
+#define kPAGESIZE 274
+#define kPROVIDE 275
+#define kSEARCH_DIR 276
+#define kSEGMENT 277
+#define kSIZEOF_HEADERS 278
+#define kSORT 279
+#define kVERSION 280
+#define kVERSION_SCRIPT 281
+#define ADD_OP 282
+#define MUL_OP 283
+
+
+
+
+#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
+#line 58 "/home/drepper/gnu/elfutils/src/ldscript.y"
+typedef union YYSTYPE {
+ uintmax_t num;
+ enum expression_tag op;
+ char *str;
+ struct expression *expr;
+ struct input_section_name *sectionname;
+ struct filemask_section_name *filemask_section_name;
+ struct input_rule *input_rule;
+ struct output_rule *output_rule;
+ struct assignment *assignment;
+ struct filename_list *filename_list;
+ struct version *version;
+ struct id_list *id_list;
+} YYSTYPE;
+/* Line 1275 of yacc.c. */
+#line 108 "ldscript.h"
+# define yystype YYSTYPE /* obsolescent; will be withdrawn */
+# define YYSTYPE_IS_DECLARED 1
+# define YYSTYPE_IS_TRIVIAL 1
+#endif
+
+extern YYSTYPE ldlval;
+
+
+