Commit 1090e7a2c62a5b829ba947fd0e004b29c446d22f
1 parent
624f7979
Add TLS sections.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4636 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
0 deletions
i386.ld
... | ... | @@ -69,6 +69,8 @@ SECTIONS |
69 | 69 | /* Adjust the address for the data segment. We want to adjust up to |
70 | 70 | the same address within the page on the next page up. */ |
71 | 71 | . = ALIGN(0x100000) + (. & (0x100000 - 1)); |
72 | + .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) } | |
73 | + .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) } | |
72 | 74 | .data : |
73 | 75 | { |
74 | 76 | *(.data) | ... | ... |