This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]