This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]