From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2210) id C0647396C5D3; Sat, 11 Jun 2022 12:56:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C0647396C5D3 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Ken Brown To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: restore one more '#ifdef __x86_64__' X-Act-Checkin: newlib-cygwin X-Git-Author: Ken Brown X-Git-Refname: refs/heads/master X-Git-Oldrev: bbfe79fb725a1f8833143416f10db822e04f902b X-Git-Newrev: ddce45112d96d35d57c8423747d615f86f5e5c09 Message-Id: <20220611125653.C0647396C5D3@sourceware.org> Date: Sat, 11 Jun 2022 12:56:53 +0000 (GMT) X-BeenThere: cygwin-cvs@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component git logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jun 2022 12:56:53 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3Dddce45112d9= 6d35d57c8423747d615f86f5e5c09 commit ddce45112d96d35d57c8423747d615f86f5e5c09 Author: Ken Brown 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 =20 fesetenv (FE_DFL_ENV); _main_tls =3D &_my_tls;