This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch] Use .syntax unified for arm assembly language routines


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]