qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 2/5] machine: introduce get_fw_dev_path() callba


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 2/5] machine: introduce get_fw_dev_path() callback
Date: Tue, 03 Dec 2013 10:41:19 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9

Il 03/12/2013 10:32, Alexey Kardashevskiy ha scritto:
>> > Absolutely not.  It's merely not portable to machines with object file
>> > formats and linkers stuck in the 80s.  However, we routinely twist
>> > ourselves into knots for portability (observation, not endorsement), and
>> > at least one previous attempt[*] to introduce weak symbols got nowhere.
>> > 
>> > [*] https://lists.nongnu.org/archive/html/qemu-devel/2012-07/msg03853.html
> 
> Since that GCC_WEAK patch did not make it to upstream, there must be
> another way of fixing my issue :)

FWIW, the successor to that patch is the libqemustub.a static library,
which is so 1980s but has exactly the same functionality as weak symbols.

In your case, you do not even need a stub, I think.

Paolo



reply via email to

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