On Thu, 28 Mar 2002, Ben Combee wrote:
> The __DummyStartup__ code at the beginning of code segments was added to
> allow the entry point for a segment to be located anywhere in the
> segment, not just at the start.  The stack pushes you're seeing are the
> first half of a far jump, followed by the RTS that goes to the location.
>
> Since this lets you put the entry point/dispatch table in the middle of
> your shared library without having a linking problem, I doubt it will
> change, but the optimization to avoid the dummy if __Startup__ was going
> to be first anyway is one I'd like to make for V9.

  this makes the code very compiler dependent :(( my aim was to get
  a setup where i could compile on both prc-tools and codewarrior.
  this __DummyStartup__ idea provides me with nothing useful from a
  maintainability standpoint :)

  having true cross-compiler support would be a dream.. and, i'll keep
  on dreaming *g* - for now, my "developers" are forced to use
  prc-tools (which, isn't that bad) :P :)

// az
[EMAIL PROTECTED]
http://www.ardiri.com/


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

Reply via email to