summaryrefslogtreecommitdiff
path: root/i386.ld
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-31 16:21:33 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-31 16:21:33 +0000
commit1090e7a2c62a5b829ba947fd0e004b29c446d22f (patch)
tree68e62cd299170e9fa5ed37866d5b129b1094faa7 /i386.ld
parent624f7979058b84cbf81c76d45f302ce757b213ca (diff)
downloadqemu-1090e7a2c62a5b829ba947fd0e004b29c446d22f.tar.gz
Add TLS sections.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4636 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'i386.ld')
-rw-r--r--i386.ld2
1 files changed, 2 insertions, 0 deletions
diff --git a/i386.ld b/i386.ld
index d41c62695e..9f4cb5b136 100644
--- a/i386.ld
+++ b/i386.ld
@@ -69,6 +69,8 @@ SECTIONS
/* Adjust the address for the data segment. We want to adjust up to
the same address within the page on the next page up. */
. = ALIGN(0x100000) + (. & (0x100000 - 1));
+ .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
+ .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
.data :
{
*(.data)