mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
* yyscript.y (file_cmd): Recognize EXTERN.
(extern_name_list, extern_name_list_body): New nonterminals. * script.cc (script_add_extern): Define. * script-c.h (script_add_extern): Declare.
This commit is contained in:
@@ -211,6 +211,12 @@ yylex(YYSTYPE*, void* closure);
|
||||
extern void
|
||||
yyerror(void* closure, const char*);
|
||||
|
||||
/* Called by the bison parser to add an external symbol (a symbol in
|
||||
an EXTERN declaration) to the link. */
|
||||
|
||||
extern void
|
||||
script_add_extern(void* closure, const char*, size_t);
|
||||
|
||||
/* Called by the bison parser to add a file to the link. */
|
||||
|
||||
extern void
|
||||
|
||||
Reference in New Issue
Block a user