http://llvm.org/bugs/show_bug.cgi?id=18918

            Bug ID: 18918
           Summary: [RFE]: Missing altmacro support in integrated
                    assembler
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: MC
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Hi,

While compiling coreboot, AMD's AGESA vendor assembler code blows up with the
following macro expansion:

src/vendorcode/amd/agesa/f14/gcccar.inc:38:1: error: unknown directive
.altmacro
^
<instantiation>:4:5: error: invalid instruction mnemonic 'local'
LOCAL SetupStack
~~~~^~~~~~~~~~~~~~~~
./src/cpu/amd/agesa/cache_as_ram.inc:67:3: note: while in macro instantiation
AMD_ENABLE_STACK
^
<instantiation>:5:5: error: invalid instruction mnemonic 'local'
LOCAL Real16bMode
~~~~^~~~~~~~~~~~~~~~~

This apears to be due to missing Altmacro support in LLVM's Assembler,
cite: https://sourceware.org/binutils/docs/as/Altmacro.html

Cheers,
Edward O'Callaghan.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to