summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread')
-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. */