about summary refs log tree commit diff
path: root/nptl/sysdeps/sh
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-09-11 15:02:01 -0400
committerUlrich Drepper <drepper@gmail.com>2011-09-11 15:02:01 -0400
commit83cd14204559abbb52635006832eaf4d2f42514a (patch)
tree81dbbd663d1011d9fc01b591fd2bea237905ab6b /nptl/sysdeps/sh
parent633f745dcad9c7324f56f8ef85ee9b460b1006e7 (diff)
downloadglibc-83cd14204559abbb52635006832eaf4d2f42514a.tar.gz
glibc-83cd14204559abbb52635006832eaf4d2f42514a.tar.xz
glibc-83cd14204559abbb52635006832eaf4d2f42514a.zip
Remove --wth-tls option, TLS support is required
Diffstat (limited to 'nptl/sysdeps/sh')
-rw-r--r--nptl/sysdeps/sh/tls.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/nptl/sysdeps/sh/tls.h b/nptl/sysdeps/sh/tls.h
index a2d4d565ff..908e455874 100644
--- a/nptl/sysdeps/sh/tls.h
+++ b/nptl/sysdeps/sh/tls.h
@@ -1,5 +1,5 @@
 /* Definition for thread-local data handling.  NPTL/SH version.
-   Copyright (C) 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2005, 2006, 2007, 2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -55,11 +55,6 @@ typedef struct
 #endif /* __ASSEMBLER__ */
 
 
-/* We require TLS support in the tools.  */
-#ifndef HAVE_TLS_SUPPORT
-# error "TLS support is required."
-#endif
-
 #ifndef __ASSEMBLER__
 
 /* Get system call information.  */
@@ -116,7 +111,7 @@ typedef struct
 /* Return the thread descriptor for the current thread.
    The contained asm must *not* be marked volatile since otherwise
    assignments like
-        struct pthread *self = thread_self();
+	struct pthread *self = thread_self();
    do not get optimized away.  */
 # define THREAD_SELF \
   ({ struct pthread *__self;						      \