committed: make i486 default arch for x86 NetBSD
Krister Walfridsson
krister.walfridsson@gmail.com
Sat Dec 10 21:26:00 GMT 2016
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.walfridsson@gmail.com>
* config.gcc (i386-*-netbsd*): Make i486 the default arch on NetBSD.
Generally use cpu generic.
-------------- next part --------------
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
More information about the Gcc-patches
mailing list