summaryrefslogtreecommitdiff
path: root/test/tls
AgeCommit message (Collapse)Author
2024-03-15riscv64: fix compiler warningWaldemar Brodkorb
2022-09-27arc: fix TLS_GD macro, bad clobber listPavel Kozlov
Move function call outside the inline asm code to simplify a clobber list. The patch fixes tests tst-tls7 and tst-tls8 on ARCv3, they didn't pass because cc was not in clobber list and bad code was generated. The compiler didn't take in account changes of CPU Condition flags. Signed-off-by: Pavel Kozlov <pavel.kozlov@synopsys.com>
2022-09-27arc: use existing tls macros for ARCv3 32-bit CPUsSergey Matyukevich
Signed-off-by: Sergey Matyukevich <sergey.matyukevich@synopsys.com> Signed-off-by: Pavel Kozlov <pavel.kozlov@synopsys.com>
2022-03-10xtensa: fix variable reference in TLS_LDWaldemar Brodkorb
Use @DTPOFF instead of @TPOFF in TLS_LD as specified by the xtensa ABI. DTPOFF produces variable offset relative to the variable's module TLS block, it's the linker's job to replace it with TPOFF and adjust surrounding code when the object file is linked into an executable. This fixes tests tls/tst-tls[123] on xtensa that fail if built as PIE. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2020-12-01riscv64: TLS macros remove unsused headersWaldemar Brodkorb
2020-11-28add nios2 tls macros from glibcFabrice Fontaine
Retrieved from https://github.com/bminor/glibc/blob/master/sysdeps/nios2/tls-macros.h Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2020-10-15add c-sky tls macros from glibcWaldemar Brodkorb
2020-04-27fix riscv macrosWaldemar Brodkorb
2020-04-27add riscv macros from glibcWaldemar Brodkorb
2020-04-06tls: add aarch64 macrosWaldemar Brodkorb
2020-04-05tls: make tls tests great againYann Sionneau
* TLS tests were "empty" because nothing was setting the following variables: * USE_TLS * HAVE___THREAD * HAVE_TLS_MODEL_ATTRIBUTE All toolchains supported by uClibc-ng today do support both NPTL threads and TLS. All ports also define HAVE_TLS_MODEL_ATTRIBUTE except alpha. * 3 tests (tst-tls6 / tst-tls7 / tst-tls8) were peeking into internal/private data structures from libc, which is not possible anymore since libc and tests are now split into 2 git repositories. This commit fixes those 2 issues so that TLS tests can be run again. Signed-off-by: Yann Sionneau <yann@sionneau.net>
2020-04-05powerpc: update tls macros inline asm clobbersYann Sionneau
This was causing a compile error for powerpc64 toolchain because r3 was both listed as clobbered and as output in inline asm. Signed-off-by: Yann Sionneau <yann@sionneau.net>
2020-04-05powerpc64: add missing tls macrosYann Sionneau
Signed-off-by: Yann Sionneau <yann@sionneau.net>
2020-04-05or1k: add missing tls macrosYann Sionneau
Signed-off-by: Yann Sionneau <yann@sionneau.net>
2017-12-27add tls-macros for m68kWaldemar Brodkorb
2016-11-07some tests need to be compiled with -std=c99Waldemar Brodkorb
2016-11-03tls: add microblaze macrosWaldemar Brodkorb
2016-10-28rework most tests to work as standalone packageWaldemar Brodkorb
2016-10-24add uClibc-ng test directoryWaldemar Brodkorb