[PATCH] RISC-V: Fix TLS and --gc-sections conflict.

Andreas Schwab schwab@suse.de
Tue Oct 2 09:51:00 GMT 2018


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.

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