summaryrefslogtreecommitdiff
path: root/libitm
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2012-04-04 15:49:23 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2012-04-04 15:49:23 +0000
commit0c991e10486a1ce9b87b30cd38739eaf831f6694 (patch)
tree987c76c91ffc1c75d7304e17a02473d3a1a44d2f /libitm
parent868e0fda94f5a541e2f675fe1e46459b8b82d660 (diff)
downloadgcc-0c991e10486a1ce9b87b30cd38739eaf831f6694.tar.gz
Use long long in gtm_jmpbuf for x86-64
2012-04-04 H.J. Lu <hongjiu.lu@intel.com> PR libitm/52854 * config/x86/target.h (gtm_jmpbuf): Replace long with long long for x86-64. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186140 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libitm')
-rw-r--r--libitm/ChangeLog6
-rw-r--r--libitm/config/x86/target.h14
2 files changed, 13 insertions, 7 deletions
diff --git a/libitm/ChangeLog b/libitm/ChangeLog
index 456d1cd190f..ac616d69aa2 100644
--- a/libitm/ChangeLog
+++ b/libitm/ChangeLog
@@ -1,3 +1,9 @@
+2012-04-04 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR libitm/52854
+ * config/x86/target.h (gtm_jmpbuf): Replace long with long long
+ for x86-64.
+
2012-04-03 Tristan Gingold <gingold@adacore.com>
* configure: Regenerate.
diff --git a/libitm/config/x86/target.h b/libitm/config/x86/target.h
index 1d81a4777f3..5c7e6fbee88 100644
--- a/libitm/config/x86/target.h
+++ b/libitm/config/x86/target.h
@@ -29,13 +29,13 @@ namespace GTM HIDDEN {
typedef struct gtm_jmpbuf
{
void *cfa;
- unsigned long rbx;
- unsigned long rbp;
- unsigned long r12;
- unsigned long r13;
- unsigned long r14;
- unsigned long r15;
- unsigned long rip;
+ unsigned long long rbx;
+ unsigned long long rbp;
+ unsigned long long r12;
+ unsigned long long r13;
+ unsigned long long r14;
+ unsigned long long r15;
+ unsigned long long rip;
} gtm_jmpbuf;
#else
typedef struct gtm_jmpbuf