projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b021dd9
)
x86: redefine REX64_PREFIX for clang, which doesn't like 'rex64/'.
author
Tim Deegan
<Tim.Deegan@citrix.com>
Mon, 7 Mar 2011 11:21:11 +0000
(11:21 +0000)
committer
Tim Deegan
<Tim.Deegan@citrix.com>
Mon, 7 Mar 2011 11:21:11 +0000
(11:21 +0000)
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/include/asm-x86/x86_64/asm_defns.h
patch
|
blob
|
history
diff --git
a/xen/include/asm-x86/x86_64/asm_defns.h
b/xen/include/asm-x86/x86_64/asm_defns.h
index 5c7159a7a501af89267fbf9086c439299013d0b0..b90c1a5ab71c597aeca6b7ffdd653ff630baccf0 100644
(file)
--- a/
xen/include/asm-x86/x86_64/asm_defns.h
+++ b/
xen/include/asm-x86/x86_64/asm_defns.h
@@
-84,6
+84,8
@@
#ifdef __sun__
#define REX64_PREFIX "rex64\\"
+#elif defined(__clang__)
+#define REX64_PREFIX ".byte 0x48; "
#else
#define REX64_PREFIX "rex64/"
#endif