Descriptionarm: Make sel build with clang's built-in assembler.
clang's integrated assembler only supports UAL, where sp is spelled
sp and not %sp. Fixes the following error when building with clang's
integrated assembler enabled:
../../native_client/src/trusted/service_runtime/linux/arm/sel_segments.c:13:7: error: unexpected token in operand
asm("mov %0, %%sp" : "=r" (sp));
^
<inline asm>:1:10: note: instantiated into assembly here
mov r0, %sp
^
1 error generated.
BUG=chromium:124610
Committed: https://chromium.googlesource.com/native_client/src/native_client/+/6f24c8ade6012005ceb41b4a2cc70a021d7f1d64
Patch Set 1 #
Messages
Total messages: 14 (6 generated)
|