PATCH: Replace long with long long in sysdeps/x86_64/dl-tls.h

H.J. Lu hongjiu.lu@intel.com
Tue Mar 20 00:36:00 GMT 2012


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



More information about the Libc-alpha mailing list