[ECOS] BFD: stshHSE9: warning: allocated section `.bss' not in segment

Aravind B arvindb@cranessoftware.com
Tue Jul 27 06:15:00 GMT 2004


hi,
i am getting 
BFD: stshHSE9: warning: allocated section `.bss' not in segment 
on compiling my code.

after running arm-elf-objdump -x receive.elf i got following
information.

receive.elf:     file format elf32-littlearm
receive.elf
architecture: arm, flags 0x00000102:
EXEC_P, D_PAGED
start address 0x40000040

Program Header:
    LOAD off    0x00008000 vaddr 0x40000000 paddr 0x40000000 align 2**15
         filesz 0x000394fc memsz 0x000394fc flags r-x
    LOAD off    0x00048000 vaddr 0x10008000 paddr 0x400394fc align 2**15
         filesz 0x0000068c memsz 0x0000068c flags rw-
private flags = 2: [APCS-32] [FPA float format] [has entry point]

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .rom_vectors  00000040  40000000  40000000  00008000  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .text         0002cea8  40000040  40000040  00008040  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  2 .fini         00000000  4002cee8  4002cee8  0004868c  2**0
                  CONTENTS
  3 .rodata       0000c614  4002cee8  4002cee8  00034ee8  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  4 .rodata1      00000000  400394fc  400394fc  0004868c  2**0
                  CONTENTS
  5 .fixup        00000000  400394fc  400394fc  0004868c  2**0
                  CONTENTS
  6 .gcc_except_table 00000000  400394fc  400394fc  0004868c  2**0
                  CONTENTS
  7 .fixed_vectors 00000140  10000020  10000020  000486a0  2**5
                  CONTENTS, READONLY
  8 .data         0000068c  10008000  400394fc  00048000  2**2
                  CONTENTS, ALLOC, LOAD, DATA
  9 .bss          00033318  1000868c  1000868c  0005068c  2**5
                  ALLOC
 10 .comment      00000a9e  00000000  00000000  0005068c  2**0
                  CONTENTS, READONLY
arm-elf-objdump: receive.elf: no symbols

i want know the cause for the warning and how can i  overcome it.


thanking in advance.
Aravind B



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list