Jivin Mike Frysinger lays it down ...
> 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.

Applied,

Thanks,
Davidm

> Signed-off-by: Mike Frysinger <vap...@gentoo.org>
> ---
>  ld-elf2flt.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> 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")) {
> -- 
> 1.7.4.1
> 
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
> 
> 

-- 
David McCullough,      david_mccullo...@mcafee.com,  Ph:+61 734352815
McAfee - SnapGear      http://www.mcafee.com         http://www.uCdot.org
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to