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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html