projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9177ff
)
Don't define anything if !USE_TLS.
author
Ulrich Drepper
<drepper@redhat.com>
Thu, 7 Feb 2002 06:06:02 +0000
(06:06 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Thu, 7 Feb 2002 06:06:02 +0000
(06:06 +0000)
sysdeps/i386/dl-tls.h
patch
|
blob
|
history
diff --git
a/sysdeps/i386/dl-tls.h
b/sysdeps/i386/dl-tls.h
index
2ff1aa1
..
5398609
100644
(file)
--- 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 */