summaryrefslogtreecommitdiffstats
path: root/gnu/gcc
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2017-01-01 03:16:48 +0000
committerjsg <jsg@openbsd.org>2017-01-01 03:16:48 +0000
commited211b14908fa305754b6c9cd4ac0c176aba1931 (patch)
tree90446eec8b4328b87f95492830a35b47d11ba5b3 /gnu/gcc
parentHyphenate compound adjectives 'up-to-date', 'out-of-date' and 'well-known' (diff)
downloadwireguard-openbsd-ed211b14908fa305754b6c9cd4ac0c176aba1931.tar.xz
wireguard-openbsd-ed211b14908fa305754b6c9cd4ac0c176aba1931.zip
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/gcc')
-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. */