[LLVMbugs] [Bug 18918] New: [RFE]: Missing altmacro support in integrated assembler

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 20 18:45:01 PST 2014


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: unassignedbugs at nondot.org
          Reporter: eocallaghan at alterapraxis.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140221/f0cd1c6c/attachment.html>


More information about the llvm-bugs mailing list