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: gui doesn't create bss section (was: MBX860(40MHz) stubs with cvs snapshot - mapping problem?)


>>>>> "Michael" == Michael Barker <Michael.D.Barker@Motorola.com> writes:

Michael> Oops - wrong line - here it is - it adds the bss section.
Michael> .bss ALIGN (0x10) : { __bss_start = ABSOLUTE (.); . = . ;
Michael> *(.dynbss) *(.bss) *(COMMON) __bss_end = ABSOLUTE (.); } >
Michael> ram . = ALIGN(4); _end = .; PROVIDE (end = .);

Michael> I'm using 1.3.1.1 config tools, and a repository checked out
Michael> yesterday from anoncvs.

I've experienced the same problem with the SH targets. 

The problem stems from, as far as I can tell, the config tool being
confused when having to relocate sections following a user section.

I adopted a workaround of not adding reserved regions (i.e.,
reserved_vectors, reserved_vsr_table, reserved_virtual_vector_table
and reserved_for_rom), but instead either adjust the memory region to
skip the necessary part at the start of memory, or force the first
(relocated) section (.vectors/.data) to appear at 0x10000.

I'm pretty sure I filed a problem report for this issue, and I don't
seem to be able to find it, so the bug is probably fixed in the next
release (for which I don't know the release date).

Jesper

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