aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlex.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/ldlex.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/ldlex.h')
-rw-r--r--ld/ldlex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/ldlex.h b/ld/ldlex.h
index b2753c3..63f4c81 100644
--- a/ld/ldlex.h
+++ b/ld/ldlex.h
@@ -137,6 +137,8 @@ enum option_values
OPTION_DEFAULT_SCRIPT,
OPTION_PRINT_OUTPUT_FORMAT,
OPTION_IGNORE_UNRESOLVED_SYMBOL,
+ OPTION_PUSH_STATE,
+ OPTION_POP_STATE,
};
/* The initial parser states. */