From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 3AE053852778; Wed, 3 Aug 2022 14:06:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3AE053852778 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Corinna Vinschen To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: drop macro and code for CYGWIN_VERSION_USE_PSEUDO_RELOC_IN_DLL X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/master X-Git-Oldrev: c874161ec5593e2698147c9d651cbd8f0fc23602 X-Git-Newrev: 12360f10ff4228288491d611c6897ee0f3781acc Message-Id: <20220803140620.3AE053852778@sourceware.org> Date: Wed, 3 Aug 2022 14:06:20 +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: Wed, 03 Aug 2022 14:06:20 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D12360f10ff4= 228288491d611c6897ee0f3781acc commit 12360f10ff4228288491d611c6897ee0f3781acc Author: Corinna Vinschen Date: Wed Aug 3 16:01:29 2022 +0200 Cygwin: drop macro and code for CYGWIN_VERSION_USE_PSEUDO_RELOC_IN_DLL =20 Signed-off-by: Corinna Vinschen Diff: --- winsup/cygwin/include/cygwin/version.h | 3 --- winsup/cygwin/pseudo-reloc.cc | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include= /cygwin/version.h index c6ac40aae..c8b19fc09 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -34,9 +34,6 @@ details. */ #define CYGWIN_VERSION_USER_API_VERSION_COMBINED \ CYGWIN_VERSION_PER_PROCESS_API_VERSION_COMBINED (user_data) =20 -#define CYGWIN_VERSION_USE_PSEUDO_RELOC_IN_DLL(u) \ - (CYGWIN_VERSION_PER_PROCESS_API_VERSION_COMBINED (u) >=3D 227) - #define CYGWIN_VERSION_CHECK_FOR_EXTRA_TM_MEMBERS \ (CYGWIN_VERSION_USER_API_VERSION_COMBINED >=3D 272) =20 diff --git a/winsup/cygwin/pseudo-reloc.cc b/winsup/cygwin/pseudo-reloc.cc index d015cc5e7..5a0eab936 100644 --- a/winsup/cygwin/pseudo-reloc.cc +++ b/winsup/cygwin/pseudo-reloc.cc @@ -363,7 +363,7 @@ do_pseudo_reloc (void * start, void * end, void * base) extern "C" void _pei386_runtime_relocator (per_process *u) { - if (u && CYGWIN_VERSION_USE_PSEUDO_RELOC_IN_DLL (u)) + if (u) do_pseudo_reloc (u->pseudo_reloc_start, u->pseudo_reloc_end, u->image_= base); } #else