On binutils configured with --enable-targets=x86_64-linux-gnu (target i486-linux-gnu) (or running on x86_64-linux-gnu with target i486-linuxaout (I suppose any target could show the bug as long as the utils run on x86_64)), nm and objdump, when run on a.out object files or executables (at least QMAGIC and OMAGIC flavours) show addresses on 64bits, which confuses old programmes which assume a 32 bit space addressing (namely dlltools).
When the same utils are run on elf32 object files or executables the adresses are shown on 32bits. However if the host and targets are 32bits only the problem does not show. I suspect some kind of leak of the internal representation of addresses for these programmes. -- Summary: nm and objdump show addresses on 64 bits for 32bit a.out files Product: binutils Version: 2.17 Status: NEW Severity: minor Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: Quentin dot Godfroy at ens dot fr CC: bug-binutils at gnu dot org GCC build triplet: i486-linux-gnu GCC host triplet: i486-linux-gnu GCC target triplet: i486-linux-gnu, x86_64-linux-gnu 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