[PATCH] IA-64 glibc TLS support

David Mosberger davidm@napali.hpl.hp.com
Mon Jan 13 04:59:00 GMT 2003


Hi Jakub,

  Jakub> Hi!  The following patch adds TLS support to IA-64.  Passed
  Jakub> make check with --with-tls --without-__thread (--with-tls
  Jakub> --with-__thread needs to wait until I fix one bug in ld).

I applied this patch and built libc with it and it worked fine
(cool!).  I then tried to add the new (flexible) syscall stub, which
requires a valid thread-pointer even for non-threaded applications.
Unfortunately, at the moment it looks like the thread-pointer does not
get setup for such apps (it stays NULL).  What's the right place to
get this initialized?

Thanks,

	--david



More information about the Libc-hacker mailing list