m68k: define TLS_DTV_UNALLOCATED

This commit is contained in:
Andreas Schwab 2011-04-11 12:59:31 +02:00
parent ed36e1de02
commit 04c46a1ce7
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -1,5 +1,5 @@
/* 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.
@ -44,5 +44,8 @@ typedef struct
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)