[PATCH v4] gold: Add Mips64 support.

Cary Coutant ccoutant@gmail.com
Thu Mar 17 21:36:00 GMT 2016


>> +  if (section_type == elfcpp::SHT_NOBITS)
>> +    return false;
>> +
>> +  if (section_flags & elfcpp::SHF_WRITE)
>> +    return false;
>>
>> Just out of curiosity... Why would a NOBITS section ever not have
>> SHF_WRITE set? Is there any reason to test for NOBITS?
>
> I've added a check for NOBITS section only to follow LLD and GNU LD linkers. Do you want me to remove that?

No, it's OK. I was just curious.

-cary



More information about the Binutils mailing list