This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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 stuck on RTL...


Jonathan Wilson writes:
 > I am still 100% stuck.
 > I have read and re-read all the documentation, code and etc.
 > Tried all the dumps and debugging stuff, that didnt help either.
 > 
 > and I still cant figure out how do even something as simple as
 > move somreg, dword ptr ds:__tls_index
 > 
 > Given that __tls_index isnt referenced anywhere else by the code itself, do 
 > I need to tell GCC about the symbol before I reference it? (so it goes into 
 > the externs table)?

You'll have to make a decl for it, and reference that decl in the RTL.

 > Examples of simple RTL plus the matching machine code will help here.
 > None of the examples I can find (in i386.c for example) are simple. And 
 > none of them have any indication as to what the matching machine code does.
 > 
 > Stop telling me to go read the documentation and code,

That's what everyone else here did.  Why are you any different?

Andrew.


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