summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2017-01-01 03:16:49 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2017-01-01 03:16:49 +0000
commitd86394c36a6100b16a7b43d64ad5c78fbbc9c63a (patch)
treedac275c6a6ebdbef62f350bfccbd9c6ba28a9690 /gnu
parentbfa5d15af0413b3a4c93d3283565e2b5e5108df5 (diff)
Switch the arm default config from arm9e (armv5te) to mpcore (armv6k).
The same change was made in ports gcc 4.9 already. This is is most recent arm architecture version base gcc has support for. This changes builtin defines from __ARM_ARCH_5TE__ to __ARM_ARCH_6K__. These defines are often used to select between inline assembly paths. Note that base gcc still lacks support for atomic builtins available in ports gcc and clang however. ok patrick@ kettenis@
Diffstat (limited to 'gnu')
-rw-r--r--gnu/gcc/gcc/config/arm/openbsd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/gcc/gcc/config/arm/openbsd.h b/gnu/gcc/gcc/config/arm/openbsd.h
index 9431be1deb7..0daacab4d4d 100644
--- a/gnu/gcc/gcc/config/arm/openbsd.h
+++ b/gnu/gcc/gcc/config/arm/openbsd.h
@@ -38,8 +38,8 @@ Boston, MA 02111-1307, USA. */
#undef MULTILIB_DEFAULTS
-/* armv5te default cpu. */
-#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9e
+/* armv6k default cpu. */
+#define SUBTARGET_CPU_DEFAULT TARGET_CPU_mpcore
/* We default to a soft-float ABI so that binaries can run on all
target hardware. */