aboutsummaryrefslogtreecommitdiff
path: root/tools/build_system
diff options
context:
space:
mode:
authorChris Kay <chris.kay@arm.com>2020-02-19 14:23:59 +0000
committerjimqui01 <54316584+jimqui01@users.noreply.github.com>2020-03-11 11:14:37 +0000
commit20928807f9b2720bb117a1e14cdc7dc0905dd9dc (patch)
tree09966d948964a0d3e2015d4a169c6eb95fb99c4e /tools/build_system
parent5e0088d91e69712bcbeef056a538ca9a3e79e136 (diff)
armv7m: Re-enable unaligned accesses
The Keil RTX libraries are compiled with unaligned accesses enabled, and so it is possible for RTX to trigger unaligned access violations with otherwise valid code. Unaligned accesses have been re-enabled to reduce the risk of encountering avoidable exceptions. Change-Id: I6b5867dda919db65033bfe6d889da0fd69ab4482 Signed-off-by: Chris Kay <chris.kay@arm.com>
Diffstat (limited to 'tools/build_system')
-rw-r--r--tools/build_system/cpu.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/build_system/cpu.mk b/tools/build_system/cpu.mk
index 48623cc9..e8c50d21 100644
--- a/tools/build_system/cpu.mk
+++ b/tools/build_system/cpu.mk
@@ -24,7 +24,6 @@ ifneq ($(findstring $(BS_FIRMWARE_CPU),$(ARMV7M_CPUS)),)
CFLAGS_CLANG += --target=arm-arm-none-eabi
CFLAGS += -mfloat-abi=soft # No hardware floating point support
- CFLAGS += -mno-unaligned-access # Disable unaligned access code generation
else ifeq ($(BS_FIRMWARE_CPU),host)
BS_ARCH_ARCH := host