HI

I am working on RTEMS on an i386 paravirtualized environment which requires
PIC.
This means the TLS method is not %gs but instead a function call which
appears to
be this per https://www.akkadia.org/drepper/tls.pdf

typedef struct {
  unsigned long ti_module;
  unsigned long ti_offset;
} tls_index;


void *__tls_get_addr(const tls_Index *ti)
{
  // XXX FIX ME
  return NULL;
}

Suggestions on how to fill this method in appreciated.

It looks like the ARM has the same method. Will the same code work?

Thanks.

--joel
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to