Hi folks,

recent changes have needed adjustments on our (NetBSD) side.
I've attached the patches for them.

Let me know what you think.
>From 72c770c136c6b3e783c98194cb928888f252e034 Mon Sep 17 00:00:00 2001
From: Maya Rashish <co...@sdf.org>
Date: Thu, 3 Jan 2019 18:33:48 +0200
Subject: [PATCH 1/2] Recognise mips64 as mips64

This cpu choice is done by NetBSD/mips64 uname -p.
---
 config.sub | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.sub b/config.sub
index 75bb6a3..5db242e 100755
--- a/config.sub
+++ b/config.sub
@@ -1028,7 +1028,7 @@ case $cpu-$vendor in
                cpu=powerpc
                os=$os"spe"
                ;;
-       mips3*-*)
+       mips3*-* | mips64*-*)
                cpu=mips64
                ;;
        ms1-*)
-- 
2.19.1

>From f2c3d92642b9cc6c27ebf6ad2d75e11b5b9e01f5 Mon Sep 17 00:00:00 2001
From: Maya Rashish <co...@sdf.org>
Date: Thu, 3 Jan 2019 18:35:48 +0200
Subject: [PATCH 2/2] Identify 32-bit SuperH in the same way that GCC currently
 does.

The notable difference is that "shl", chosen for netbsd/sh by
config.guess, is now recognised.
---
 config.sub | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/config.sub b/config.sub
index 5db242e..8ad81ec 100755
--- a/config.sub
+++ b/config.sub
@@ -1230,8 +1230,7 @@ case $cpu-$vendor in
                        | riscv | riscv32 | riscv64 \
                        | rl78 | romp | rs6000 | rx \
                        | score \
-                       | sh | sh[1234] | sh[24]a | sh[24]ae[lb] | sh[23]e | 
she[lb] | sh[lb]e \
-                       | sh[1234]e[lb] |  sh[12345][lb]e | sh[23]ele | sh64 | 
sh64le \
+                       | sh | sh[123456789lbe]* | sh64 | sh64le \
                        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | 
sparclet \
                        | sparclite \
                        | sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \
-- 
2.19.1

_______________________________________________
config-patches mailing list
config-patches@gnu.org
https://lists.gnu.org/mailman/listinfo/config-patches

Reply via email to