summaryrefslogtreecommitdiff
path: root/libpthread/nptl
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2017-11-16 00:19:25 +0900
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2017-11-18 09:30:10 +0100
commitbcbbc6d4f00914279ae42006d13a54bb9b91f144 (patch)
tree93604060b2bca262c8a0fe9cedb3e4e0f103390f /libpthread/nptl
parent79958c9e197edb190a79dbec3c224c7a0b54386e (diff)
use the right file for tls in build
Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'libpthread/nptl')
-rw-r--r--libpthread/nptl/sysdeps/or1k/Makefile.arch2
-rw-r--r--libpthread/nptl/sysdeps/or1k/libc-tls.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/nptl/sysdeps/or1k/Makefile.arch b/libpthread/nptl/sysdeps/or1k/Makefile.arch
index 5be08a44c..01fdac0b5 100644
--- a/libpthread/nptl/sysdeps/or1k/Makefile.arch
+++ b/libpthread/nptl/sysdeps/or1k/Makefile.arch
@@ -1,4 +1,4 @@
# Makefile for uClibc-ng NPTL
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
-libc_arch_a_SSRC = libc-tls.S
+libc_arch_a_CSRC = libc-tls.c
diff --git a/libpthread/nptl/sysdeps/or1k/libc-tls.c b/libpthread/nptl/sysdeps/or1k/libc-tls.c
index 7f440fb06..f02ed2f3b 100644
--- a/libpthread/nptl/sysdeps/or1k/libc-tls.c
+++ b/libpthread/nptl/sysdeps/or1k/libc-tls.c
@@ -19,7 +19,7 @@
#include <sysdeps/generic/libc-tls.c>
#include <dl-tls.h>
-/* On Microblaze, linker optimizations are not required, so __tls_get_addr
+/* On OpenRISC, linker optimizations are not required, so __tls_get_addr
can be called even in statically linked binaries. In this case module
must be always 1 and PT_TLS segment exist in the binary, otherwise it
would not link. */