summaryrefslogtreecommitdiff
path: root/crt
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-11-10 00:01:55 -0500
committerRich Felker <dalias@aerifal.cx>2015-11-10 00:01:55 -0500
commit4e73d12117e362ad4b82946dc084b4a38f76e54b (patch)
tree1067ede3483aa4001b9df14587775e68d582f9b8 /crt
parent9f290a49bf9ee247d540d3c83875288a7991699c (diff)
downloadmusl-4e73d12117e362ad4b82946dc084b4a38f76e54b.tar.gz
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.
Diffstat (limited to 'crt')
-rw-r--r--crt/arm/crti.s2
-rw-r--r--crt/arm/crtn.s2
2 files changed, 4 insertions, 0 deletions
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