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] RISC-V: Fix TLS and --gc-sections conflict.


On Okt 02 2018, Jim Wilson <jimw@sifive.com> wrote:

> On Tue, Oct 2, 2018 at 2:51 AM Andreas Schwab <schwab@suse.de> wrote:
>> On Aug 02 2018, Jim Wilson <jimw@sifive.com> wrote:
>> > It gets merged into .tdata, which still gets optimized away if empty at the
>> > end.
>>
>> Does it?  I don't see that happening.  The linker now always generates a
>> .tdata section, moreover with the wrong type NOBITS if empty.
>
> Apparently not, as I can see it in a testcase now.  Not sure where I
> made the mistake.  But does this cause any actual problems?  I didn't
> see any problems with my gcc testsuite run.

elflint is complaining, and that breaks the elfutils testsuite.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


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