From: Andreas Schwab Date: Mon, 11 Apr 2011 10:59:31 +0000 (+0200) Subject: m68k: define TLS_DTV_UNALLOCATED X-Git-Tag: glibc-2.16-ports-before-merge~394 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04c46a1ce78ebc099f6ad9791653369cdef3c9cd;p=thirdparty%2Fglibc.git m68k: define TLS_DTV_UNALLOCATED --- diff --git a/ChangeLog.m68k b/ChangeLog.m68k index ad78ade7602..f54a74ceadf 100644 --- a/ChangeLog.m68k +++ b/ChangeLog.m68k @@ -1,3 +1,7 @@ +2011-04-11 Andreas Schwab + + * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Define. + 2011-04-03 Andreas Schwab * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Update comments. diff --git a/sysdeps/m68k/dl-tls.h b/sysdeps/m68k/dl-tls.h index f2ce9982f06..cebdc2d2be6 100644 --- a/sysdeps/m68k/dl-tls.h +++ b/sysdeps/m68k/dl-tls.h @@ -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 , 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)