aboutsummaryrefslogtreecommitdiff
path: root/gold/options.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-01-23 01:31:13 +0000
committerIan Lance Taylor <iant@google.com>2008-01-23 01:31:13 +0000
commit494e05f4405228561f0af4d424136128ff8830d2 (patch)
treeef8756394ecd755f133be5dc2dfc9b086f6c0cb4 /gold/options.cc
parent64f926997fdf212014e331a695a25b8144182320 (diff)
downloadgdb-494e05f4405228561f0af4d424136128ff8830d2.zip
gdb-494e05f4405228561f0af4d424136128ff8830d2.tar.gz
gdb-494e05f4405228561f0af4d424136128ff8830d2.tar.bz2
Parse a SECTIONS clause in a linker script.
Diffstat (limited to 'gold/options.cc')
-rw-r--r--gold/options.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/options.cc b/gold/options.cc
index 9198136..b1b428f 100644
--- a/gold/options.cc
+++ b/gold/options.cc
@@ -520,7 +520,7 @@ options::Command_line_options::options[] =
TWO_DASHES, &help),
SPECIAL('v', "version", N_("Report version information"), NULL,
TWO_DASHES, &version),
- GENERAL_ARG('\0', "debug", N_("Turn on debugging (all,task)"),
+ GENERAL_ARG('\0', "debug", N_("Turn on debugging (all,task,script)"),
N_("--debug=TYPE"), TWO_DASHES,
&General_options::handle_debug_option)
};
@@ -547,6 +547,7 @@ options::Command_line_options::debug_options[] =
{
{ "all", DEBUG_ALL },
{ "task", DEBUG_TASK },
+ { "script", DEBUG_SCRIPT }
};
const int options::Command_line_options::debug_options_size =