]> git.wh0rd.org Git - elf2flt.git/commitdiff
The GNU linker uses -v as a shortcut to --version, not --verbose. So atm,
authorDavid McCullough <davidm@snapgear.com>
Mon, 4 Apr 2011 01:17:17 +0000 (01:17 +0000)
committerDavid McCullough <davidm@snapgear.com>
Mon, 4 Apr 2011 01:17:17 +0000 (01:17 +0000)
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 <vapier@gentoo.org>
ld-elf2flt.c

index 6b8853e83581dfacaa555a3cee95f9a5d302a19e..b8b02fd85308c454a0df5da45dc3997e505d4d8f 100644 (file)
@@ -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")) {