about summary refs log tree commit diff stats
path: root/src/wrapped32/wrappedldlinux_private.h
blob: cfff7731db0e81dd0285263b4cb895bc22968a20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA))
#error meh!
#endif

// _dl_allocate_tls
// _dl_allocate_tls_init
// _dl_argv //type B
// _dl_cache_libcmp
// _dl_deallocate_tls
// _dl_debug_state
// _dl_get_tls_static_info
// _dl_make_stack_executable
// _dl_mcount
// _dl_rtld_di_serinfo
// _dl_tls_setup
DATA(__libc_enable_secure, 4)
DATA(__libc_stack_end, 4)
DATA(__pointer_chk_guard, 4)
DATAM(_r_debug, 20) //type B
DATA(_rtld_global, 4)
DATA(_rtld_global_ro, 4)
DATA(__stack_chk_guard, 4)
// defini dans glibc/sysdeps/i386/dl-tls.h
GOM(___tls_get_addr, pFEv)       //the parameter tls_index is in a register (EAX?)
GOM(__tls_get_addr, pFEp)        //same, but the parameter is in the stack