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: [PATCH v4] gold: Add Mips64 support.


>> +  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


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