summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2005-04-27 13:17:23 +0000
committerDavid Xu <davidxu@FreeBSD.org>2005-04-27 13:17:23 +0000
commit9b0c632a4c93a5c1949982b23bef202b0b3cf04e (patch)
tree91d536cb8735bb488ae1dc4a320508d75379b1a5 /libexec
parent0dd02d67ebd91a70844e4755d88763615b162164 (diff)
downloadsrc-test2-9b0c632a4c93a5c1949982b23bef202b0b3cf04e.tar.gz
src-test2-9b0c632a4c93a5c1949982b23bef202b0b3cf04e.zip
Notes
Diffstat (limited to 'libexec')
-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 9323a6f60283..3a73070e27f5 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 = alloca_tls(objs, NULL, 2*sizeof(Elf_Addr), sizeof(Elf_Addr));
+ tls = allocate_tls(objs, NULL, 2*sizeof(Elf_Addr), sizeof(Elf_Addr));
error = i386_set_gsbase(tls);
if (error < 0) {
memset(&ldt, 0, sizeof(ldt));