This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
PATCH: Replace long with long long in sysdeps/x86_64/dl-tls.h
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Mon, 19 Mar 2012 17:35:57 -0700
- Subject: PATCH: Replace long with long long in sysdeps/x86_64/dl-tls.h
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
X32 uses the same GOT layout as x86-64. This patch replaces long with
long long in sysdeps/x86_64/dl-tls.h.
H.J.
---
2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace long with
long long.
diff --git a/sysdeps/x86_64/dl-tls.h b/sysdeps/x86_64/dl-tls.h
index 4de5815..e87c9a3 100644
--- a/sysdeps/x86_64/dl-tls.h
+++ b/sysdeps/x86_64/dl-tls.h
@@ -20,8 +20,8 @@
/* Type used for the representation of TLS information in the GOT. */
typedef struct dl_tls_index
{
- unsigned long int ti_module;
- unsigned long int ti_offset;
+ unsigned long long int ti_module;
+ unsigned long long int ti_offset;
} tls_index;
--
1.7.6.5