From: David McCullough Date: Mon, 4 Apr 2011 01:17:17 +0000 (+0000) Subject: The GNU linker uses -v as a shortcut to --version, not --verbose. So atm, X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=40f0d175e0847d922faa85cc18ec01f2129bb2b9;p=elf2flt.git The GNU linker uses -v as a shortcut to --version, not --verbose. So atm, if you run `ld -v` to get the linker version, ld-elf2flt throws out a lot of verbose debugging information. So drop the -v checking in ld-elf2flt to keep from breaking systems that parse the linker version. Signed-off-by: Mike Frysinger --- diff --git a/ld-elf2flt.c b/ld-elf2flt.c index 6b8853e..b8b02fd 100644 --- a/ld-elf2flt.c +++ b/ld-elf2flt.c @@ -453,7 +453,7 @@ static void parse_args(int argc, char **argv) } else if (streq(arg, "-r") || streq(arg, "-Ur")) { flag_final = 0; append_option(&other_options, arg); - } else if (streq(arg, "-v") || streq(arg, "--verbose")) { + } else if (streq(arg, "--verbose")) { flag_verbose = 1; append_option(&other_options, arg); } else if (streqn(arg, "-m")) {