This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Bug when generating Program Header in elf files
- To: binutils at sourceware dot cygnus dot com
- Subject: Re: Bug when generating Program Header in elf files
- From: Thomas Petazzoni <thomas dot petazzoni at meridon dot com>
- Date: Wed, 30 May 2001 13:38:31 +0200
- Reply-To: thomas dot petazzoni at meridon dot com
hi,
here are some dumps using objdump of the program header :
good version :
bash-2.03$ objdump -p loader.img.binutils-2.9.5
loader.img.binutils-2.9.5: file format elf32-i386
Program Header:
LOAD off 0x00000080 vaddr 0x00201000 paddr 0x00201000 align 2**5
filesz 0x00000aa4 memsz 0x00001a60 flags rwx
wrong version :
bash-2.03$ objdump -p loader.img.binutils-2.11.90
loader.img.binutils-2.11.90: file format elf32-i386
Program Header:
LOAD off 0x00000080 vaddr 0x00000080 paddr 0x00000080 align 2**5
filesz 0x00000140 memsz 0x00000140 flags r--
LOAD off 0x000001c0 vaddr 0x00201000 paddr 0x00201000 align 2**4
filesz 0x0000096c memsz 0x00001920 flags rwx
hope it will help :)
thomas
--
PETAZZONI Thomas
thomas.petazzoni@meridon.com
ICQ : 34937744
Projet KOS : http://kos.enix.org