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: rodata feature :-(


"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

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