On Tuesday 21 June 2016 03:28 PM, Vlad Zakharov wrote:
Hello,
I am debugging uClibc tests for ARC.
Many "tls" tests failed.
Test "tst-tls1" uses macros from file "tls-macros.h" (e.g. TLS_LE,
TLS_IE, etc.),
but I couldn't find usage of such macros anywhere except tests.
I have some questions:
- Are the tests relevant?
- What does this test check?
Indeed the tests are relevant for testing. They are used to force the compiler/gas
to generate specific type of TLS access in generated code (override the default
model) and to cross check if different types of accesses end up generating
references to the right/same location.
Can u check if we see the same failures with GNU 2015.12 ?
When I did the original TLS/NPTL port for ARC a lot of time was spent by gcc folks
at the time to get these working !
-Vineet