1 /* A Bison parser, made by GNU Bison 3.0.2. */
3 /* Bison interface for Yacc-like parsers in C
5 Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
7 This program 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 3 of the License, or
10 (at your option) any later version.
12 This program 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.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 /* As a special exception, you may create a larger work that contains
21 part or all of the Bison parser skeleton and distribute that work
22 under terms of your choice, so long as that work isn't itself a
23 parser generator using the skeleton or a modified version thereof
24 as a parser skeleton. Alternatively, if you modify or redistribute
25 the parser skeleton itself, you may (at your option) remove this
26 special exception, which will cause the skeleton and the resulting
27 Bison output files to be licensed under the GNU General Public
28 License without this special exception.
30 This special exception was added by the Free Software Foundation in
31 version 2.2 of Bison. */
33 #ifndef YY_YY_YYSCRIPT_H_INCLUDED
34 # define YY_YY_YYSCRIPT_H_INCLUDED
81 CREATE_OBJECT_SYMBOLS
= 291,
82 DATA_SEGMENT_ALIGN
= 292,
83 DATA_SEGMENT_END
= 293,
84 DATA_SEGMENT_RELRO_END
= 294,
92 FORCE_COMMON_ALLOCATION
= 302,
97 INHIBIT_COMMON_ALLOCATION
= 307,
124 PROVIDE_HIDDEN
= 334,
131 SIZEOF_HEADERS
= 341,
132 SORT_BY_ALIGNMENT
= 342,
143 PARSING_LINKER_SCRIPT
= 353,
144 PARSING_VERSION_SCRIPT
= 354,
145 PARSING_DEFSYM
= 355,
146 PARSING_DYNAMIC_LIST
= 356
168 #define QUOTED_STRING 276
175 #define AS_NEEDED 283
181 #define CONSTRUCTORS 289
183 #define CREATE_OBJECT_SYMBOLS 291
184 #define DATA_SEGMENT_ALIGN 292
185 #define DATA_SEGMENT_END 293
186 #define DATA_SEGMENT_RELRO_END 294
190 #define EXCLUDE_FILE 298
194 #define FORCE_COMMON_ALLOCATION 302
199 #define INHIBIT_COMMON_ALLOCATION 307
213 #define NOCROSSREFS 321
216 #define ONLY_IF_RO 324
217 #define ONLY_IF_RW 325
221 #define OUTPUT_ARCH 329
222 #define OUTPUT_FORMAT 330
226 #define PROVIDE_HIDDEN 334
228 #define SEARCH_DIR 336
230 #define SEGMENT_START 338
233 #define SIZEOF_HEADERS 341
234 #define SORT_BY_ALIGNMENT 342
235 #define SORT_BY_NAME 343
245 #define PARSING_LINKER_SCRIPT 353
246 #define PARSING_VERSION_SCRIPT 354
247 #define PARSING_DEFSYM 355
248 #define PARSING_DYNAMIC_LIST 356
251 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
252 typedef union YYSTYPE YYSTYPE
;
255 #line 53 "yyscript.y" /* yacc.c:1909 */
258 struct Parser_string string
;
263 /* An output section header. */
264 struct Parser_output_section_header output_section_header
;
265 /* An output section trailer. */
266 struct Parser_output_section_trailer output_section_trailer
;
267 /* A section constraint. */
268 enum Section_constraint constraint
;
269 /* A complete input section specification. */
270 struct Input_section_spec input_section_spec
;
271 /* A list of wildcard specifications, with exclusions. */
272 struct Wildcard_sections wildcard_sections
;
273 /* A single wildcard specification. */
274 struct Wildcard_section wildcard_section
;
275 /* A list of strings. */
276 String_list_ptr string_list
;
277 /* Information for a program header. */
278 struct Phdr_info phdr_info
;
279 /* Used for version scripts and within VERSION {}. */
280 struct Version_dependency_list
* deplist
;
281 struct Version_expression_list
* versyms
;
282 struct Version_tree
* versnode
;
283 enum Script_section_type section_type
;
285 #line 286 "yyscript.h" /* yacc.c:1909 */
287 # define YYSTYPE_IS_TRIVIAL 1
288 # define YYSTYPE_IS_DECLARED 1
293 int yyparse (void* closure
);
295 #endif /* !YY_YY_YYSCRIPT_H_INCLUDED */