This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]