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: thomas dot petazzoni at meridon dot com
- Subject: Re: Bug when generating Program Header in elf files
- From: Andreas Jaeger <aj at suse dot de>
- Date: 30 May 2001 13:46:54 +0200
- Cc: binutils at sourceware dot cygnus dot com
- References: <3B14DBB7.C2E4A533@meridon.com>
Thomas Petazzoni <thomas.petazzoni@meridon.com> writes:
> 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 :)
Please provide complete code so that we can reproduce this,
Andreas