<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [RFE]: Missing altmacro support in integrated assembler"
href="http://llvm.org/bugs/show_bug.cgi?id=18918">18918</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[RFE]: Missing altmacro support in integrated assembler
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>MC
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>eocallaghan@alterapraxis.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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: <a href="https://sourceware.org/binutils/docs/as/Altmacro.html">https://sourceware.org/binutils/docs/as/Altmacro.html</a>
Cheers,
Edward O'Callaghan.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>