This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Still cant get anything to show up in the Thread Local Storage Directory
- From: Jonathan Wilson <jonwil at tpgi dot com dot au>
- To: binutils at sources dot redhat dot com
- Date: Wed, 15 Oct 2003 06:53:23 +0800
- Subject: Still cant get anything to show up in the Thread Local Storage Directory
Basicly, I need some code that:
1.finds __tls_entry
2.takes its VirtualAddress
3.stores that in DataDirectory[9].VirtualAddress
4.stores 18 (the size of the structure that the TLS directory must point
to) in DataDirectory[9].Size
and 5.somehow writes the resulting code out to the exe file.
Someone must know the right way to do this...
It is the last thing holding up my "add Thread Local Storage support to GNU
binutils" work.