https://sourceware.org/bugzilla/show_bug.cgi?id=28863
Bug ID: 28863
Summary: two-argument .align is accepted for RISC-V but the
alignment is not always preserved
Product: binutils
Version: 2.39 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: jcmvbkbc at gcc dot gnu.org
Target Milestone: ---
Created attachment 13958
--> https://sourceware.org/bugzilla/attachment.cgi?id=13958&action=edit
align2.s
Building the attached program with the following commands results in
misalignment of the 'bar' label in the final executable:
riscv32-unknown-elf-as align2.s -o align2.o
riscv32-unknown-elf-ld align2.o -o align2
riscv32-unknown-elf-objdump -dr align2
align2: file format elf32-littleriscv
Disassembly of section .text:
00010060 <_start>:
10060: 00000013 nop
10064: 00000013 nop
10068: 00000013 nop
1006c: 00000013 nop
00010070 <foo>:
10070: 00000013 nop
...
0001007c <bar>:
1007c: 00000013 nop
...
--
You are receiving this mail because:
You are on the CC list for the bug.