public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin/cygwin-3_4-branch] Cygwin: reinstantiate exporting _alloca
@ 2023-01-09 13:04 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2023-01-09 13:04 UTC (permalink / raw)
  To: cygwin-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=8fe5b333b311ceb1f7576b2835c4ffc475f5fc69

commit 8fe5b333b311ceb1f7576b2835c4ffc475f5fc69
Author:     Corinna Vinschen <corinna@vinschen.de>
AuthorDate: Mon Jan 9 13:35:32 2023 +0100
Commit:     Corinna Vinschen <corinna@vinschen.de>
CommitDate: Mon Jan 9 13:43:26 2023 +0100

    Cygwin: reinstantiate exporting _alloca
    
    This basically reverts commit 1556b96b1b3b03112f271dfe30e043ed538354fd.
    
    Turns out that _alloca is actually used, for instance, by clang.

Diff:
---
 winsup/cygwin/cygwin.din               | 1 +
 winsup/cygwin/include/cygwin/version.h | 3 ++-
 winsup/cygwin/release/3.4.4            | 3 +++
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din
index f1371af1b622..c6768e4fcec8 100644
--- a/winsup/cygwin/cygwin.din
+++ b/winsup/cygwin/cygwin.din
@@ -133,6 +133,7 @@ __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/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index 412ff4c45ba0..18e437e862b4 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -478,12 +478,13 @@ details. */
   342: Remove cleanup_glue.
   343: Change FD_SETSIZE and NOFILE.
   344: Remove _alloca.
+  345: Reinstantiate _alloca.
 
   Note that we forgot to bump the api for ualarm, strtoll, strtoull,
   sigaltstack, sethostname. */
 
 #define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 344
+#define CYGWIN_VERSION_API_MINOR 345
 
 /* There is also a compatibity version number associated with the shared memory
    regions.  It is incremented when incompatible changes are made to the shared
diff --git a/winsup/cygwin/release/3.4.4 b/winsup/cygwin/release/3.4.4
index 3331b31666da..a653b08a1a40 100644
--- a/winsup/cygwin/release/3.4.4
+++ b/winsup/cygwin/release/3.4.4
@@ -7,3 +7,6 @@ Bug Fixes
 - Fix hang-up of less on quit which occurs when it is started from non-cygwin
   shell and window is resized.
   Addresses: https://cygwin.com/pipermail/cygwin/2022-December/252737.html
+
+- Reinstantiate exporting _alloca.
+  Addresses: https://cygwin.com/pipermail/cygwin/2023-January/252797.html

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-09 13:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-09 13:04 [newlib-cygwin/cygwin-3_4-branch] Cygwin: reinstantiate exporting _alloca Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).