Revision: 21963
Author: [email protected]
Date: Tue Jun 24 11:26:48 2014 UTC
Log: ARM: Fix inline assembly (r21949) for Clang.
Add a 'c' predicate to the immediate syscall number. This tells the
compiler to omit the leading '#' that immediates usually have in ARM.
The GNU assembler tolerates "ldr r7, =#1234" but Clang does not.
BUG=V8:3403
LOG=N
[email protected]
Review URL: https://codereview.chromium.org/356463004
http://code.google.com/p/v8/source/detail?r=21963
Modified:
/branches/bleeding_edge/src/arm/cpu-arm.cc
=======================================
--- /branches/bleeding_edge/src/arm/cpu-arm.cc Mon Jun 23 17:30:00 2014 UTC
+++ /branches/bleeding_edge/src/arm/cpu-arm.cc Tue Jun 24 11:26:48 2014 UTC
@@ -52,7 +52,7 @@
// r0 = beg
// r1 = end
// r2 = flags (0)
- " ldr r7, =%[scno]\n" // r7 = syscall number
+ " ldr r7, =%c[scno]\n" // r7 = syscall number
" svc 0\n"
" pop {r7}\n"
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.