still stuck on RTL...
Andrew Haley
aph@redhat.com
Thu Oct 23 13:21:00 GMT 2003
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.
More information about the Gcc
mailing list