/contrib/sdk/sources/newlib/libc/crt/crt1.c |
---|
27,7 → 27,7 |
int __subsystem__; |
}; |
extern void init_reent(); |
extern void init_global_reent(); |
extern void init_stdio(); |
extern void __init_conio(); |
extern void __fini_conio(); |
173,7 → 173,7 |
int argc; |
tls_init(); |
init_reent(); |
init_global_reent(); |
init_stdio(); |
if(header->__subsystem__ == 3) |
/contrib/sdk/sources/newlib/libc/crt/crtdll.c |
---|
37,7 → 37,7 |
extern void _pei386_runtime_relocator (void); |
extern void init_loader(void *libc_image); |
extern void init_reent(void); |
extern void init_global_reent(void); |
extern void init_stdio(void); |
extern void __init_conio(void); |
182,7 → 182,7 |
_pei386_runtime_relocator(); |
tls_init(); |
init_reent(); |
init_global_reent(); |
init_stdio(); |
if(header->__subsystem__ == 3) |
/contrib/sdk/sources/newlib/libc/reent/getreent.c |
---|
13,7 → 13,7 |
ent = user_alloc(sizeof(struct _reent)); |
_REENT_INIT_PTR(ent); |
_REENT_INIT_PTR_ZEROED(ent); |
__asm__ __volatile__( |
"movl %0, %%fs:16" |
/contrib/sdk/sources/newlib/libc/reent/init_reent.c |
---|
8,11 → 8,8 |
ent =_GLOBAL_REENT; |
_REENT_INIT_PTR(ent); |
__asm__ __volatile__( |
"movl %0, %%fs:16" |
::"r"(ent)); |
// __sinit(ent); |
} |