summaryrefslogtreecommitdiff
path: root/cross/i386-netbsdpe/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'cross/i386-netbsdpe/patches/patch-ab')
-rw-r--r--cross/i386-netbsdpe/patches/patch-ab16
1 files changed, 16 insertions, 0 deletions
diff --git a/cross/i386-netbsdpe/patches/patch-ab b/cross/i386-netbsdpe/patches/patch-ab
new file mode 100644
index 00000000000..647fafa7634
--- /dev/null
+++ b/cross/i386-netbsdpe/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2002/03/18 03:04:41 kent Exp $
+
+--- gcc/config/i386/cygwin.asm.orig Thu Dec 17 06:03:13 1998
++++ gcc/config/i386/cygwin.asm
+@@ -3,9 +3,9 @@
+ #ifdef L_chkstk
+
+ .global ___chkstk
+- .global __alloca
++ .global __builtin_alloca_checkstack
+ ___chkstk:
+-__alloca:
++__builtin_alloca_checkstack:
+ pushl %ecx /* save temp */
+ movl %esp,%ecx /* get sp */
+ addl $0x8,%ecx /* and point to return addr */