[U-Boot] ARM: problem with linker option -pie
Wolfgang Denk
wd at denx.de
Sat Oct 30 22:43:10 CEST 2010
Dear Darius Augulis,
In message <4CCC8206.40206 at gmail.com> you 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.
Sorry, but this is not a solution. You may use this as momentary
workaround if you need a running system, but it cannot go into
mainline.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I have the simplest tastes. I am always satisfied with the best.
-- Oscar Wilde
More information about the U-Boot
mailing list