[PATCH] RISC-V: Fix TLS and --gc-sections conflict.
Andreas Schwab
schwab@suse.de
Thu Oct 4 07:38:00 GMT 2018
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."
More information about the Binutils
mailing list