Re: [PATCH 5/5 V2] kvm tools: Initialize and use VESA and VNC

Paolo Bonzini
2011-05-24T09:19:03Z

On 05/24/2011 10:50 AM, Ingo Molnar wrote:
> - C constructors have random limitations like apparently not being executed if
> the constructor is linked into a .a static library.

Ah, forgot about this. Given _why_ this happens (for static libraries,
the linker omits object modules that are not required to fulfill
undefined references in previous objects), I'd be surprised if explicit
section tricks do not have the same limitation. After all the
constructor attribute is only syntactic sugar for section tricks.

Paolo