Something different with elf64-x86-64 format?

Daniel Jacobowitz drow@false.org
Fri Apr 3 14:38:00 GMT 2009


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



More information about the Binutils mailing list