commit | 418998598923692b2bebc95cc296c2810ee73606 | [log] [tgz] |
---|---|---|
author | Jianliang Shen <jianliang.shen@arm.com> | Wed Nov 01 11:03:40 2023 +0800 |
committer | David Hu <david.hu@arm.com> | Sat Nov 04 16:22:10 2023 +0100 |
tree | ea7c8bf19646f71a23ff0cd0fefde1a529c94824 | |
parent | 76f722c79fe3efacf1d377e6cf1902cb205e4dd7 [diff] |
PSoC: Align 8 bytes functions configuration in ARMClang PSoC64 functions are permitted to depend on the 8-byte aligment of 8-byte data items, while the NS startup file doesn't require code to preserve 8-byte data objects. That makes a warning when building. Signed-off-by: Jianliang Shen <jianliang.shen@arm.com> Change-Id: If149282cbaca94e75e367116308a6e0fe933b18f
diff --git a/platform/ext/target/cypress/psoc64/Device/Source/armclang/startup_psoc64_ns.s b/platform/ext/target/cypress/psoc64/Device/Source/armclang/startup_psoc64_ns.s index 6fb6f2c..4e67469 100644 --- a/platform/ext/target/cypress/psoc64/Device/Source/armclang/startup_psoc64_ns.s +++ b/platform/ext/target/cypress/psoc64/Device/Source/armclang/startup_psoc64_ns.s
@@ -24,6 +24,8 @@ ;//-------- <<< Use Configuration Wizard in Context Menu >>> ------------------ ;*/ + PRESERVE8 + IMPORT |Image$$ARM_LIB_STACK$$ZI$$Limit| ; The CPU VTOR register