mbox series

[uclibc-ng-devel,0/4] uclibc-ng-test: make TLS tests run again!

Message ID 20200405113540.25084-1-yann@sionneau.net
Headers show
Series uclibc-ng-test: make TLS tests run again! | expand


Yann Sionneau April 5, 2020, 11:35 a.m. UTC
This patch serie allow TLS tests to really run some TLS testing
instead of just doing "return 0;".

Some defines were missing since the split between libc and tests

It also adds some missing tls macros for or1k and ppc64.

Some dead code is removed from 3 tests, it was accessing
private/internal data structures from libc which is no longer
possible since repository split.

TLS tests have been run only on OpenRISC using qemu.
This has been compiled for x86_64, or1k, powerpc, ppc64, mips32r6,
sparc, armv7a.

Yann Sionneau (4):
  or1k: add missing tls macros
  powerpc64: add missing tls macros
  powerpc: update tls macros inline asm clobbers
  tls: make tls tests great again

 test/tls/Makefile.in            |  6 +++
 test/tls/tls-macros-or1k.h      | 75 ++++++++++++++++++++++++++
 test/tls/tls-macros-powerpc.h   |  2 +-
 test/tls/tls-macros-powerpc64.h | 43 +++++++++++++++
 test/tls/tls-macros.h           | 10 +++-
 test/tls/tst-tls6.c             | 25 ---------
 test/tls/tst-tls7.c             | 25 ---------
 test/tls/tst-tls8.c             | 95 ---------------------------------
 8 files changed, 134 insertions(+), 147 deletions(-)
 create mode 100644 test/tls/tls-macros-or1k.h
 create mode 100644 test/tls/tls-macros-powerpc64.h