From 7351eecf6a6f1bf271c581f7f75525c3f9f44039 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Thu, 6 Jan 2011 10:35:02 +0000 Subject: [PATCH] loader: update loader src for armv7-m arch Signed-off-by: Spencer Oliver --- contrib/loaders/checksum/armv7m_crc.s | 2 +- contrib/loaders/flash/armv7m_cfi_span_16.s | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/contrib/loaders/checksum/armv7m_crc.s b/contrib/loaders/checksum/armv7m_crc.s index e50db0a7..4a1e8b4a 100644 --- a/contrib/loaders/checksum/armv7m_crc.s +++ b/contrib/loaders/checksum/armv7m_crc.s @@ -26,7 +26,7 @@ .text .syntax unified - .cpu cortex-m3 + .arch armv7-m .thumb .thumb_func diff --git a/contrib/loaders/flash/armv7m_cfi_span_16.s b/contrib/loaders/flash/armv7m_cfi_span_16.s index 7a9923f0..ee3aa579 100644 --- a/contrib/loaders/flash/armv7m_cfi_span_16.s +++ b/contrib/loaders/flash/armv7m_cfi_span_16.s @@ -21,10 +21,12 @@ ***************************************************************************/ .text - .arm - .arch armv4 + .syntax unified + .arch armv7-m + .thumb + .thumb_func - .section .init + .align 2 /* input parameters - */ /* R0 = source address */ -- 2.39.5