bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/10263] New: objdump does not disassemble ARM code entered


From: mikpe at it dot uu dot se
Subject: [Bug binutils/10263] New: objdump does not disassemble ARM code entered with .word directives
Date: 11 Jun 2009 19:27:10 -0000

It used to be possible to enter instructions with .word directives and then
disassemble them with objdump -d, but that no longer works. Example:

> cat test.s
        .text
        .global f
        .type   f, %function
f:
        mov     r0, r1
        .word   0xe1a00001
        bx      lr
> armv5tel-unknown-linux-gnueabi-as -o test.o test.s
> armv5tel-unknown-linux-gnueabi-objdump -d test.o

test.o:     file format elf32-littlearm

Disassembly of section .text:

00000000 <f>:
   0:   e1a00001        mov     r0, r1
   4:   e1a00001        .word   0xe1a00001
   8:   e12fff1e        bx      lr

The first and second instructions have the same bit pattern, but objdump refuses
to disassemble the one originally entered with a .word directive.

This occurs with binutils 2.19.51.20090611, 2.19.1, and 2.18. 2.17 worked.

It works on other architectures (I've checked powerpc and sparc).

-- 
           Summary: objdump does not disassemble ARM code entered with .word
                    directives
           Product: binutils
           Version: 2.20 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: mikpe at it dot uu dot se
                CC: bug-binutils at gnu dot org
GCC target triplet: armv5tel-unknown-linux-gnueabi


http://sourceware.org/bugzilla/show_bug.cgi?id=10263

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]