From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 943C0395B06B; Fri, 13 May 2022 12:38:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 943C0395B06B 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: configure: Define default valus for target specific variables X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/master X-Git-Oldrev: d4fa3b4abbf70a586034771267be8e4c1690a023 X-Git-Newrev: c0d5bb262dcd72b0256ed27460ebd0fd7a7d582d Message-Id: <20220513123827.943C0395B06B@sourceware.org> Date: Fri, 13 May 2022 12:38:27 +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: Fri, 13 May 2022 12:38:27 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3Dc0d5bb262dc= d72b0256ed27460ebd0fd7a7d582d commit c0d5bb262dcd72b0256ed27460ebd0fd7a7d582d Author: Corinna Vinschen Date: Thu Jan 27 12:41:55 2022 +0100 Cygwin: configure: Define default valus for target specific variables =20 Define default values for DLL_ENTRY, DIN_FILE, and TLSOFFSETS_H and drop them from the x86_64-specific branch. Keep the mechanism intact to allow other target CPUs if there ever will be. =20 Signed-off-by: Corinna Vinschen Diff: --- winsup/configure.ac | 10 +++++----- winsup/cygwin/{tlsoffsets64.h =3D> tlsoffsets-x86_64.h} | 0 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/winsup/configure.ac b/winsup/configure.ac index c0a43fc99..5d83c230a 100644 --- a/winsup/configure.ac +++ b/winsup/configure.ac @@ -65,12 +65,12 @@ no) ;; esac ]) =20 +DLL_ENTRY=3D"dll_entry" +DIN_FILE=3D"${target_cpu}.din" +TLSOFFSETS_H=3D"tlsoffsets-${target_cpu}.h" + case "$target_cpu" in - x86_64) - DLL_ENTRY=3D"dll_entry" - DIN_FILE=3D"x86_64.din" - TLSOFFSETS_H=3D"tlsoffsets64.h" - ;; + x86_64) ;; *) AC_MSG_ERROR([Invalid target processor "$target_cpu"]) ;; esac =20 diff --git a/winsup/cygwin/tlsoffsets64.h b/winsup/cygwin/tlsoffsets-x86_64= .h similarity index 100% rename from winsup/cygwin/tlsoffsets64.h rename to winsup/cygwin/tlsoffsets-x86_64.h