[PATCH 2/2 V3] Cygwin: gendef: export _alloca only on x86_64
Thirumalai Nagalingam
thirumalai.nagalingam@multicorewareinc.com
Thu Feb 19 19:30:16 GMT 2026
Hi,
Resending this patch to apply cleanly, as the previous version no longer applies due to changes in the dependent patch (https://cygwin.com/pipermail/cygwin-patches/2026q1/014647.html)
Thanks,
Thiru
In-Lined patch:
diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din
index c3518f480..7709a0653 100644
--- a/winsup/cygwin/cygwin.din
+++ b/winsup/cygwin/cygwin.din
@@ -144,7 +144,6 @@ __xdrrec_getrec SIGFE
__xdrrec_setnonblock SIGFE
__xpg_sigpause SIGFE
__xpg_strerror_r SIGFE
-_alloca = __alloca NOSIGFE
_dll_crt0 NOSIGFE
_Exit SIGFE
_exit SIGFE
diff --git a/winsup/cygwin/x86_64/cygwin.din b/winsup/cygwin/x86_64/cygwin.din
index 12a49b009..f352b5e8c 100644
--- a/winsup/cygwin/x86_64/cygwin.din
+++ b/winsup/cygwin/x86_64/cygwin.din
@@ -4,3 +4,4 @@
LIBRARY "cygwin1.dll" BASE=0x180040000
EXPORTS
+_alloca = __alloca NOSIGFE
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Cygwin-gendef-export-_alloca-only-on-x86_64.patch
Type: application/octet-stream
Size: 1235 bytes
Desc: 0002-Cygwin-gendef-export-_alloca-only-on-x86_64.patch
URL: <https://cygwin.com/pipermail/cygwin-patches/attachments/20260219/7eb02d41/attachment-0001.obj>
More information about the Cygwin-patches
mailing list