From 40f0d175e0847d922faa85cc18ec01f2129bb2b9 Mon Sep 17 00:00:00 2001 From: David McCullough Date: Mon, 4 Apr 2011 01:17:17 +0000 Subject: [PATCH] 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 --- ld-elf2flt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")) { -- 2.39.5