diff options
author | Roland McGrath <roland@gnu.org> | 2005-09-22 07:29:50 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-09-22 07:29:50 +0000 |
commit | 5eac47606bdec9aa2c4ea52bc0c907b5bb54c4b8 (patch) | |
tree | baded91f2f5267e4e9232835b632f4905f97c9c4 /elf/dl-tsd.c | |
parent | f7ffeb91cd6622472b425f8fa12c577c582ed16c (diff) | |
download | glibc-5eac47606bdec9aa2c4ea52bc0c907b5bb54c4b8.tar glibc-5eac47606bdec9aa2c4ea52bc0c907b5bb54c4b8.tar.gz glibc-5eac47606bdec9aa2c4ea52bc0c907b5bb54c4b8.tar.bz2 glibc-5eac47606bdec9aa2c4ea52bc0c907b5bb54c4b8.zip |
* elf/dl-tsd.c (__libc_dl_error_tsd): Use attribute_tls_model_ie for
static __thread variable.
From Alexandre Oliva <aoliva@redhat.com>
Diffstat (limited to 'elf/dl-tsd.c')
-rw-r--r-- | elf/dl-tsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-tsd.c b/elf/dl-tsd.c index f44fa7d365..f01f8d652e 100644 --- a/elf/dl-tsd.c +++ b/elf/dl-tsd.c @@ -1,5 +1,5 @@ /* Thread-local data used by error handling for runtime dynamic linker. - Copyright (C) 2002 Free Software Foundation, Inc. + Copyright (C) 2002, 2005 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 @@ -49,7 +49,7 @@ void **(*_dl_error_catch_tsd) (void) __attribute__ ((const)) void ** __attribute__ ((const)) __libc_dl_error_tsd (void) { - static __thread void *data; + static __thread void *data attribute_tls_model_ie; return &data; } |