Browse Source

use the right file for tls in build

Signed-off-by: Stafford Horne <shorne@gmail.com>
Stafford Horne 6 years ago
parent
commit
bcbbc6d4f0

+ 1 - 1
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

+ 1 - 1
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.  */