From: Paul Iannetta <piannetta@kalrayinc.com>
To: binutils@sourceware.org
Cc: Paul Iannetta <piannetta@kalrayinc.com>
Subject: [PATCH 7/7] kvx: Add toplevel files.
Date: Fri, 21 Jul 2023 09:49:56 +0200 [thread overview]
Message-ID: <20230721074956.7188-8-piannetta@kalrayinc.com> (raw)
In-Reply-To: <20230721074956.7188-1-piannetta@kalrayinc.com>
ChangeLog:
2023-07-20 Paul Iannetta <piannetta@kalrayinc.com>
* config.guess: Add kvx support.
* config.sub: Likewise.
* configure: Likewise.
* configure.ac: Likewise.
---
config.guess | 9 +++++++++
config.sub | 16 ++++++++++++----
configure | 12 ++++++++++++
configure.ac | 12 ++++++++++++
4 files changed, 45 insertions(+), 4 deletions(-)
diff --git a/config.guess b/config.guess
index 354a8ccde42..72d235025ed 100755
--- a/config.guess
+++ b/config.guess
@@ -1042,6 +1042,15 @@ EOF
k1om:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
+ kvx:Linux:*:*)
+ GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
+ ;;
+ kvx:cos:*:*)
+ GUESS=$UNAME_MACHINE-unknown-cos
+ ;;
+ kvx:mbr:*:*)
+ GUESS=$UNAME_MACHINE-unknown-mbr
+ ;;
loongarch32:Linux:*:* | loongarch64:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
diff --git a/config.sub b/config.sub
index f6ede1d0dc0..9a7a3ed642d 100755
--- a/config.sub
+++ b/config.sub
@@ -4,7 +4,7 @@
# shellcheck disable=SC2006,SC2268 # see below for rationale
-timestamp='2023-06-23'
+timestamp='2023-06-26'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -145,7 +145,8 @@ case $1 in
nto-qnx* | linux-* | uclinux-uclibc* \
| uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \
| netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \
- | storm-chaos* | os2-emx* | rtmk-nova* | managarm-*)
+ | storm-chaos* | os2-emx* | rtmk-nova* | managarm-* \
+ | windows-* )
basic_machine=$field1
basic_os=$maybe_os
;;
@@ -1205,6 +1206,7 @@ case $cpu-$vendor in
| i370 | i*86 | i860 | i960 | ia16 | ia64 \
| ip2k | iq2000 \
| k1om \
+ | kvx \
| le32 | le64 \
| lm32 \
| loongarch32 | loongarch64 \
@@ -1758,7 +1760,7 @@ case $os in
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
- | fiwix* | mlibc* )
+ | fiwix* | mlibc* | cos* | mbr* )
;;
# This one is extra strict with allowed versions
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
@@ -1766,7 +1768,7 @@ case $os in
;;
none)
;;
- kernel* )
+ kernel* | msvc* )
# Restricted further below
;;
*)
@@ -1785,6 +1787,8 @@ case $kernel-$os in
;;
managarm-mlibc* | managarm-kernel* )
;;
+ windows*-gnu* | windows*-msvc*)
+ ;;
-dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* | -mlibc* )
# These are just libc implementations, not actual OSes, and thus
# require a kernel.
@@ -1799,6 +1803,10 @@ case $kernel-$os in
echo "Invalid configuration '$1': '$kernel' does not support '$os'." 1>&2
exit 1
;;
+ *-msvc* )
+ echo "Invalid configuration '$1': '$os' needs 'windows'." 1>&2
+ exit 1
+ ;;
kfreebsd*-gnu* | kopensolaris*-gnu*)
;;
vxworks-simlinux | vxworks-simwindows | vxworks-spe)
diff --git a/configure b/configure
index 9cb953a197e..e290504918c 100755
--- a/configure
+++ b/configure
@@ -3702,6 +3702,15 @@ case "${target}" in
cris-*-* | crisv32-*-*)
libgloss_dir=cris
;;
+ kvx-*-elf)
+ libgloss_dir=kvx-elf
+ ;;
+ kvx-*-mbr)
+ libgloss_dir=kvx-mbr
+ ;;
+ kvx-*-cos)
+ libgloss_dir=kvx-cos
+ ;;
hppa*-*-*)
libgloss_dir=pa
;;
@@ -3996,6 +4005,9 @@ case "${target}" in
i[3456789]86-*-rdos*)
noconfigdirs="$noconfigdirs gdb"
;;
+ kvx-*-*)
+ noconfigdirs="$noconfigdirs gdb sim"
+ ;;
mmix-*-*)
noconfigdirs="$noconfigdirs gdb"
;;
diff --git a/configure.ac b/configure.ac
index e95a9ed116e..2444a774e02 100644
--- a/configure.ac
+++ b/configure.ac
@@ -935,6 +935,15 @@ case "${target}" in
cris-*-* | crisv32-*-*)
libgloss_dir=cris
;;
+ kvx-*-elf)
+ libgloss_dir=kvx-elf
+ ;;
+ kvx-*-mbr)
+ libgloss_dir=kvx-mbr
+ ;;
+ kvx-*-cos)
+ libgloss_dir=kvx-cos
+ ;;
hppa*-*-*)
libgloss_dir=pa
;;
@@ -1229,6 +1238,9 @@ case "${target}" in
i[[3456789]]86-*-rdos*)
noconfigdirs="$noconfigdirs gdb"
;;
+ kvx-*-*)
+ noconfigdirs="$noconfigdirs gdb sim"
+ ;;
mmix-*-*)
noconfigdirs="$noconfigdirs gdb"
;;
--
2.35.1.500.gb896f729e2
next prev parent reply other threads:[~2023-07-21 7:50 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-21 7:49 [PATCH 0/7] kvx: New port Paul Iannetta
2023-07-21 7:49 ` [PATCH 1/7] kvx: Add bf files Paul Iannetta
2023-07-21 7:49 ` [PATCH 2/7] kvx: Add binutils files Paul Iannetta
2023-07-21 7:49 ` [PATCH 3/7] kvx: Add gas file Paul Iannetta
2023-07-21 7:49 ` [PATCH 4/7] kvx: Add ld files Paul Iannetta
2023-07-21 7:49 ` [PATCH 5/7] kvx: Add include files Paul Iannetta
2023-07-21 7:49 ` [PATCH 6/7] kvx: Add opcodes file Paul Iannetta
2023-07-21 7:49 ` Paul Iannetta [this message]
2023-07-21 8:29 ` [PATCH 0/7] kvx: New port Nick Clifton
[not found] ` <20230721090932.pspnpq2q2wjnshrh@ws2202.lin.mbt.kalray.eu>
[not found] ` <2050791e-38ee-5719-037f-c03c456f3e3d@redhat.com>
2023-07-21 16:47 ` Paul Iannetta
2023-07-21 17:00 ` Paul Iannetta
2023-07-21 8:57 ` YunQiang Su
2023-07-21 16:51 ` Paul Iannetta
2023-07-24 9:04 ` Nick Clifton
2023-07-24 9:38 ` Paul Iannetta
2023-07-24 9:28 ` Nick Clifton
2023-07-24 12:33 ` Paul Iannetta
2023-07-24 14:30 ` Paul Iannetta
2023-07-25 14:13 ` Nick Clifton
2023-07-26 7:36 ` Paul Iannetta
2023-07-26 13:32 ` Michael Matz
2023-07-26 21:46 ` Paul Iannetta
2023-07-26 21:24 ` [PATCH v2] " Paul Iannetta
2023-07-31 14:52 ` Nick Clifton
2023-08-02 14:38 ` [PATCH v3] " Paul Iannetta
2023-08-16 13:24 ` Nick Clifton
2023-08-17 9:45 ` Luis Machado
2023-08-17 15:09 ` Paul Iannetta
2023-08-17 16:28 ` Luis Machado
2023-08-17 23:20 ` Alan Modra
2023-08-18 7:13 ` Paul Iannetta
2023-08-17 12:46 ` Paul Iannetta
2023-07-24 9:53 ` [PATCH 0/7] " Nick Clifton
2023-07-24 12:27 ` Paul Iannetta
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=20230721074956.7188-8-piannetta@kalrayinc.com \
--to=piannetta@kalrayinc.com \
--cc=binutils@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).