From 9a76c68563a199e673b15aca91d4e054f611ba78 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Thu, 9 Dec 2010 16:42:04 +0000 Subject: [PATCH] contrib: make sure loaders use correct arch Signed-off-by: Spencer Oliver --- contrib/loaders/flash/pic32mx.s | 1 + contrib/loaders/flash/stm32x.s | 1 + contrib/loaders/flash/str7x.s | 2 ++ contrib/loaders/flash/str9x.s | 2 ++ 4 files changed, 6 insertions(+) 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) -- 2.39.5