From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH 5/5 V2] kvm tools: Initialize and use VESA and VNC Date: Tue, 24 May 2011 11:18:29 +0200 Message-ID: <4DDB77E5.4080306@redhat.com> References: <1306149553-26793-1-git-send-email-levinsasha928@gmail.com> <1306149553-26793-5-git-send-email-levinsasha928@gmail.com> <20110523113824.GE4042@elte.hu> <4DDB6E55.8080408@redhat.com> <20110524085024.GA31453@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Sasha Levin , penberg@kernel.org, john@jfloren.net, kvm@vger.kernel.org, asias.hejun@gmail.com, gorcunov@gmail.com, prasadjoshi124@gmail.com To: Ingo Molnar Return-path: Received: from mx1.redhat.com ([209.132.183.28]:21175 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752653Ab1EXJTD (ORCPT ); Tue, 24 May 2011 05:19:03 -0400 In-Reply-To: <20110524085024.GA31453@elte.hu> Sender: kvm-owner@vger.kernel.org List-ID: 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