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 Thu, Oct 4, 2018 at 12:38 AM Andreas Schwab <schwab@suse.de> wrote:
> On Okt 02 2018, Jim Wilson <jimw@sifive.com> wrote:
> > 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.

I checked in a fix.  It turned out to be pretty simple, and looks
oddly familiar.  I think I might have accidentally checked in the
wrong version of the patch before.
https://sourceware.org/ml/binutils/2018-10/msg00100.html

I didn't check against elfutils, but for a simple hello world program
I get an empty .tdata section before the patch, and none after the
patch.

Jim


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