aboutsummaryrefslogtreecommitdiff
path: root/libexec/rtld-elf/i386
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2006-03-28 06:09:24 +0000
committerDavid Xu <davidxu@FreeBSD.org>2006-03-28 06:09:24 +0000
commitc0d2338cdd226c89b5efde952c0e82d8cb9960d8 (patch)
treeac985a06120dcffc30366f910f16d1483f8eccad /libexec/rtld-elf/i386
parent20df0de426fb7f044eefab742a918a3b29c6a87c (diff)
Notes
Diffstat (limited to 'libexec/rtld-elf/i386')
-rw-r--r--libexec/rtld-elf/i386/reloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rtld-elf/i386/reloc.c b/libexec/rtld-elf/i386/reloc.c
index 809f16ec132f..ec83bff982dc 100644
--- a/libexec/rtld-elf/i386/reloc.c
+++ b/libexec/rtld-elf/i386/reloc.c
@@ -336,7 +336,7 @@ allocate_initial_tls(Obj_Entry *objs)
* use.
*/
tls_static_space = tls_last_offset + RTLD_STATIC_TLS_EXTRA;
- tls = allocate_tls(objs, NULL, 2*sizeof(Elf_Addr), sizeof(Elf_Addr));
+ tls = allocate_tls(objs, NULL, 3*sizeof(Elf_Addr), sizeof(Elf_Addr));
i386_set_gsbase(tls);
}