+2011-04-11 Andreas Schwab <schwab@linux-m68k.org>
+
+ * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Define.
+
2011-04-03 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Update comments.
/* Thread-local storage handling in the ELF dynamic linker. M68K version.
- Copyright (C) 2010 Free Software Foundation, Inc.
+ Copyright (C) 2010, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Maxim Kuvyrkov <maxim@codesourcery.com>, 2010.
extern void *__tls_get_addr (tls_index *ti);
-#define GET_ADDR_OFFSET (ti->ti_offset + TLS_DTV_OFFSET)
+#define GET_ADDR_OFFSET (ti->ti_offset + TLS_DTV_OFFSET)
#define __TLS_GET_ADDR(__ti) (__tls_get_addr (__ti) - TLS_DTV_OFFSET)
+
+/* Value used for dtv entries for which the allocation is delayed. */
+#define TLS_DTV_UNALLOCATED ((void *) -1l)