public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: configure: Define default valus for target specific variables
@ 2022-05-13 12:38 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2022-05-13 12:38 UTC (permalink / raw)
  To: cygwin-cvs

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-13 12:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-13 12:38 [newlib-cygwin] Cygwin: configure: Define default valus for target specific variables Corinna Vinschen

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).