<html>
<head>
<base href="https://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 --- - Assembler for arm64 ignores padding value of 0 for .balign directive"
href="https://llvm.org/bugs/show_bug.cgi?id=30955">30955</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assembler for arm64 ignores padding value of 0 for .balign directive
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>3.8
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jon.nall@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>When a specific padding value of 0 is passed to a .balign directive in an
executable area, the value is ignored and NOP instructions are inserted
instead.
The value is respected for the .balignw .balignl variants. Further, if a
non-zero value is specified, it's respected.
Shouldn't an explicit 0 padding value be respected for .balign?
Reproducer:
// Contents of foo.S
.section TestSection, "x"
add x14, x14, 0x1
.balign 0x10, 0
add x14, x14, 0x1
.end
Command line:
clang -target arm64-unknown-linux -c -o foo.o foo.S</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>