diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2011-11-21 15:32:02 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-05-27 07:30:55 -0700 |
commit | 2186aeb6816b262858b9318814d78513e8de226c (patch) | |
tree | 2f5578db0e72f293986fc0737829ccf8fc0086b9 | |
parent | 62b791c64012301f9d8ff158ded991d3689b81f4 (diff) | |
download | glibc-2186aeb6816b262858b9318814d78513e8de226c.tar.gz glibc-2186aeb6816b262858b9318814d78513e8de226c.tar.xz glibc-2186aeb6816b262858b9318814d78513e8de226c.zip |
Add x32 support to dl-tls.h.
-rw-r--r-- | ChangeLog.x32 | 5 | ||||
-rw-r--r-- | sysdeps/x86_64/dl-tls.h | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog.x32 b/ChangeLog.x32 index 4a9637a185..2ee3b4d2bd 100644 --- a/ChangeLog.x32 +++ b/ChangeLog.x32 @@ -1,5 +1,10 @@ 2011-11-21 H.J. Lu <hongjiu.lu@intel.com> + * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace long with + long long. + +2011-11-21 H.J. Lu <hongjiu.lu@intel.com> + * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Pad for x32. (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 c382cd8482..5ddaaef03f 100644 --- a/sysdeps/x86_64/dl-tls.h +++ b/sysdeps/x86_64/dl-tls.h @@ -21,8 +21,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; |