]> git.sur5r.net Git - openocd/commitdiff
contrib: make sure loaders use correct arch
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Thu, 9 Dec 2010 16:42:04 +0000 (16:42 +0000)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Fri, 10 Dec 2010 13:42:29 +0000 (13:42 +0000)
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
contrib/loaders/flash/pic32mx.s
contrib/loaders/flash/stm32x.s
contrib/loaders/flash/str7x.s
contrib/loaders/flash/str9x.s

index b26ff61134da43460d9d38ebe1ca5e819fb425a5..d45ab111146b9b8f76363c58b59e5fb18142ed21 100644 (file)
@@ -19,6 +19,7 @@
  ***************************************************************************/
 
        .text
+       .arch m4k
        .set noreorder
        .set noat
 
index 6cf9f5791cbb6dcf6bfba476830e4493af9cfc0e..7269e799fec7d2cfc3d787c7223b98b67bc8ca29 100644 (file)
@@ -20,6 +20,7 @@
 
        .text
        .syntax unified
+       .cpu cortex-m3
        .thumb
        .thumb_func
        .global write
index fcdb007d8849b3d46035877f0dd1f647db66379d..b9eb42996e5ff0782ed507d5926b306ddce73241 100644 (file)
@@ -20,6 +20,8 @@
 
        .text
        .arm
+       .arch armv4t
+
        .section .init
 /*
        r0 source address
index 9b15b3dedd1f417342ca80821345239f779418b3..35abbba5e8dd4ee787bd6a44037329a640c50ecd 100644 (file)
@@ -20,6 +20,8 @@
 
        .text
        .arm
+       .arch armv5t
+
        .section .init
 /*
        r0 source address (in)