[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/11170] New: error in objdump disassemble for ARM target
From: |
mikael dot briday at irccyn dot ec-nantes dot fr |
Subject: |
[Bug binutils/11170] New: error in objdump disassemble for ARM target |
Date: |
14 Jan 2010 17:56:02 -0000 |
For instructions with 'pc' as the 'Rn' register in addressing mode, the offset
is always > 0:
The following source code:
strcc r7, [pc], #-1931
strcc r7, [pc], #1931
strcc r7, [r4], #-1931
strcc r7, [r4], #1931
is disasembled as follow:
84: 340f778b strcc r7, [pc], #1931 ; 8c <test+0x8>
88: 348f778b strcc r7, [pc], #1931 ; 90 <test+0xc>
8c: 3404778b strcc r7, [r4], #-1931
90: 3484778b strcc r7, [r4], #1931
There is an error in line 84.
Note that if Rn is not 'pc', the '-' is printed correctly.
regards,
M. Briday
--
Summary: error in objdump disassemble for ARM target
Product: binutils
Version: 2.17
Status: NEW
Severity: minor
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: mikael dot briday at irccyn dot ec-nantes dot fr
CC: bug-binutils at gnu dot org
GCC target triplet: arm-elf
http://sourceware.org/bugzilla/show_bug.cgi?id=11170
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug binutils/11170] New: error in objdump disassemble for ARM target,
mikael dot briday at irccyn dot ec-nantes dot fr <=