From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lpkob-00044y-EU for qemu-devel@nongnu.org; Fri, 03 Apr 2009 10:56:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LpkoW-00043M-3k for qemu-devel@nongnu.org; Fri, 03 Apr 2009 10:56:16 -0400 Received: from [199.232.76.173] (port=33951 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LpkoV-00043F-Tq for qemu-devel@nongnu.org; Fri, 03 Apr 2009 10:56:11 -0400 Received: from mx2.redhat.com ([66.187.237.31]:54589) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LpkoV-0001vi-EC for qemu-devel@nongnu.org; Fri, 03 Apr 2009 10:56:11 -0400 Message-ID: <49D62338.30009@redhat.com> Date: Fri, 03 Apr 2009 17:54:48 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] [RFC] Introduce module API to QEMU References: <1238724755-15929-1-git-send-email-aliguori@us.ibm.com> <20090403140419.GA23421@caradoc.them.org> In-Reply-To: <20090403140419.GA23421@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori , Paul Brook Daniel Jacobowitz wrote: > Yes, this does raise the question of how __attribute__((constructor)) > works. Maybe it's specific to new named sections? Maybe I'm just > misremembering. Anyway, whatever you come up with, testing on > Windows would be a good idea if you haven't already. > I'm guessing it's just a C interface to C++ static constructors. Since gcc supports C++ on Windows, I'd expect this to work. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.