]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define TLS_DTV_UNALLOCATED for MIPS.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 11 Apr 2011 13:30:52 +0000 (13:30 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 11 Apr 2011 13:30:52 +0000 (13:30 +0000)
ChangeLog.mips
sysdeps/mips/dl-tls.h

index 01703e8184ef17c49fc1d851e035d3bedacfb9ba..453774fbc09f3f5c5c7dffaf104f69758c0e65bc 100644 (file)
@@ -1,3 +1,7 @@
+2011-04-11  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Define.
+
 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Rename open_by_handle
index 6d3ed6f5a47bd4bb21d0cc7e4328acca07a332c6..75facb0e3adcff3ba1c1494e5e7aea4aa033a596 100644 (file)
@@ -1,5 +1,5 @@
 /* Thread-local storage handling in the ELF dynamic linker.  MIPS version.
-   Copyright (C) 2005 Free Software Foundation, Inc.
+   Copyright (C) 2005, 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
@@ -44,3 +44,6 @@ extern void *__tls_get_addr (tls_index *ti);
 
 # 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)