Rev 151 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 151 | Rev 157 | ||
---|---|---|---|
Line 70... | Line 70... | ||
70 | FS segmentation register. The solution is to add the self-reference |
70 | FS segmentation register. The solution is to add the self-reference |
71 | address to the end of thread local data, so that the application can |
71 | address to the end of thread local data, so that the application can |
72 | read the address as %gs:0.</para> |
72 | read the address as %gs:0.</para> |
73 | 73 | ||
74 | <figure float="1"> |
74 | <figure float="1"> |
75 | <title>IA32 & AMD64</title> |
75 | <title>IA-32 & AMD64 TLD</title> |
76 | 76 | ||
77 | <mediaobject id="tldia32"> |
77 | <mediaobject id="tldia32"> |
78 | <imageobject role="pdf"> |
78 | <imageobject role="pdf"> |
79 | <imagedata fileref="images/tld_ia32.pdf" format="PDF" /> |
79 | <imagedata fileref="images/tld_ia32.pdf" format="PDF" /> |
80 | </imageobject> |
80 | </imageobject> |
Line 148... | Line 148... | ||
148 | checking that the application is requesting a TLS pointer, it returns |
148 | checking that the application is requesting a TLS pointer, it returns |
149 | the contents of the K1 register. The K1 register is expected to point |
149 | the contents of the K1 register. The K1 register is expected to point |
150 | 0x7000 bytes after the beginning of the thread local data.</para> |
150 | 0x7000 bytes after the beginning of the thread local data.</para> |
151 | 151 | ||
152 | <figure float="1"> |
152 | <figure float="1"> |
153 | <title>MIPS & PPC</title> |
153 | <title>MIPS & PowerPC TLD</title> |
154 | 154 | ||
155 | <mediaobject id="tldmips"> |
155 | <mediaobject id="tldmips"> |
156 | <imageobject role="pdf"> |
156 | <imageobject role="pdf"> |
157 | <imagedata fileref="images/tld_mips.pdf" format="PDF" /> |
157 | <imagedata fileref="images/tld_mips.pdf" format="PDF" /> |
158 | </imageobject> |
158 | </imageobject> |
Line 257... | Line 257... | ||
257 | statically linked binaries, GCC supports it without any major obstacles. |
257 | statically linked binaries, GCC supports it without any major obstacles. |
258 | The r13 register is used as a thread pointer, the thread local data |
258 | The r13 register is used as a thread pointer, the thread local data |
259 | section starts at address r13+16.</para> |
259 | section starts at address r13+16.</para> |
260 | 260 | ||
261 | <para><figure float="1"> |
261 | <para><figure float="1"> |
262 | <title>IA64</title> |
262 | <title>IA-64 TLD</title> |
263 | 263 | ||
264 | <mediaobject id="tldia64"> |
264 | <mediaobject id="tldia64"> |
265 | <imageobject role="pdf"> |
265 | <imageobject role="pdf"> |
266 | <imagedata fileref="images/tld_ia64.pdf" format="PDF" /> |
266 | <imagedata fileref="images/tld_ia64.pdf" format="PDF" /> |
267 | </imageobject> |
267 | </imageobject> |