"GB" <[EMAIL PROTECTED]> wrote in message
news:76142@palm-dev-forum...
>
> Thanks again.  It seems to me that the functions that make up the
> application would all move around as a unit, and there appears to
> be no problem calling a function at any given time.  So (to me) it
> stands to reason that whatever method works for locating functions
> should work for locating constant data (data in code space).

All functions are referenced via a PC-relative reference, which works
since they go through code.  To support relative pointers embedded into
a structure that are being followed through indirection would require
very complex code generation.

> How do people make tables of function addresses (for instance) or
> tables with addresses of anything (const)?

They don't use pcrelconstdata and just store them in the global data
space using relocations.




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to