Hi Corinna,

>Is that right?  I'm missing the patch hunk removing _alloca from the common 
>cygwin.din...

Thanks for pointing that out, I missed removing the _alloca entry from the 
common
cygwin.din file.
I have attached the (v2) patch to remove _alloca from the common export
list and add it to the x86_64-specific cygwin.din file.

Thanks,
Thirumalai Nagalingam

In-lined patch:

diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din
index cd71da274..b20ff3e8f 100644
--- a/winsup/cygwin/cygwin.din
+++ b/winsup/cygwin/cygwin.din
@@ -147,7 +147,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 228894623..dfd50a4c3 100644
--- a/winsup/cygwin/x86_64/cygwin.din
+++ b/winsup/cygwin/x86_64/cygwin.din
@@ -1,2 +1,4 @@
 # x86_64-specific exports
 # These symbols are only available on x86/x64 architectures
+
+_alloca = __alloca NOSIGFE
--

Attachment: 0002-Cygwin-gendef-export-_alloca-only-on-x86_64.patch
Description: 0002-Cygwin-gendef-export-_alloca-only-on-x86_64.patch

Reply via email to