[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Jul 17 17:26:32 2001 
Subject:Re: arcane question 
From:Stephen Isard 
Volume-ID:1010717.02 

Roger.Evans@itri.brighton.ac.uk wrote:

> Here's a guess: this code is a neat way to link the dynamic linker library
> into poplog, so that the runtlime system can do dynamic linking. 

Right. I was thinking from the comment that it must be something on
those lines.

> At build time, however, the
> link doesn't get done straight away - it just creates additional link data
> that is eventually linked by the *static* link process. 

Is that going to be the step carried out by the file in
$popsys/poplink_cmnd?

> In addition,
> because exload_dummy is lexical and not referenced elsewhere, I would guess
> that no dereferencing code is ever generated for it, so the system never
> notices that it wasn't found in the link.

Hmm.  I guess I'd need to look into what popc actually produces.

> If this guess is right, then the
> offending code should be wrapped in #_IF DEF POPC (or whatever the test for
> POPC compilation is..)

I didn't actually want to compile it in pop11.  I'm just trying to
understand why my original libc5 poplog had the problem it did with
external loading, and why the problem went away when I relinked with -
as far as I can see - the same libraries, but under a different kernel.

Thanks very much for the information, Roger.

Steve