aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2014-08-08 20:26:41 -0400
committerUlrich Drepper <drepper@gmail.com>2014-08-08 20:26:41 -0400
commit26278bb8717a16139b3a4da9ba1cd2aed435f1ee (patch)
tree8eede31c3d86f0e483c69163df79ea57009c185c /ld/ldlang.h
parent236bbb83885fbdf108e714fb0bcf9355d84dbd20 (diff)
downloadgdb-26278bb8717a16139b3a4da9ba1cd2aed435f1ee.zip
gdb-26278bb8717a16139b3a4da9ba1cd2aed435f1ee.tar.gz
gdb-26278bb8717a16139b3a4da9ba1cd2aed435f1ee.tar.bz2
* 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.
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r--ld/ldlang.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h
index 0f7fdd4..45420cd 100644
--- a/ld/ldlang.h
+++ b/ld/ldlang.h
@@ -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