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: unassignedb...@nondot.org Reporter: jon.n...@gmail.com CC: llvm-bugs@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.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs