[Bug 31308] Remote Tools for Visual Studio 2012 RC for Windows on ARM (WoA) crashes because TPIDRURW (user TLS register) needs to be set to TEB address

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jul 25 18:33:00 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=31308

--- Comment #6 from Anastasius Focht <focht at gmx.net> 2012-07-25 18:33:00 CDT ---
Hello André,

I found several other inlined code snippets in the app that support the
hypothesis that TPIDRURW contains most likely the TEB address for Windows on
ARM:

--- snip ---
...
.text:004354DC    MRC             p15, 0, R3,c13,c0, 2
.text:004354E0    LDR             R3, [R3,#0x2C]
.text:0043577C    MOVS            R7, #0
.text:0043577E    CMP             R0, #1
.text:00435780    LDR.W           R2, [R3,R2,LSL#2] ; R2 = TLS index?
--- snip ---

TEB+0x2C is the pointer to the TLS slots array on Windows x86.

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list