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