John Marshall <[EMAIL PROTECTED]> wrote:

> Michael Sokolov <[EMAIL PROTECTED]> wrote:
> [...]
> > This has nothing to do with the math library, it's the infamous 32 KB limit.
> > The problem is that the beta I have out right now uses John Marshall's binutils
> > and gcc, which instead of breaking the 32 KB limit only exacerbates the
> > problem.
>
> Oh, Michael, that's really not true!

No, please don't retract your own words, you told me yourself on the phone that
you designed your solution with the 32 KB per segment limit in mind. And it's
obvious that your version will suffer the same problem that mine currently does
in this regard: you have __do_bhook() and __do_ehook() in a crt library module
separate from crt0 just like I do, and if you have more than 32 KB in the first
segment, the calls to these functions from crt0 will break DISP16 just like
they did for Chris. But with my upcoming reference-stretching elf32-m68k BFD
backend, things will change to the better dramatically.

> I don't know what state the multiple
> code resources features are in in your prc-tools-0.6.0 [...]

Exactly the same as in your version, as I'm using your binutils and gcc,
complete with all the features and misfeatures. Yes, sure, Chris could use
multiple code segments, but. First, with your source-level segment division
multiple code segments miserably break the UNIX model of object modules and
libraries being portable and project-independent, are useless with binary
static libraries, and are thus useless to Chris who exceeded the size limit
because of the math library. In contrast, with my upcoming reference-stretching
elf32-m68k BFD backend you will send *object modules* off into segments with
the GNU ld link scripts just like the UNIX and GNU founding fathers intended,
in perfect harmony with the UNIX software paradigm. Second, having support for
multiple code segments is *NOT* an excuse for not being able to put the full 64
KB in each segment with no hassle.

--
Michael Sokolov                         2695 VILLA CREEK DR STE 240
Software Engineer                       DALLAS TX 75234-7329 USA
JP Systems, Inc.                        Phone: +1-972-484-5432 x247
                                            or +1-888-665-2460 x247
E-mail: [EMAIL PROTECTED]    Fax:   +1-972-484-4154

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to