arm-elf : initializing variables
Arnaud ZANETTI
arnaud.zanetti@sagem.com
Mon Dec 15 12:03:00 GMT 2003
Hello,
I built an arm-elf chain tool to compile application for an embedded
environnement.
This work fine, but I cannot find out how to have my initialized variables
initialized.
I used a fromelf utility that just convert the .text section to pure binary
code
(the only thing my loader understands), but, that way, I cannot keep the
initial values
found in the ELF executable. On other tool chains, I used a special feature
of both
the compiler and linker to have those initial values put in a special RO
section, the
variables to be initialized put first in link order, and I simply have to
copy
the former into the latter at the beginning of the code.
Is there such a feature I can use in arm-elf target ? And how ?
Or Should I swicth to an other target that is more intended to generate
plain binary executables ?
-----
Arnaud
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list