|
From: | Christian Franke |
Subject: | Re: [PATCH] Add __enable_execute_stack() if required |
Date: | Fri, 19 Sep 2008 09:05:28 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11 |
walt wrote:
Robert Millan wrote:On Tue, Sep 16, 2008 at 09:42:50PM +0200, Christian Franke wrote:Some gcc versions generate a call to __enable_execute_stack() intrampolines for nested functions. This is the case for new Cygwin gcc-4.3.2.Other GRUB2 target platforms may be affected - the following files in'gcc-4.3.2/gcc/config' source directory contains implementations of thisfunction for libgcc: alpha/osf.h darwin.h netbsd.hI recall this was also an issue for NetBSD indeed. Could someone confirm itfixes the problem there?It does fix the problem on NetBSD, thanks Christian.
You're welcome. Thanks for testing. Patch committed.If more such functions are necessary in the future, it is probably better to collect those in some libgcc.a replacement module. This would be the case if e.g. for the 64-bit integer division. On 32-bit architectures, gcc typically generates a call to __divdi3().
Christian
[Prev in Thread] | Current Thread | [Next in Thread] |