------- Additional Comments From nickc at redhat dot com 2007-03-29 18:17 ------- Subject: Re: nm and objdump show addresses on 64 bits for 32bit a.out files
Hi Quentin, > 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. I have uploaded a patch which improves nm's heuristic. Now if the BFD library cannot tell it the bitsize of the target it will look at the target format's name. If the string "64" occurs anywhere in the name then it will assume a 64-bit bitsize, otherwise it will assume a 32-bit bitsize. Not perfect but I think that it should work most of the time. Please try out the patch and let me know what you think. Cheers Nick -- 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