Alan
I'm a complete beginner re asm & binutils it would've taken me a very
long time to work this out so thanks very much for coming back!
___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils
--- Additional Comments From chris at seberino dot org 2009-12-10 23:33
---
Subject: Re: Bug in objdump when disassembling raw
armv4t binaries
On Thu, Dec 10, 2009 at 11:12:27PM -, drow at sources dot redhat dot com
wrote:
> Writeback is set, and rN == rT. From my copy of
--- Additional Comments From drow at sources dot redhat dot com 2009-12-10
23:12 ---
Subject: Re: Bug in objdump when disassembling raw
armv4t binaries
On Thu, Dec 10, 2009 at 10:47:41PM -, chris at seberino dot org wrote:
> I can't see why 0x004000bf is marked UNPREDICTABLE. I t
--- Additional Comments From chris at seberino dot org 2009-12-10 22:47
---
Subject: Re: Bug in objdump when disassembling raw
armv4t binaries
>From Dec 10 version of binutils
I can't see why 0x004000bf is marked UNPREDICTABLE. I think that is
incorrect...
0:0040
On Thu, Dec 10, 2009 at 04:43:15PM +, me wrote:
> Does anyone know what I should use instead of
> "objcopy -O binary a.out a.com"
> to stop losing the relocs?
If you want a binary output you must lose the relocs. So don't try to
objcopy relocatable file. Final link them first.
--
Alan Mod
Re
Not a bug. objcopy -O binary on a relocatable file loses the relocs.
X86_64 uses rela style relocs where the addend is in the reloc, x86
uses rel where the addend is in the section. So in the latter case
you get the "+4" from .text+4, in the former you don't.
Phew!
Thanks very much Alan!
D