https://sourceware.org/bugzilla/show_bug.cgi?id=23242
Bug ID: 23242
Summary: aarch64: objdump requires ignores bits to be set in
ldar
Product: binutils
Version: 2.30
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: i-bugzilla-sourceware-org-kasujfzh at rf dot risimo.net
Target Milestone: ---
$ cat ldarb.asm
.global main
.section .text
.balign 4
main:
ldarb w11,[x5]
.inst 0x08c0b8ab
ret
$ as -mcpu=saphira -o ldarb.o ldarb.asm
$ objdump -d ldarb.o
ldarb.o: file format elf64-littleaarch64
Disassembly of section .text:
0000000000000000 <main>:
0: 08dffcab ldarb w11, [x5]
4: 08c0b8ab .inst 0x08c0b8ab ; undefined
8: d65f03c0 ret
$
The bits which differ between 0x08dffcab and 0x08c0b8ab all belong to Rs and
Rt2. The doc says that these are ignored. From my interpretation this means
that the bits should be set to 1 by the assembler but the disassembler should
ignore these bits. So 0x08c0b8ab should also be disassembled as 'ldarb w11,
[x5]'.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils