This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Something different with elf64-x86-64 format?
- From: Daniel Jacobowitz <drow at false dot org>
- To: Etienne Lorrain <etienne_lorrain at yahoo dot fr>
- Cc: binutils at sourceware dot org
- Date: Fri, 3 Apr 2009 10:38:37 -0400
- Subject: Re: Something different with elf64-x86-64 format?
- References: <322799.52832.qm@web23607.mail.ird.yahoo.com>
On Fri, Apr 03, 2009 at 02:12:03PM +0000, Etienne Lorrain wrote:
> I have generated an ELF64, and I have:
>
> etienne@cygne:~/projet/gujin$ objdump -h hello64.elf
...
> but at 0x48 I should have a 64 bits number p_offset
> "Offset in file" and it is zero... unlike what objdump tells.
You didn't ask objdump about the segment headers. Try readelf -l or
objdump -p.
--
Daniel Jacobowitz
CodeSourcery