This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: sumary of arm-aout problems
- To: Nick Clifton <nickc at cambridge dot redhat dot com>
- Subject: Re: sumary of arm-aout problems
- From: Quality Quorum <qqi at world dot std dot com>
- Date: Fri, 12 Oct 2001 08:35:37 -0400
- cc: Aleksey Romanov <aromanov at ennovatenetworks dot com>, <binutils at sources dot redhat dot com>
On 12 Oct 2001, Nick Clifton wrote:
> Hi Aleksey,
>
> > > If this is still a problem for you, please could you send a *small*
> > > example that reproduces the problem.
> >
> > I have an image compiled with -Wl,-N -Wl,-Ttext,0x30000 flags.
> >
> > arm-aout-objdump -h xxx.gdb:
> >
> > xxx.gdb: file format a.out-arm-little
> >
> > Sections:
> > Idx Name Size VMA LMA File off Algn
> > 0 .text 0004f870 00000000 00000000 00000020 2**2
> > CONTENTS, ALLOC, LOAD, CODE
> > 1 .data 00002150 0004f870 0004f870 0004f890 2**2
> > CONTENTS, ALLOC, LOAD, DATA
> > 2 .bss 0008ef04 000519c0 000519c0 00000000 2**2
> > ALLOC
> >
> > hexdump -C xxx.gdb:
> >
> > 00000000 07 01 00 00 70 f8 04 00 50 21 00 00 04 ef 08 00
> > |....p...P!......|
> > 00000010 ac 7e 0b 00 00 00 03 00 00 00 00 00 00 00 00 00
> > |.~..............|
>
> What is wrong with this ?
VMA and LMA for .text are 0s instead of 30000. Header lists 30000 as
an entry point, however, objdump does not use it adjust LMA and VMA.
>
>
> Cheers
> Nick
>
Thanks,
Thanks,
Aleksey