aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2023-01-09 13:35:32 +0100
committerCorinna Vinschen <corinna@vinschen.de>2023-01-09 13:42:53 +0100
commit7886327fbf92e6ad8bd3f27ea9fa8bd54cc44bdd (patch)
tree182af5687d0a056e639d866b35d01355e3314121 /winsup
parentad3f9820b16a3dc5ea6237106436f565fcb2ed3e (diff)
downloadnewlib-7886327fbf92e6ad8bd3f27ea9fa8bd54cc44bdd.zip
newlib-7886327fbf92e6ad8bd3f27ea9fa8bd54cc44bdd.tar.gz
newlib-7886327fbf92e6ad8bd3f27ea9fa8bd54cc44bdd.tar.bz2
Cygwin: reinstantiate exporting _alloca
This basically reverts commit 1556b96b1b3b03112f271dfe30e043ed538354fd. Turns out that _alloca is actually used, for instance, by clang.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/cygwin.din1
-rw-r--r--winsup/cygwin/include/cygwin/version.h3
-rw-r--r--winsup/cygwin/release/3.4.43
3 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din
index f1371af..c6768e4 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 fb24fc6..0644311 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 3331b31..a653b08 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