Instead of armv4 tuned for strongarm switch to an armv5te default to
allow additional instructions to be used (clz etc).

armish and zaurus are both xscale (armv5te with additional extensions).

The builtin gcc defines change from
#define __ARM_ARCH_4__ 1
to
#define __ARM_ARCH_5TE__ 1

-mthumb-interwork remains off by default.

Index: openbsd.h
===================================================================
RCS file: /cvs/src/gnu/gcc/gcc/config/arm/openbsd.h,v
retrieving revision 1.4
diff -u -p -r1.4 openbsd.h
--- openbsd.h   21 Oct 2011 10:17:08 -0000      1.4
+++ openbsd.h   18 Mar 2016 22:33:16 -0000
@@ -38,8 +38,8 @@ Boston, MA 02111-1307, USA.  */
 
 #undef MULTILIB_DEFAULTS
 
-/* strongarm family default cpu.  */
-#define SUBTARGET_CPU_DEFAULT TARGET_CPU_strongarm
+/* armv5te default cpu.  */
+#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9e
 
 /* Default is to use APCS-32 mode.  */
 

Reply via email to