aboutsummaryrefslogtreecommitdiff
path: root/gold/options.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-01-07 05:19:02 +0000
committerIan Lance Taylor <iant@google.com>2008-01-07 05:19:02 +0000
commit2dd3e587bdab39d73086c35be60399e096d48b46 (patch)
treee2b7630d5eceec2576855673cf33948b62a18caf /gold/options.cc
parentd4e917ea7f50bef2b4f15c1c83aac2a7f58e42e7 (diff)
downloadgdb-2dd3e587bdab39d73086c35be60399e096d48b46.zip
gdb-2dd3e587bdab39d73086c35be60399e096d48b46.tar.gz
gdb-2dd3e587bdab39d73086c35be60399e096d48b46.tar.bz2
Report linker script errors with line numbers. Ignore OUTPUT_FORMAT
with three arguments, and ignore OUTPUT_ARCH.
Diffstat (limited to 'gold/options.cc')
-rw-r--r--gold/options.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gold/options.cc b/gold/options.cc
index a26139b..2ba5414 100644
--- a/gold/options.cc
+++ b/gold/options.cc
@@ -154,8 +154,7 @@ invoke_script(int argc, char** argv, char* arg, bool long_option,
arg, long_option,
&ret);
if (!read_commandline_script(script_name, cmdline))
- gold::gold_error(_("%s: unable to parse script file %s\n"),
- gold::program_name, arg);
+ gold::gold_error(_("unable to parse script file %s\n"), script_name);
return ret;
}