qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] RFC: DSO (dynamic shared objects) support


From: Richard Henderson
Subject: Re: [Qemu-devel] RFC: DSO (dynamic shared objects) support
Date: Tue, 18 Jun 2013 12:35:21 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6

On 06/18/2013 04:37 AM, Michael Tokarev wrote:
> First of all, we need a global config switch/check for this kind of
> service.  On a POSIX system this should make the executable to be
> linked with -rdynamic option, in order to make all symbols in the
> executable to be available to plugins.

The only way you're going to be able to make this work with windows dlls (and,
frankly, a better way to make this work in elf without -export-dynamic), is to
make the "main" part of qemu itself a shared library, so that the modules can
link against it.

This reduces the qemu executable to, more or less, _start +/- main.



r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]