I have committed the attached patch to make i486 the default arch on
NetBSD in the same way as for FreeBSD, as 386 CPUs are not supported on
any maintained version of NetBSD.
Bootstrapped and tested on i386-unknown-netbsdelf6.1
/Krister
2016-12-10 Krister Walfridsson <krister.walfrids...@gmail.com>
* config.gcc (i386-*-netbsd*): Make i486 the default arch on NetBSD.
Generally use cpu generic.
Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc (revision 243518)
+++ gcc/config.gcc (revision 243519)
@@ -3061,6 +3061,12 @@
arch_without_sse2=yes
arch_without_64bit=yes
;;
+ i386-*-netbsd*)
+ arch=i486
+ cpu=generic
+ arch_without_sse2=yes
+ arch_without_64bit=yes
+ ;;
i386-*-*)
arch=i386
cpu=i386