public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
From: Ken Brown <kbrown@sourceware.org>
To: cygwin-cvs@sourceware.org
Subject: [newlib-cygwin] Cygwin: restore one more '#ifdef __x86_64__'
Date: Sat, 11 Jun 2022 12:56:53 +0000 (GMT)	[thread overview]
Message-ID: <20220611125653.C0647396C5D3@sourceware.org> (raw)

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

commit ddce45112d96d35d57c8423747d615f86f5e5c09
Author: Ken Brown <kbrown@cornell.edu>
Date:   Sat Jun 11 08:56:08 2022 -0400

    Cygwin: restore one more '#ifdef __x86_64__'

Diff:
---
 winsup/cygwin/dcrt0.cc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index a8ed8e2fe..9cbb8908f 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;


                 reply	other threads:[~2022-06-11 12:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220611125653.C0647396C5D3@sourceware.org \
    --to=kbrown@sourceware.org \
    --cc=cygwin-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).