------- Additional Comments From Quentin dot Godfroy at ens dot fr 2007-03-29 19:35 ------- (In reply to comment #7) > Subject: Re: nm and objdump show addresses on 64 bits > for 32bit a.out files > > > target=i486-linuxaout. > > The problem here is that the aout file format does not specify the > address size of the objects it contains, so the BFD library does not > know whether the objects are 32-bit or 64-bit. Instead nm defaults to > using the bitsize of the host.
Or the maximum bitsize of its targets, as the problem also shows for 32bit tools but who can handle 64bit objects. > Please try out the patch and let me know what you think. It works, thanks (I suppose the work could also be done on objdump, to have a coherent behaviour), but it breaks the purpouse H.J. Lu mentioned. It's indeed not clear about what should be done, for multi-arch utils. Maybe a switch ? (but it would become much more than a small patch, and I don't want to have an argument with developpers) -- http://sourceware.org/bugzilla/show_bug.cgi?id=4292 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils