From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robin Gilks Date: Wed, 02 Jul 2003 17:04:11 +1200 Subject: [U-Boot-Users] Function pointers after relocation Message-ID: <3F0267CB.8040904@tait.co.nz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Greetings When u-boot has relocated from Flash to RAM, it is correct that function pointers (eg. getenv()) still point to the Flash code rather than the RAM copy? Would this be corrected by changing the link address, in which case where do I find it (the link address that is) - in the .lds file? board = mpc866ads (fads alike) cpu = mpc866 (mpc860 alike) all changes based on ads860+fads merge!! -- Robin Gilks Senior Design Engineer Phone: (+64)(3) 357 1569 Tait Electronics Fax : (+64)(3) 359 4632 PO Box 1645 Christchurch Email : robin.gilks at tait.co.nz New Zealand