public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org>
To: cygwin-cvs@sourceware.org
Subject: [newlib-cygwin] Cygwin: configure: Define default valus for target specific variables
Date: Fri, 13 May 2022 12:38:27 +0000 (GMT)	[thread overview]
Message-ID: <20220513123827.943C0395B06B@sourceware.org> (raw)

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

commit c0d5bb262dcd72b0256ed27460ebd0fd7a7d582d
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Thu Jan 27 12:41:55 2022 +0100

    Cygwin: configure: Define default valus for target specific variables
    
    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.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/configure.ac                                   | 10 +++++-----
 winsup/cygwin/{tlsoffsets64.h => 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
 ])
 
+DLL_ENTRY="dll_entry"
+DIN_FILE="${target_cpu}.din"
+TLSOFFSETS_H="tlsoffsets-${target_cpu}.h"
+
 case "$target_cpu" in
-   x86_64)
-		DLL_ENTRY="dll_entry"
-		DIN_FILE="x86_64.din"
-		TLSOFFSETS_H="tlsoffsets64.h"
-		;;
+   x86_64)	;;
    *)		AC_MSG_ERROR([Invalid target processor "$target_cpu"]) ;;
 esac
 
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


                 reply	other threads:[~2022-05-13 12:38 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=20220513123827.943C0395B06B@sourceware.org \
    --to=corinna@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).