diff --git a/contrib/loaders/flash/pic32mx.s b/contrib/loaders/flash/pic32mx.s index b26ff6113..d45ab1111 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 6cf9f5791..7269e799f 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 fcdb007d8..b9eb42996 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 9b15b3ded..35abbba5e 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)