m68k: add NPTL/TLS support
commit23bb649090ff588e8642f0c581cfe7ce2d29c757
authorWaldemar Brodkorb <wbx@uclibc-ng.org>
Sat, 16 Dec 2017 20:01:39 +0000 (16 21:01 +0100)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>
Sun, 31 Dec 2017 10:12:07 +0000 (31 11:12 +0100)
tree4a68d696415fce9f2dd50edf27a79bacbde3fc50
parent604781391549faafc59516700d9439ab1a7ec19b
m68k: add NPTL/TLS support

Port over NPTL/TLS support from GNU C Library.
In the first step only the slower syscall is used for TLS
access. The uClibc-ng testsuite shows 79 errors, so their
is room for bugfixes and improvements.
31 files changed:
extra/Configs/Config.in
include/elf.h
ldso/ldso/m68k/dl-sysdep.h
ldso/ldso/m68k/elfinterp.c
ldso/ldso/m68k/m68k_read_tp.S [new file with mode: 0644]
libc/sysdeps/linux/common/libgcc_s.h
libc/sysdeps/linux/m68k/Makefile.arch
libc/sysdeps/linux/m68k/clone.S
libc/sysdeps/linux/m68k/jmpbuf-unwind.h
libc/sysdeps/linux/m68k/m68k_read_tp.S [new file with mode: 0644]
libc/sysdeps/linux/m68k/sys/reg.h [new file with mode: 0644]
libc/sysdeps/linux/m68k/sysdep.h [new file with mode: 0644]
libc/sysdeps/linux/m68k/vfork.S
libpthread/nptl/sysdeps/m68k/Makefile [new file with mode: 0644]
libpthread/nptl/sysdeps/m68k/Makefile.arch [new file with mode: 0644]
libpthread/nptl/sysdeps/m68k/dl-tls.h [new file with mode: 0644]
libpthread/nptl/sysdeps/m68k/libc-tls.c [new file with mode: 0644]
libpthread/nptl/sysdeps/m68k/pthread_spin_lock.c [new file with mode: 0644]
libpthread/nptl/sysdeps/m68k/pthread_spin_trylock.c [new file with mode: 0644]
libpthread/nptl/sysdeps/m68k/pthreaddef.h [new file with mode: 0644]
libpthread/nptl/sysdeps/m68k/tcb-offsets.sym [new file with mode: 0644]
libpthread/nptl/sysdeps/m68k/tls.h [new file with mode: 0644]
libpthread/nptl/sysdeps/unix/sysv/linux/m68k/Makefile [new file with mode: 0644]
libpthread/nptl/sysdeps/unix/sysv/linux/m68k/Makefile.arch [new file with mode: 0644]
libpthread/nptl/sysdeps/unix/sysv/linux/m68k/bits/pthreadtypes.h [new file with mode: 0644]
libpthread/nptl/sysdeps/unix/sysv/linux/m68k/bits/semaphore.h [new file with mode: 0644]
libpthread/nptl/sysdeps/unix/sysv/linux/m68k/createthread.c [new file with mode: 0644]
libpthread/nptl/sysdeps/unix/sysv/linux/m68k/fork.c [new file with mode: 0644]
libpthread/nptl/sysdeps/unix/sysv/linux/m68k/lowlevellock.h [new file with mode: 0644]
libpthread/nptl/sysdeps/unix/sysv/linux/m68k/pthread_once.c [new file with mode: 0644]
libpthread/nptl/sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h [new file with mode: 0644]