This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sumary of arm-aout problems




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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]