summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/sh/Makefile.arch
diff options
context:
space:
mode:
authorFilippo Arcidiacono <filippo.arcidiacono@st.com>2010-11-29 23:31:49 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2010-12-01 17:26:18 +0100
commitc5db8f051be9846485911e973f26943c114c66fb (patch)
tree742bfe268f4f6f14bb41eb11929682c1831fc4e8 /libpthread/nptl/sysdeps/sh/Makefile.arch
parentbfeeeb57588f6a58d6a154fbc59b30fb48e27956 (diff)
libc_sh: add __tls_get_addr to static libc (SH)
Add __tls_get_addr function to static libc allowing to handle local dynamic TLS access model. On SH, linker optimizations are not required, so __tls_get_addr can be called even in statically linked binaries. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/sh/Makefile.arch')
-rw-r--r--libpthread/nptl/sysdeps/sh/Makefile.arch2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/sh/Makefile.arch b/libpthread/nptl/sysdeps/sh/Makefile.arch
index 3cb58ec36..411622adc 100644
--- a/libpthread/nptl/sysdeps/sh/Makefile.arch
+++ b/libpthread/nptl/sysdeps/sh/Makefile.arch
@@ -10,4 +10,4 @@ ASFLAGS-pthread_spin_trylock.S = -DNOT_IN_libc -DIS_IN_libpthread
CFLAGS-pthread_spin_lock.c += -D_GNU_SOURCE
-
+libc_arch_a_CSRC := libc-tls.c