Index: src/arm/constants-arm.h |
=================================================================== |
--- src/arm/constants-arm.h (revision 4732) |
+++ src/arm/constants-arm.h (working copy) |
@@ -66,10 +66,15 @@ |
# define CAN_USE_THUMB_INSTRUCTIONS 1 |
#endif |
-// Simulator should support ARM5 instructions. |
+// Simulator should support ARM5 instructions and unaligned access by default. |
#if !defined(__arm__) |
# define CAN_USE_ARMV5_INSTRUCTIONS 1 |
# define CAN_USE_THUMB_INSTRUCTIONS 1 |
+ |
+# ifndef CAN_USE_UNALIGNED_ACCESSES |
+# define CAN_USE_UNALIGNED_ACCESSES 1 |
+# endif |
+ |
#endif |
#if CAN_USE_UNALIGNED_ACCESSES |