This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Sections in RedBoot
"Agarwal, Lomesh" <lomesh.agarwal@intel.com> writes:
> Can someone tell me why does RedBoot has following sections:
> Fini, rodata1, fixup, gcc_except_table, fixed_vectors
> I don't use any of these. So, I removed all of them. But when I compile
> linker complains about missing gcc_except_table section. Error line is:
> ld: LOADADDR uses undefined section .gcc_except_table
> How can I remove gcc_except_table section also?
>
While you may not use them, the compiler might. These are all
compiler/linker generated sections and must be present. If nothing
gets allocated to them they just end up empty. It costs nothing to
leave them where they are.
--
Nick Garnett, eCos Kernel Architect
Red Hat, Cambridge, UK
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss