This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Help with TLS test suite...
- From: "Steven J. Hill" <sjhill at realitydiluted dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Mon, 10 Oct 2005 21:32:09 -0500
- Subject: Help with TLS test suite...
Greetings.
I am trying to port TLS support to a new platform and I am using
the test programs in 'glibc/elf' to test things out. The first two
'tst-tls1' and 'tst-tls2' programs work fine. 'tst-tls3' is clearly
having problems and I was looking for some insight. Here is the
output:
set baz to 3 (LE)
set variables foo and bar (IE)
get sum of foo, bar (GD) and baz (LD) = 6
foo = 2
baz = 2
get sum of foo and bar (IE) = 0
foo = 0
bar = 0
get sum of foo and bar and baz (GD) = 0
foo = 0
bar = 0
baz = 0
So essentially, when 'foo' gets set to '1' and then 'bar' gets
set to '2', 'foo' ends up with the same value and so does 'baz'.
I suspect something is wrong with my TLS indexing? Any insight
for where to look would be very helpful. Thank you so much.
-Steve