Hi all,

I'm trying to compile a software for a Coldfire MC407 C3 board which runs a 2.4 uClinux. My program seems to have some problem to execute on the board : When I launch it I got the error (twice) : "BINFMT_FLAT: reloc outside program 0xffffff90 (0 - 0x3f4ca0/0xcb00), killing main.opt!"

it seems that ssh was suffering of a similar problem so I tried to follow the instructions used at this time to find the error and I did :
- added the -v option to elf2flt and I found 2 entries with this address :
RELOC[95]: offset=0xef0 symbol=_start+0xffffff88 section=.text size=4 fixup=0xffffff90 (reloc=0xef0) RELOC[712]: offset=0x91c6 symbol=malloc+0xffff6e3a section=.text size=4 fixup=0xffffff90 (reloc=0x91c6)

- i used objdump -t to get the symbol table of my software

and now I'm a little bit lost, how should I use the "symbol=" informations to find what are the symbols at the origin of the crash ?

thanks in advance,
Ben
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to