about summary refs log tree commit diff
path: root/src/thread/sem_open.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2018-08-23 10:57:34 +0000
committerRich Felker <dalias@aerifal.cx>2018-08-23 16:41:44 -0400
commitc06c1eb6610b478a06df8116aefc975f376760f8 (patch)
treee552346d0b966783b12e561fb014fc1bd145c9c5 /src/thread/sem_open.c
parentf4542fdf7a10632099f0c4e49b4c5923ca29356b (diff)
downloadmusl-c06c1eb6610b478a06df8116aefc975f376760f8.tar.gz
musl-c06c1eb6610b478a06df8116aefc975f376760f8.tar.xz
musl-c06c1eb6610b478a06df8116aefc975f376760f8.zip
fix tls access on arm targets before armv6k
commit 610c5a8524c3d6cd3ac5a5f1231422e7648a3791 changed the thread
pointer setup so tp points at the end of the pthread struct on arm,
but failed to update __aeabi_read_tp so it was off by 8.

this broke tls access in code that is compiled with -mtp=soft, which
is the default when target arch is pre armv6k or thumb1.

maintainer's note: no release versions are affected.
Diffstat (limited to 'src/thread/sem_open.c')
0 files changed, 0 insertions, 0 deletions