Fix compilation problem.

This commit is contained in:
David Xu 2005-04-27 13:17:23 +00:00
parent 0dd02d67eb
commit 9b0c632a4c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145593

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