[gold][patch] Fix non-PIC warning to print only when building position-independent output

Ian Lance Taylor iant@google.com
Fri Mar 27 14:47:00 GMT 2009


Cary Coutant <ccoutant@google.com> writes:

> +                gold_assert(parameters->
> +                  options().output_is_position_independent());
>  		check_non_pic(object, r_type);

I can see the path you took to get to this patch, but now that you are
here, why not just put the assert in check_non_pic in all cases?

Ian



More information about the Binutils mailing list