about summary refs log tree commit diff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-02-07 06:06:02 +0000
committerUlrich Drepper <drepper@redhat.com>2002-02-07 06:06:02 +0000
commit4b9abcb6b83ebc64aa2a468b950c24e4ee96e1a2 (patch)
tree98abe4e12bea1ab38ca874ddd8b2b6985d8d5c74 /sysdeps/i386
parenta9177ff526dafcb033d8fb592212b83a52934575 (diff)
downloadglibc-4b9abcb6b83ebc64aa2a468b950c24e4ee96e1a2.tar.gz
glibc-4b9abcb6b83ebc64aa2a468b950c24e4ee96e1a2.tar.xz
glibc-4b9abcb6b83ebc64aa2a468b950c24e4ee96e1a2.zip
Don't define anything if !USE_TLS.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/dl-tls.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/i386/dl-tls.h b/sysdeps/i386/dl-tls.h
index 2ff1aa1ef7..5398609748 100644
--- a/sysdeps/i386/dl-tls.h
+++ b/sysdeps/i386/dl-tls.h
@@ -17,6 +17,7 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
+#ifdef USE_TLS
 /* Type used for the representation of TLS information in the GOT.  */
 struct tls_index
 {
@@ -45,3 +46,5 @@ __tls_get_addr (struct tls_index *ti)
 /* Prepare using the definition of __tls_get_addr in the generic
    version of this file.  */
 #define __tls_get_addr __attribute__ ((__regparm__ (1))) ___tls_get_addr
+
+#endif	/* use TLS */