[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] RFC: DSO (dynamic shared objects) support
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] RFC: DSO (dynamic shared objects) support |
Date: |
Tue, 18 Jun 2013 15:06:02 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 |
Il 18/06/2013 14:05, Laszlo Ersek ha scritto:
>> > + if (dlopen(path, RTLD_NOW) == NULL)
> For inter-module sybmol resolution (motivated by any functional
> dependencies, of course), RTLD_GLOBAL would be needed too (and then of
> course order of loading would matter).
I think we want to prohibit this specifically and use RTLD_LOCAL, at
least in the beginning. If you have dependencies, just put them in a
single module. As Michael mentioned, this is much simpler than the
Linux kernel's module stuff.
Paolo