diff options
author | Stafford Horne <shorne@gmail.com> | 2017-11-16 00:19:25 +0900 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2017-11-18 09:30:10 +0100 |
commit | bcbbc6d4f00914279ae42006d13a54bb9b91f144 (patch) | |
tree | 93604060b2bca262c8a0fe9cedb3e4e0f103390f | |
parent | 79958c9e197edb190a79dbec3c224c7a0b54386e (diff) |
use the right file for tls in build
Signed-off-by: Stafford Horne <shorne@gmail.com>
-rw-r--r-- | libpthread/nptl/sysdeps/or1k/Makefile.arch | 2 | ||||
-rw-r--r-- | libpthread/nptl/sysdeps/or1k/libc-tls.c | 2 |
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. */ |