From 6aa8bd8cd15f1563db859805e9681cb750247667 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 8 Feb 2012 11:44:40 -0800 Subject: [PATCH] alpha: Define TLS_DTV_UNALLOCATED. --- ChangeLog.alpha | 2 ++ sysdeps/alpha/dl-tls.h | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog.alpha b/ChangeLog.alpha index a1732f9..ae6839d 100644 --- a/ChangeLog.alpha +++ b/ChangeLog.alpha @@ -1,5 +1,7 @@ 2012-02-08 Richard Henderson + * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): New. + * sysdeps/unix/sysv/linux/alpha/configure.in: New file. * sysdeps/unix/sysv/linux/alpha/configure: Build. * sysdeps/unix/sysv/linux/alpha/kernel-features.h: Protect from diff --git a/sysdeps/alpha/dl-tls.h b/sysdeps/alpha/dl-tls.h index f81f95d..d40d0a4 100644 --- a/sysdeps/alpha/dl-tls.h +++ b/sysdeps/alpha/dl-tls.h @@ -25,5 +25,7 @@ typedef struct unsigned long int ti_offset; } tls_index; - extern void *__tls_get_addr (tls_index *ti); + +/* Value used for dtv entries for which the allocation is delayed. */ +#define TLS_DTV_UNALLOCATED ((void *) -1l) -- 2.7.4