forked from Imagelibrary/binutils-gdb
* ldlang.h (struct lang_input_statement_flags): Add pushed
member.
* ldlex.h (enum option_values): Add OPTION_PUSH_STATE and
OPTION_POP_STATE.
* lexsup.c (ld_options): Add entries for --push-state and
--pop-state.
(parse_args): Handle OPTION_PUSH_STATE and OPTION_POP_STATE.
* ld.texinfo: Document --push-state and --pop-state.
This commit is contained in:
@@ -282,6 +282,9 @@ struct lang_input_statement_flags
|
||||
/* Set if reloading an archive or --as-needed lib. */
|
||||
unsigned int reload : 1;
|
||||
#endif /* ENABLE_PLUGINS */
|
||||
|
||||
/* Head of list of pushed flags. */
|
||||
struct lang_input_statement_flags *pushed;
|
||||
};
|
||||
|
||||
typedef struct lang_input_statement_struct
|
||||
|
||||
Reference in New Issue
Block a user