You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im going to close this off as the list that is mentioned is pretty out of date. The only feature from that list which is currently unsupported is the alternate mode assembly input.
llvmbot
transferred this issue from llvm/llvm-bugzilla-archive
Dec 3, 2021
Extended Description
llvm-mc rejects this file:
.macro macroname argone argtwo
.endm
with:
$ llvm-mc -assemble -filetype=obj y.s
y.s:1:19: error: unexpected token in '.macro' directive
.macro macroname argone argtwo
^
y.s:2:7: error: unexpected '.endm' in file, no current macro definition
.endm
^
while as is fine with it. The unknown tokens are arguments to the macro, documented in GAS here: http://sourceware.org/binutils/docs-2.21/as/Macro.html
This is blocking arch/x86/include/asm/inst.h in the linux kernel.
The text was updated successfully, but these errors were encountered: