Re: problem with 64 bit binutils (32bit seems ok)

2009-12-10 Thread me
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

[Bug binutils/10924] Bug in objdump when disassembling raw armv4t binaries

2009-12-10 Thread chris at seberino dot org
--- 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

[Bug binutils/10924] Bug in objdump when disassembling raw armv4t binaries

2009-12-10 Thread drow at sources dot redhat dot com
--- 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

[Bug binutils/10924] Bug in objdump when disassembling raw armv4t binaries

2009-12-10 Thread chris at seberino dot org
--- 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

Re: problem with 64 bit binutils (32bit seems ok)

2009-12-10 Thread Alan Modra
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: problem with 64 bit binutils (32bit seems ok)

2009-12-10 Thread me
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