diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-11-10 00:01:55 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-11-10 00:01:55 -0500 |
commit | 4e73d12117e362ad4b82946dc084b4a38f76e54b (patch) | |
tree | 1067ede3483aa4001b9df14587775e68d582f9b8 /crt | |
parent | 9f290a49bf9ee247d540d3c83875288a7991699c (diff) | |
download | musl-4e73d12117e362ad4b82946dc084b4a38f76e54b.tar.gz musl-4e73d12117e362ad4b82946dc084b4a38f76e54b.tar.xz musl-4e73d12117e362ad4b82946dc084b4a38f76e54b.zip |
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.s | 2 | ||||
-rw-r--r-- | crt/arm/crtn.s | 2 |
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 |