[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/21507] objdump: Incorrect jump label in disassemble for ar
From: |
nickc at redhat dot com |
Subject: |
[Bug binutils/21507] objdump: Incorrect jump label in disassemble for arm object file |
Date: |
Mon, 22 May 2017 11:16:17 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=21507
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |nickc at redhat dot com
Resolution|--- |INVALID
--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Hi Michele,
> 4: f7ff fffe bl 0 <f> <<<<< This label should be <g> >>>>>>
This is not a bug. Try adding the "-r" option to the objdump command line in
order to see why:
4: f7ff fffe bl 0 <f>
4: R_ARM_THM_CALL g
So the branch at address 4 is currently going to address 0, which is where the
"f" symbol is located. But there is a relocation attached to that address
which
will change the branch to go to the address of symbol "g".
If you link the program, the relocation will be processed and the instruction
will be updated to point to the correct destination.
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.