summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/i386
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2005-04-27 13:17:23 +0000
committerdavidxu <davidxu@FreeBSD.org>2005-04-27 13:17:23 +0000
commit581ef8042b455f75bd7425c237d8214841cbb288 (patch)
tree91d536cb8735bb488ae1dc4a320508d75379b1a5 /libexec/rtld-elf/i386
parent0e56b01ed6ecd47900b8028cae6e77660470d18c (diff)
downloadFreeBSD-src-581ef8042b455f75bd7425c237d8214841cbb288.zip
FreeBSD-src-581ef8042b455f75bd7425c237d8214841cbb288.tar.gz
Fix compilation problem.
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 9323a6f..3a73070 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));
OpenPOWER on IntegriCloud