From 4e73d12117e362ad4b82946dc084b4a38f76e54b Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 10 Nov 2015 00:01:55 -0500 Subject: explicitly assemble all arm asm sources as UAL these files are all accepted as legacy arm syntax when producing arm code, but legacy syntax cannot be used for producing thumb2 with access to the full ISA. even after switching to UAL, some asm source files contain instructions which are not valid in thumb mode, so these will need to be addressed separately. --- crt/arm/crti.s | 2 ++ crt/arm/crtn.s | 2 ++ 2 files changed, 4 insertions(+) (limited to 'crt') diff --git a/crt/arm/crti.s b/crt/arm/crti.s index 1ba165c5..18dc1e41 100644 --- a/crt/arm/crti.s +++ b/crt/arm/crti.s @@ -1,3 +1,5 @@ +.syntax unified + .section .init .global _init .type _init,%function diff --git a/crt/arm/crtn.s b/crt/arm/crtn.s index b3eca856..dc020f92 100644 --- a/crt/arm/crtn.s +++ b/crt/arm/crtn.s @@ -1,3 +1,5 @@ +.syntax unified + .section .init pop {r0,lr} bx lr -- cgit v1.2.1