summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2012-04-04 12:54:00 -0700
committer Elliott Hughes <enh@google.com> 2012-04-04 12:54:00 -0700
commit20a7a072c86042a537fb7da4f53e743b236c280c (patch)
tree3ae8da65e4b5d7f322d2afd97fb0a2e8148a75b9
parentef67aec56cfc8b43239027f8ddc331162eb103a1 (diff)
Really fix the x86 assembler for Mac OS' as(1).
Tested on Mac OS rather than Linux this time... Change-Id: Ic51692937eafc8ccbeb4c58da2cc48d289fb187f
-rw-r--r--src/oat/runtime/x86/runtime_support_x86.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oat/runtime/x86/runtime_support_x86.S b/src/oat/runtime/x86/runtime_support_x86.S
index ccf8403097..f6d818dbab 100644
--- a/src/oat/runtime/x86/runtime_support_x86.S
+++ b/src/oat/runtime/x86/runtime_support_x86.S
@@ -26,7 +26,7 @@
// Mac OS' as(1) uses $0, $1, and so on for macro arguments, and function names
// are mangled with an extra underscore prefix. The use of $x for arguments
// mean that literals need to be represented with $$x in macros.
- #define SYMBOL(name) _ # name
+ #define SYMBOL(name) _ ## name
#define VAR(name,index) SYMBOL($index)
#define LITERAL(value) $$value
#else