Fix compilation problem.

This commit is contained in:
davidxu 2005-04-27 13:17:23 +00:00
parent 0e56b01ed6
commit 581ef8042b

View File

@ -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));