This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: warning: allocated section `.bss` not in segment
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: Satish Kumar <satish at bvt dot sc dot sanyo dot co dot jp>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: 08 Jul 2003 08:47:30 +0100
- Subject: Re: [ECOS] warning: allocated section `.bss` not in segment
- References: <20030708141844.CBCD.SATISH@bvt.sc.sanyo.co.jp>
Satish Kumar <satish@bvt.sc.sanyo.co.jp> writes:
> Hi,
> On building the redboot image for my target platform, i get a warning
> message stating
> BFD: /ecos-c/saty/build/topaz/redboot/t926ejs_install/bin/redboot.img:
> warning: allocated section `.bss' not in segment
>
> what is this warning meant and how to get rid of this warning..?
>
This only happens when generating the .img file, which is an ELF file
with all the debug sections stripped out.
The message is just a warning. It is, I believe, the result of a bug
in the BFD library. The file is generated correctly, it is just that
the library gets the conditions wrong for generating the message.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss