http://sourceware.org/bugzilla/show_bug.cgi?id=12534
Summary: arm: disassembly of pc-relative ldrd instructions not fully annotated in Thumb Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassig...@sources.redhat.com ReportedBy: dave.mar...@linaro.org The annotation of ldrd instructions in Thumb during disassembly appears incomplete: the target label is not annotated, whereas for ldr, or for ldr or ldrd in ARM, the instruction is annotated with the target label in the disassembly. I believe the generated instruction encoding is right in the case shown below, but it might be a good idea to double-check. Cheers ---Dave binutils$ cat <<EOF >ldr-tst.s .syntax unified .globl d d: .quad 0 .type f, %function f: ldrd r0, r1, d nop ldrd r0, r1, d ldr r0, d nop ldr r0, d EOF binutils$ binutils/objdump -mthumb -o ldr-tst.o ldr-tst.s && arm-linux-gnueabi-objdump -dr ldr-tst.o [...] Disassembly of section .text: 00000000 <d>: ... 00000008 <f>: 8: e95f 0103 ldrd r0, r1, [pc, #-12] *** bug?: no label annotated c: 46c0 nop ; (mov r8, r8) e: e95f 0104 ldrd r0, r1, [pc, #-16] *** bug?: no label annotated 12: f85f 0014 ldr.w r0, [pc, #-20] ; 0 <d> 16: 46c0 nop ; (mov r8, r8) 18: f85f 001c ldr.w r0, [pc, #-28] ; 0 <d> -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils