[ECOS] rodata feature :-(

Jonathan Larmour jlarmour@cygnus.co.uk
Tue Dec 5 20:37:00 GMT 2000


"Boris V. Guzhov" wrote:
> There is strange memory hole between "bit_first_set8" and "
> Cyg_libc_str_null_mask_1":
> 0x92d08 - 0x7a0e0 = 0x18C28 (~100 kb).
> 
> How can you explain it?
> 
> Note that:
> - the bit_first_set8 declaration is  "extern const unsigned char
> bit_first_set8[256];",
> - the bit_first_set8 and Cyg_libc_str_null_mask_*  variables are declared in
> different files.

Seems like some sort of tools problem. Have you tried generating a linker
map? Perhaps do an objdump --section-headers on the relevant intermediate
object files (i.e. .o files) to see if any of them have odd alignment
constraints or sizes. If so, try examining the assembly version of the
affected files to see how it is coming about.

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault


More information about the Ecos-discuss mailing list