This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

Re: Objcopy problem


Am Don, 28 Jun 2001 schrieben Sie:
> >>>>> Stefan Eletzhofer writes:
> 
> > install/bin/redboot.elf:     file format elf32-littlearm
>  
> > Sections:
> > Idx Name          Size      VMA       LMA       File off  Algn
> 
> >   9 .got          00000008  00000000  00000000  00008000  2**2
> >                   CONTENTS, ALLOC, LOAD, DATA
> >  10 .got.plt      0000000c  00000008  00000008  00008008  2**2
> >                   CONTENTS, ALLOC, LOAD, DATA
> 
> When I build it, I don't get these. Because these have the LOAD
> attribute and an LMA that's way off from the other LOADable
> sections which start at 0x50000000, your binary gets bloated.
> 
> The .got stuff is for pic code. Maybe your tools are configured
> with pic on by default. You might try adding -fno-pic to the
> compile/link commands.
> 
> --Mark
Ok,
I just edited ecos.ecc to add -fno-pic to the user-defd CFLAGS, did
a ecosconfig tree, removed all objects and the redboot.* images and recompiled.
-fno-pic was used during compilation.

I get still the same results.

What next? Has anyone had the same problem yet? Should i use a not-so-recent
version of ecos/redboot?

Thank you,
	Stefan


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