search for: image_rel_i386_secrel

Displaying 2 results from an estimated 2 matches for "image_rel_i386_secrel".

2011 Dec 06
0
[LLVMdev] Implement implicit TLS on Windows - need advice
...movl %fs:0, %ecx 8: IMAGE_REL_I386_DIR32 __tls_array c: 8b 0c 81 movl (%ecx,%eax,4), %ecx f: 8b 81 00 00 00 00 movl (%ecx), %eax 11: IMAGE_REL_I386_SECREL _i 15: 8d 50 01 leal 1(%eax), %edx 18: 89 91 00 00 00 00 movl %edx, (%ecx) 1a: IMAGE_REL_I386_SECREL _i 1e: c3 ret C...
2011 Dec 04
3
[LLVMdev] Implement implicit TLS on Windows - need advice
Hi! LLVM currently does not implement the implicit TLS model on Windows. This model is easy: - a thread local variable ends up in the .tls section - to access a thread local variable, you have to do (1) load pointer to thread local storage from TEB On x86_64, this is gs:0x58, on x86 it is fs:0x2C. (2) load pointer to thread local state. In general, the index is stored in variable