summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2010-11-29 22:21:52 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2010-11-29 22:21:52 +0100
commit0c468129356f5ce6780e7369c271d74631ae03ba (patch)
tree546be5ca010a3179c9484724f6dcebbe600cea1d
parent5dea871ac73ef4608022c058b50adc946917f9b9 (diff)
libc_tls: Do not include generic libc-tls from arch specific implementation
libpthread/nptl/sysdeps/generic/libc-tls.c is built as well, so it does not need that arch specific version of libc-tls.c (MIPS and ALPHA) includes it. The arch libc-tls.s is aimed to provide the implementation of __tls_get_addr for the static libc.a, because on these archs the linker relaxations are not required and it could be possible to have local-dynamic access models in static libraries as well. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
-rw-r--r--libpthread/nptl/sysdeps/alpha/libc-tls.c1
-rw-r--r--libpthread/nptl/sysdeps/mips/libc-tls.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/libpthread/nptl/sysdeps/alpha/libc-tls.c b/libpthread/nptl/sysdeps/alpha/libc-tls.c
index a3b68e928..01f6f3c04 100644
--- a/libpthread/nptl/sysdeps/alpha/libc-tls.c
+++ b/libpthread/nptl/sysdeps/alpha/libc-tls.c
@@ -17,7 +17,6 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#include <sysdeps/generic/libc-tls.c>
#include <dl-tls.h>
#if USE_TLS
diff --git a/libpthread/nptl/sysdeps/mips/libc-tls.c b/libpthread/nptl/sysdeps/mips/libc-tls.c
index fdedc9f5a..7bbba01d1 100644
--- a/libpthread/nptl/sysdeps/mips/libc-tls.c
+++ b/libpthread/nptl/sysdeps/mips/libc-tls.c
@@ -17,7 +17,6 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#include <../generic/libc-tls.c>
#include <dl-tls.h>
#if USE_TLS