This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
still stuck on RTL...
- From: Jonathan Wilson <jonwil at tpgi dot com dot au>
- To: gcc <gcc at gcc dot gnu dot org>
- Date: Thu, 23 Oct 2003 09:53:05 +0800
- Subject: still stuck on RTL...
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)?
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, I ahve done that
1000s of times already and I STILL dont understand RTL.
It would probobly be quicker for some RTL guru to write the small fragment
I need for TLS than to keep telling me to read the source code for the
1001st time :)