
4 Oct
2010
4 Oct
'10
7:41 a.m.
Hello Albert,
Albert ARIBAUD wrote:
Le 02/10/2010 22:39, Reinhard Meyer a écrit :
And as an idea, if position independent code is used, only pointers in initialized data need adjustment. Cannot the linker emit a table of addresses that need fixing?
IIU Bill C, yes the linker can emit the information and the startup code could use this information instead of relying on hand-provided info; the linker file probably needs to be modified in order to provide such info. I intend to look into this, but feel free to do too.
I thought therefore is the GOT. But if there is another way, to get rid of this hand fixing, it would be a good thing.
bye, Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany