master now at 2.070, merge-2.071 branch created

Joakim via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Mon May 2 00:25:50 PDT 2016


On Monday, 2 May 2016 at 07:08:13 UTC, Rainer Schuetze wrote:
>
>
> On 01.05.2016 23:54, Joakim wrote:
>> [...]
>
> Please note that the versioned code in getTLSRange aligns to 
> 2*size_t.sizeof which seems to relate to something else. 
> Actually I added the alignment there first, but it triggered 
> assertions elsewhere which would have to be adjusted, too. 
> Aligning the stored size was the smallest change.

Yeah, ran into those when I tried it: I simply copied and pasted 
the adjustment before the assertion too.

>> [...]
>
> It very much depends on the size and alignment of the last 
> element in the TLS section. The order of symbol placement 
> probably depends on order of object files in library, order of 
> command line arguments, symbol dependencies and more, so pretty 
> hard to predict.

OK, good to know, thanks for fixing it.


More information about the digitalmars-d-ldc mailing list