This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Test for 32/64 bit object file?
- To: binutils at sourceware dot cygnus dot com
- Subject: Test for 32/64 bit object file?
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 17 Nov 1999 07:20:16 +1100
- CC: Jimmy Guo <guo at cup dot hp dot com>, GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Organization: Cygnus Solutions
Hello,
Is there a way of determining if an object file is 32 or 64 bit? (eg
elf32/elf64, aout32 vs aout64).
Perhaphs bfd_arch_bits_per_address(ABFD) is correct?
Andrew