bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/4292] New: nm and objdump show addresses on 64 bits for 32


From: Quentin dot Godfroy at ens dot fr
Subject: [Bug binutils/4292] New: nm and objdump show addresses on 64 bits for 32bit a.out files
Date: 28 Mar 2007 06:47:10 -0000

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]