Mail Archives: djgpp-workers/2001/12/20/17:32:58
> You'd also need to provide for C++ support; a standard DXE cannot
> survive an exception being thrown in it (because the stack unwinding
> info doesn't get registered at load time).
Is this stored in a static link section, or somehow registered with
a handler? Reference an external variable? If it calls a handler
or external variable to register, then that symbol should
be resolved with the imports. If it's part of a static section, it
would need to be added to the "stub" which loads the DXE. I haven't
looked at C++ support at all yet.
> My local version of the now defunct DLX package added support for this,
> which worked fine for gcc 2.95.x, but needs reworking for gcc3. I've
> just started looking into it again, and have gotten tentative approval
> from NanoSoft, Inc. (who wrote DLX) to fork off my own version of the
> library for further development.
> I'll certainly agree that as it stands, it's a bit heavy for libc use
> though.
One thought is that this does not become the basis for dlopen type
interfaces (load on user demand) - that one of the current packages
provides that interface. (The DXE2 package uses the dlopen interface
currently).
- Raw text -