-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaconfirmedVerified by a second partyVerified by a second partyllvm:mcMachine (object) codeMachine (object) code
Description
| Bugzilla Link | 30955 |
| Version | 3.8 |
| OS | All |
| Reporter | LLVM Bugzilla Contributor |
Extended Description
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
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaconfirmedVerified by a second partyVerified by a second partyllvm:mcMachine (object) codeMachine (object) code