This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[Patch] Use .syntax unified for arm assembly language routines
- From: "Moore, Catherine" <Catherine_Moore at mentor dot com>
- To: "newlib at sourceware dot org" <newlib at sourceware dot org>
- Cc: "Moore, Catherine" <Catherine_Moore at mentor dot com>
- Date: Wed, 29 Mar 2017 23:24:03 +0000
- Subject: [Patch] Use .syntax unified for arm assembly language routines
- Authentication-results: sourceware.org; auth=none
The LLVM integrated assembler doesn't support .syntax divided. I'd like to switch to .syntax unified for these two files.
For testing, I used GAS to build the files with .syntax divided and .syntax unified and compared the object files for differences.
They compared the same.
OK to commit?
Thanks,
Catherine
diff --git a/newlib/libc/machine/arm/aeabi_memmove-arm.S b/newlib/libc/machine/arm/aeabi_memmove-arm.S
index e6e9639..541444d 100644
--- a/newlib/libc/machine/arm/aeabi_memmove-arm.S
+++ b/newlib/libc/machine/arm/aeabi_memmove-arm.S
@@ -27,7 +27,7 @@
*/
.arm
- .syntax divided
+ .syntax unified
.global __aeabi_memmove
.type __aeabi_memmove, %function
ASM_ALIAS __aeabi_memmove4 __aeabi_memmove
diff --git a/newlib/libc/machine/arm/aeabi_memset-arm.S b/newlib/libc/machine/arm/aeabi_memset-arm.S
index 0f91e3a..1c7bec5 100644
--- a/newlib/libc/machine/arm/aeabi_memset-arm.S
+++ b/newlib/libc/machine/arm/aeabi_memset-arm.S
@@ -27,7 +27,7 @@
*/
.arm
- .syntax divided
+ .syntax unified
.global __aeabi_memset
.type __aeabi_memset, %function
ASM_ALIAS __aeabi_memset4 __aeabi_memset