aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2011-10-20 14:21:00 -0400
committerCarlos O'Donell <carlos@systemhalted.org>2011-10-20 14:21:00 -0400
commit2ab0965cb022dfdbd397eb88f96447393b4118b7 (patch)
tree9bcc4e22fdf85a66cecc931f5b9acc86f267771a
parent451398f8b87c2a7c6bed7d6650a6cfbca43f9189 (diff)
downloadglibc-2ab0965cb022dfdbd397eb88f96447393b4118b7.tar.xz
glibc-2ab0965cb022dfdbd397eb88f96447393b4118b7.zip
Define TLS_DTV_UNALLOCATED for hppa.
Signed-off-by: Carlos O'Donell <carlos@systemhalted.org>
-rw-r--r--ChangeLog.hppa5
-rw-r--r--sysdeps/hppa/dl-tls.h5
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog.hppa b/ChangeLog.hppa
index 3913e61f66..91ddf8d750 100644
--- a/ChangeLog.hppa
+++ b/ChangeLog.hppa
@@ -1,5 +1,10 @@
2011-10-20 Carlos O'Donell <carlos@systemhalted.org>
+ * sysdeps/hppa/dl-tls.h: Update copyright year.
+ Define TLS_DTV_UNALLOCATED.
+
+2011-10-20 Carlos O'Donell <carlos@systemhalted.org>
+
* sysdeps/hppa/elf/configure.in: Always test for TLS support
and error out if missing.
* sysdeps/hppa/elf/configure: Regenerate.
diff --git a/sysdeps/hppa/dl-tls.h b/sysdeps/hppa/dl-tls.h
index 1bc9aae66c..91c3d44735 100644
--- a/sysdeps/hppa/dl-tls.h
+++ b/sysdeps/hppa/dl-tls.h
@@ -1,5 +1,5 @@
/* Thread-local storage handling in the ELF dynamic linker. hppa version.
- Copyright (C) 2003 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2011 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
@@ -27,3 +27,6 @@ typedef struct
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)