[U-Boot-Users] Function pointers after relocation

Wolfgang Denk wd at denx.de
Mon Jul 14 13:14:33 CEST 2003


Dear Robin,

in message <3F03564A.4090807 at tait.co.nz> you wrote:
>
> > Which part of the code are you speaking of?
> 
> Opps - a typo in the example!! I meant to say the pointer env_get_char() 
> which is initialised to env_get_char_init and remains pointing at the 
> Flash copy of that function after relocation.

I  cannot  verify  this  problem.  It  works  fine  for  me  (i.   e.
env_get_char()  will  be  relocated  correctly to point to the in-RAM
copy of the function).

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Vulcans worship peace above all.
	-- McCoy, "Return to Tomorrow", stardate 4768.3




More information about the U-Boot mailing list