[llvm-bugs] [Bug 30955] New: Assembler for arm64 ignores padding value of 0 for .balign directive
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Nov 8 16:03:47 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=30955
Bug ID: 30955
Summary: Assembler for arm64 ignores padding value of 0 for
.balign directive
Product: new-bugs
Version: 3.8
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: jon.nall at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
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
--
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/20161109/075243c3/attachment.html>
More information about the llvm-bugs
mailing list