mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-19 05:43:18 +03:00
Don't define anything if !USE_TLS.
This commit is contained in:
@ -17,6 +17,7 @@
|
|||||||
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||||
02111-1307 USA. */
|
02111-1307 USA. */
|
||||||
|
|
||||||
|
#ifdef USE_TLS
|
||||||
/* Type used for the representation of TLS information in the GOT. */
|
/* Type used for the representation of TLS information in the GOT. */
|
||||||
struct tls_index
|
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
|
/* Prepare using the definition of __tls_get_addr in the generic
|
||||||
version of this file. */
|
version of this file. */
|
||||||
#define __tls_get_addr __attribute__ ((__regparm__ (1))) ___tls_get_addr
|
#define __tls_get_addr __attribute__ ((__regparm__ (1))) ___tls_get_addr
|
||||||
|
|
||||||
|
#endif /* use TLS */
|
||||||
|
Reference in New Issue
Block a user