summaryrefslogtreecommitdiff
path: root/contrib/loaders
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2010-12-09 16:42:04 +0000
committerSpencer Oliver <ntfreak@users.sourceforge.net>2010-12-10 13:42:29 +0000
commit9a76c68563a199e673b15aca91d4e054f611ba78 (patch)
tree5aacda3c959310b19b37dbd6473c43a4661c7366 /contrib/loaders
parentc6e07051e6de439f21cb722e542e69e8bd3854c3 (diff)
downloadopenocd+libswd-9a76c68563a199e673b15aca91d4e054f611ba78.tar.gz
openocd+libswd-9a76c68563a199e673b15aca91d4e054f611ba78.tar.bz2
openocd+libswd-9a76c68563a199e673b15aca91d4e054f611ba78.tar.xz
openocd+libswd-9a76c68563a199e673b15aca91d4e054f611ba78.zip
contrib: make sure loaders use correct arch
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'contrib/loaders')
-rw-r--r--contrib/loaders/flash/pic32mx.s1
-rw-r--r--contrib/loaders/flash/stm32x.s1
-rw-r--r--contrib/loaders/flash/str7x.s2
-rw-r--r--contrib/loaders/flash/str9x.s2
4 files changed, 6 insertions, 0 deletions
diff --git a/contrib/loaders/flash/pic32mx.s b/contrib/loaders/flash/pic32mx.s
index b26ff611..d45ab111 100644
--- a/contrib/loaders/flash/pic32mx.s
+++ b/contrib/loaders/flash/pic32mx.s
@@ -19,6 +19,7 @@
***************************************************************************/
.text
+ .arch m4k
.set noreorder
.set noat
diff --git a/contrib/loaders/flash/stm32x.s b/contrib/loaders/flash/stm32x.s
index 6cf9f579..7269e799 100644
--- a/contrib/loaders/flash/stm32x.s
+++ b/contrib/loaders/flash/stm32x.s
@@ -20,6 +20,7 @@
.text
.syntax unified
+ .cpu cortex-m3
.thumb
.thumb_func
.global write
diff --git a/contrib/loaders/flash/str7x.s b/contrib/loaders/flash/str7x.s
index fcdb007d..b9eb4299 100644
--- a/contrib/loaders/flash/str7x.s
+++ b/contrib/loaders/flash/str7x.s
@@ -20,6 +20,8 @@
.text
.arm
+ .arch armv4t
+
.section .init
/*
r0 source address
diff --git a/contrib/loaders/flash/str9x.s b/contrib/loaders/flash/str9x.s
index 9b15b3de..35abbba5 100644
--- a/contrib/loaders/flash/str9x.s
+++ b/contrib/loaders/flash/str9x.s
@@ -20,6 +20,8 @@
.text
.arm
+ .arch armv5t
+
.section .init
/*
r0 source address (in)