[gold commit] PR gold/18696: Fix internal error when linking an archive library with no preceding objects
Rafael Espíndola
rafael.espindola@gmail.com
Tue Jul 21 20:52:00 GMT 2015
Thanks!
On 21 July 2015 at 15:56, Cary Coutant <ccoutant@gmail.com> wrote:
> Sorry, that should have been PR gold/18698.
>
> -cary
>
> On Tue, Jul 21, 2015 at 12:48 PM, Cary Coutant <ccoutant@gmail.com> wrote:
>> I've committed the following patch to fix an internal error in gold,
>> when an archive library is the first item seen on the link line. Gold
>> doesn't determine the target until it sees the first object file, but
>> when searching an archive library, we want to know what the default
>> entry point is, which is target dependent.
>>
>> -cary
>>
>>
>> 2015-07-21 Cary Coutant <ccoutant@gmail.com>
>>
>> PR gold/18696
>> * archive.cc (Library_base::should_include_member): Don't use entry
>> point for relocatable links, or if target is not yet valid.
>> * parameters.cc (Parameters::entry): Check target_valid().
More information about the Binutils
mailing list