]> git.sur5r.net Git - openocd/commitdiff
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 e50db0a7bde0266319f61d065b45542c63624069..4a1e8b4a97e18b60b927532d71814750f010e41f 100644 (file)
@@ -26,7 +26,7 @@
 
        .text
        .syntax unified
-       .cpu cortex-m3
+       .arch armv7-m
        .thumb
        .thumb_func
        
index 7a9923f07f4f9c6587f654223a1a38121604271a..ee3aa579494cf9f67b75bf71cb392b157c025ed4 100644 (file)
  ***************************************************************************/
 
        .text
-       .arm
-       .arch armv4
+       .syntax unified
+       .arch armv7-m
+       .thumb
+       .thumb_func
 
-       .section .init
+       .align 2
 
 /* input parameters - */
 /*     R0 = source address */