From bcbbc6d4f00914279ae42006d13a54bb9b91f144 Mon Sep 17 00:00:00 2001 From: Stafford Horne Date: Thu, 16 Nov 2017 00:19:25 +0900 Subject: use the right file for tls in build Signed-off-by: Stafford Horne --- libpthread/nptl/sysdeps/or1k/Makefile.arch | 2 +- 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 #include -/* 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. */ -- cgit v1.2.3