diff options
author | Spencer Oliver <ntfreak@users.sourceforge.net> | 2011-01-06 10:35:02 +0000 |
---|---|---|
committer | Spencer Oliver <ntfreak@users.sourceforge.net> | 2011-01-06 10:35:02 +0000 |
commit | 7351eecf6a6f1bf271c581f7f75525c3f9f44039 (patch) | |
tree | dcb20ab7f1e77688593bfe79d54d0524488123e1 | |
parent | 6a1750e96159e12f12c65db1d8c0461bb0aa6ec4 (diff) | |
download | openocd_libswd-7351eecf6a6f1bf271c581f7f75525c3f9f44039.tar.gz openocd_libswd-7351eecf6a6f1bf271c581f7f75525c3f9f44039.tar.bz2 openocd_libswd-7351eecf6a6f1bf271c581f7f75525c3f9f44039.tar.xz openocd_libswd-7351eecf6a6f1bf271c581f7f75525c3f9f44039.zip |
loader: update loader src for armv7-m arch
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
-rw-r--r-- | contrib/loaders/checksum/armv7m_crc.s | 2 | ||||
-rw-r--r-- | 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 */ |