From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22101 invoked by alias); 5 Sep 2009 13:41:29 -0000 Received: (qmail 22093 invoked by uid 22791); 5 Sep 2009 13:41:28 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail.codeweavers.com (HELO mail.codeweavers.com) (216.251.189.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 05 Sep 2009 13:41:24 +0000 Received: from chello084112174163.20.11.vie.surfer.at ([84.112.174.163] helo=[192.168.0.7]) by mail.codeweavers.com with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63) (envelope-from ) id 1MjvVx-0002Xw-Ag; Sat, 05 Sep 2009 08:41:21 -0500 Cc: gcc@gcc.gnu.org Message-Id: <6B0EAB2B-430F-4B42-9CC7-1B2A4C627AF0@codeweavers.com> From: =?ISO-8859-1?Q?Stefan_D=F6singer?= To: Paolo Bonzini In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: MSVC hook function prologue Date: Sat, 05 Sep 2009 13:41:00 -0000 References: <200909022245.51969.stefan@codeweavers.com> <4AA106CB.306@gnu.org> <200909041449.43772.stefan@codeweavers.com> <200909041635.18986.stefan@codeweavers.com> X-Spam-Score: -3.9 X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-09/txt/msg00129.txt.bz2 > Are there non-Microsoft DLLs that expect to be hooked this way? If > so, I think the patch is interesting for gcc independent of whether it > is useful for Wine. I haven't seen any so far. Its certainly possible some server apps have the 2 byte nop at the beginning of functions for a similar hot- patching mechanism, but beyond that I don't think any app needs this.