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:
> 
> > Hello,
> > I have problems compiling RedBoot for Intel StrongARM/Assabet.
> 
> > I used the latest CVS sources and did
> > ecosconfig new assabet redboot
> > ecosconfig import arm/sa..../redboot_ROM.ecm
> > ecosconfig tree
> > make
> 
> > Everything compiles just fine, but the resulting redboot.bin in install/bin
> > is about 137 MBytes big (_not_ joking).
> 
> Yeah, that's a little bloated. ;-)
> 
> Try this and post the result:
> 
>   % arm-elf-objdump -h redboot.elf 
> 
> That should tell why the binary is 137MB.
> 
> --Mark
Ok, here the output:
------------8<------------
install/bin/redboot.elf:     file format elf32-littlearm
 
Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .rom_vectors  00000040  50000000  50000000  00010000  2**0
                  CONTENTS, ALLOC, LOAD, CODE
  1 .text         00013b30  50000040  50000040  00010040  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  2 .fini         00000000  50013b70  50013b70  00028790  2**0
                  CONTENTS
  3 .rodata       000030d7  50013b70  50013b70  00023b70  2**2
                  CONTENTS, ALLOC, LOAD, DATA
  4 .rodata1      00000000  50016c48  50016c48  00028790  2**0
                  CONTENTS
  5 .fixup        00000000  50016c48  50016c48  00028790  2**0
                  CONTENTS
  6 .gcc_except_table 00000000  50016c48  50016c48  00028790  2**0
                  CONTENTS
  7 .fixed_vectors 00000148  00000020  00000020  000287a0  2**5
                  CONTENTS
  8 .data         00000790  00008000  50016c48  00028000  2**2
                  CONTENTS, ALLOC, LOAD, DATA
  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
 11 .bss          00008094  00000014  00000014  00008014  2**4
                  ALLOC
 12 .stab         0002c2b0  00000000  00000000  000288e8  2**2
                  CONTENTS, READONLY, DEBUGGING
 13 .stabstr      00013304  00000000  00000000  00054b98  2**0
                  CONTENTS, READONLY, DEBUGGING                
----------->8-----------------------------------


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