path: root/src/thread
diff options
authorRich Felker <>2015-11-10 00:01:55 -0500
committerRich Felker <>2015-11-10 00:01:55 -0500
commit4e73d12117e362ad4b82946dc084b4a38f76e54b (patch)
tree1067ede3483aa4001b9df14587775e68d582f9b8 /src/thread
parent9f290a49bf9ee247d540d3c83875288a7991699c (diff)
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 'src/thread')
3 files changed, 3 insertions, 0 deletions
diff --git a/src/thread/arm/__unmapself.s b/src/thread/arm/__unmapself.s
index 62ebb7c1..29c2d07b 100644
--- a/src/thread/arm/__unmapself.s
+++ b/src/thread/arm/__unmapself.s
@@ -1,3 +1,4 @@
+.syntax unified
.global __unmapself
.type __unmapself,%function
diff --git a/src/thread/arm/clone.s b/src/thread/arm/clone.s
index b7fb788b..fe2e0e60 100644
--- a/src/thread/arm/clone.s
+++ b/src/thread/arm/clone.s
@@ -1,3 +1,4 @@
+.syntax unified
.global __clone
.type __clone,%function
diff --git a/src/thread/arm/syscall_cp.s b/src/thread/arm/syscall_cp.s
index 64528b39..a5730c08 100644
--- a/src/thread/arm/syscall_cp.s
+++ b/src/thread/arm/syscall_cp.s
@@ -1,3 +1,4 @@
+.syntax unified
.global __cp_begin
.hidden __cp_begin
.global __cp_end