From: Spencer Oliver Date: Thu, 9 Dec 2010 16:42:04 +0000 (+0000) Subject: contrib: make sure loaders use correct arch X-Git-Tag: v0.5.0-rc1~280 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9a76c68563a199e673b15aca91d4e054f611ba78;p=openocd contrib: make sure loaders use correct arch Signed-off-by: Spencer Oliver --- 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)