aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2022-06-11 08:56:08 -0400
committerKen Brown <kbrown@cornell.edu>2022-06-11 08:56:08 -0400
commitddce45112d96d35d57c8423747d615f86f5e5c09 (patch)
tree97600d47da3142fd323d67d83597f34bd6cca8b9 /winsup/cygwin
parentbbfe79fb725a1f8833143416f10db822e04f902b (diff)
downloadnewlib-ddce45112d96d35d57c8423747d615f86f5e5c09.zip
newlib-ddce45112d96d35d57c8423747d615f86f5e5c09.tar.gz
newlib-ddce45112d96d35d57c8423747d615f86f5e5c09.tar.bz2
Cygwin: restore one more '#ifdef __x86_64__'
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/dcrt0.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index a8ed8e2..9cbb890 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -1016,6 +1016,7 @@ __cygwin_exit_return: \n\
extern "C" void __stdcall
_dll_crt0 ()
{
+#ifdef __x86_64__
/* Starting with Windows 10 rel 1511, the main stack of an application is
not reproducible if a 64 bit process has been started from a 32 bit
process. Given that we have enough virtual address space on 64 bit
@@ -1048,6 +1049,9 @@ _dll_crt0 ()
else
fork_info->alloc_stack ();
}
+#else
+#error unimplemented for this target
+#endif
fesetenv (FE_DFL_ENV);
_main_tls = &_my_tls;