This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] RISC-V: Fix TLS and --gc-sections conflict.
- From: Andreas Schwab <schwab at suse dot de>
- To: Jim Wilson <jimw at sifive dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 02 Oct 2018 11:51:07 +0200
- Subject: Re: [PATCH] RISC-V: Fix TLS and --gc-sections conflict.
- References: <20180802231457.12493-1-jimw@sifive.com>
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."