
31 Oct
2010
31 Oct
'10
8:46 a.m.
Hello Darius,
Darius Augulis wrote:
I've found solution which solves problem of empty command table. Actually the problem is -pie linker option. I removed it and added -fPIC flag to compiler options. Because relocation with such changes fails, I set TEXT_BASE equal to runtime calculated relocation address. And it works! All commands are there.
Which toolchain do you use?
Can you try ELDK-4.2, seems to me newer gcc have problems with -pie
bye, Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany