DescriptionSubzero: Work around another llvm-mc parser bug for relocatable symbols.
There's already a hack that emits asm like:
lea eax, myglobal
instead of:
mov eax, [myglobal]
because of an llvm-mc parser bug. However, the lea hack still doesn't work if the symbol is a reserved word, e.g.:
lea eax, flags
The extra hack is to drop into AT&T syntax temporarily:
.att_syntax
leal flags, %eax
.intel_syntax
BUG= none
R=jvoung@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=523ef72
Patch Set 1 #
Messages
Total messages: 4 (1 generated)
|