Han-Wen Nienhuys <[EMAIL PROTECTED]> writes:
>
> Shouldn't this be excercised by a test as well?

Maybe, but I don't see an easy way to do that in the normal svr4
linker case.  If we had a static-only platform and were using libtool
-dlopen the way it's meant to be then I guess it'd bomb.

> I'm loosing you here, AFAIK, the C compiler treats
>
>   extern struct bla foo[] ;
>   extern struct bla *foo ;
>
> exactly the same in a function call of the form
>
>   preload (foo)

No, the first says at foo you'll find a struct bla (or several).  The
second says at foo you'll find 4 bytes, those being an address (of a
struct, or several).  The generated code differs accordingly (an extra
fetch for the latter).

> Anyway, it seems to work. Will you commit?

My change?  Yes, I think so.  The radical alternative would be to
ditch the private ltdl the same as in the head, but Rob can thin about
that.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to