public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [Patch] Use .syntax unified for arm assembly language routines
@ 2017-03-29 23:24 Moore, Catherine
  2017-03-30 14:09 ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Moore, Catherine @ 2017-03-29 23:24 UTC (permalink / raw)
  To: newlib; +Cc: Moore, Catherine

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-30 15:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-29 23:24 [Patch] Use .syntax unified for arm assembly language routines Moore, Catherine
2017-03-30 14:09 ` Corinna Vinschen
2017-03-30 14:42   ` Moore, Catherine
2017-03-30 15:19     ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).