summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/sh/tls.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-11-13 04:05:31 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-11-13 04:05:31 +0000
commit5efcf07228a4532074784c85689dddcbb6b56c77 (patch)
tree5991b8c3ee489b7c34221390007e3bd67a689d41 /libpthread/nptl/sysdeps/sh/tls.h
parent18b48698abe6cf957ec6ee5fa921b1a12f9bf914 (diff)
downloaduClibc-alpine-5efcf07228a4532074784c85689dddcbb6b56c77.tar.bz2
uClibc-alpine-5efcf07228a4532074784c85689dddcbb6b56c77.tar.xz
Begin merging of SuperH NPTL port. See the mailing list for further information.
Diffstat (limited to 'libpthread/nptl/sysdeps/sh/tls.h')
-rw-r--r--libpthread/nptl/sysdeps/sh/tls.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/libpthread/nptl/sysdeps/sh/tls.h b/libpthread/nptl/sysdeps/sh/tls.h
index cf9827a2a..258e6ffb5 100644
--- a/libpthread/nptl/sysdeps/sh/tls.h
+++ b/libpthread/nptl/sysdeps/sh/tls.h
@@ -50,10 +50,9 @@ typedef struct
/* We require TLS support in the tools. */
-#ifndef HAVE_TLS_SUPPORT
-# error "TLS support is required."
-#endif
-
+#define HAVE_TLS_SUPPORT
+#define HAVE___THREAD 1
+#define HAVE_TLS_MODEL_ATTRIBUTE 1
/* Signal that TLS support is available. */
# define USE_TLS 1
@@ -81,7 +80,7 @@ typedef struct
# define TLS_DTV_AT_TP 1
/* Get the thread descriptor definition. */
-# include <nptl/descr.h>
+# include <descr.h>
/* Install the dtv pointer. The pointer passed is to the element with
index -1 which contain the length. */