loader: update loader src for armv7-m arch
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Thu, 6 Jan 2011 10:35:02 +0000 (10:35 +0000)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Thu, 6 Jan 2011 10:35:02 +0000 (10:35 +0000)
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
contrib/loaders/checksum/armv7m_crc.s
contrib/loaders/flash/armv7m_cfi_span_16.s

index e50db0a..4a1e8b4 100644 (file)
@@ -26,7 +26,7 @@
 
        .text
        .syntax unified
-       .cpu cortex-m3
+       .arch armv7-m
        .thumb
        .thumb_func
        
index 7a9923f..ee3aa57 100644 (file)
  ***************************************************************************/
 
        .text
-       .arm
-       .arch armv4
+       .syntax unified
+       .arch armv7-m
+       .thumb
+       .thumb_func
 
-       .section .init
+       .align 2
 
 /* input parameters - */
 /*     R0 = source address */