This patch adds support for the TLS local-exec access model on AIX to allow
for the ability to generate the 64-bit (specifically, non-optimized) code sequence.
For this patch in particular, the sequence that is generated involves a load of the
variable offset, followed by an add of the loaded variable offset to r13 (which is
thread pointer, respectively). This code sequence looks like the following:
ld reg1,var[TC](2) add reg2, reg1, r13 // r13 contains the thread pointer
The TOC (.tc pseudo-op) entries generated in the assembly files are also
changed where we add the @le relocation for the variable offset.
I realize this was done similar to VK_PPC_AIX_TLS*. but the symbol outputed seems to be too general and feels like we should fix this. Shouldn't this be something more along the lines of symbol@aix@tlsle?