Subject: Re: dlopen() twists
To: None <>
From: Michael Richardson <>
List: tech-userlevel
Date: 12/28/2000 11:25:56
>>>>> "Todd" == Todd Vierling <> writes:
    Todd> On Wed, 27 Dec 2000, Kevin P. Neal wrote:

    Todd> : > 	it seems to me that there are a couple of twists in dlopen() handling
    Todd> : > 	in NetBSD.
    Todd> : > 	1. static linked binaries cannot use dlopen().
    Todd> :
    Todd> : I think this is a mistake.

    Todd> This is an artifact of the design of the [particularly ELF] dynamic loader.
    Todd> For ELF, the kernel loads the ld.elf_so as the program interpreter *BEFORE*
    Todd> the main program is completely set up to run.

  isn't this just a question of providing libdl.a?

] Train travel features AC outlets with no take-off restrictions|gigabit is no[
]   Michael Richardson, Solidum Systems   Oh where, oh where has|problem  with[
]   the little fishy gone?|PAX.port 1100[
] panic("Just another NetBSD/notebook using, kernel hacking, security guy");  [