Implementing native TLS on OS X in DMD
Jacob Carlborg via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Sun Jan 10 03:49:07 PST 2016
On 2016-01-09 20:48, Dan Olson wrote:
>> .tbss __D4main1ai$tlv$init, 4, 3
>> BTW, do you know that the above 3 is?
> 3 is alignment like .p2align (power of 2 alignment).
> 2^3 in this case (8-byte)
I thought the four was the alignment. If the three is the alignment,
then what is the four? The size of the variable?
> Same 8-byte alignment (OSX .align is synonym for .p2align).
> The tbss and tdata declarations match.
Ah, ok. If the second number (3) above is the alignment then it makes sense.
More information about the digitalmars-d-ldc