[3/3] configure: Set the default assembler to armasm64 for MSVC for arm64

Message ID 1508013333-19485-3-git-send-email-martin@martin.st
State Committed
Commit 41df62fd674bd0c67f7b6952381d235a393245d6
Headers show

Commit Message

Martin Storsjö Oct. 14, 2017, 8:35 p.m.
This requires yet unmerged patches for gas-preprocessor.

---
Visual C++ for ARM64 is out publicly now, finally.
---
 configure | 3 +++
 1 file changed, 3 insertions(+)

Comments

Diego Biurrun Oct. 16, 2017, 5:38 a.m. | #1
On Sat, Oct 14, 2017 at 11:35:33PM +0300, Martin Storsjö wrote:
> This requires yet unmerged patches for gas-preprocessor.
> 
> ---
> Visual C++ for ARM64 is out publicly now, finally.
> ---
>  configure | 3 +++
>  1 file changed, 3 insertions(+)

OK

But I'd push it only after the gaspp patches have landed, obviating
the need for the log msg.

Diego
Martin Storsjö Oct. 16, 2017, 6:35 a.m. | #2
On Mon, 16 Oct 2017, Diego Biurrun wrote:

> On Sat, Oct 14, 2017 at 11:35:33PM +0300, Martin Storsjö wrote:
>> This requires yet unmerged patches for gas-preprocessor.
>> 
>> ---
>> Visual C++ for ARM64 is out publicly now, finally.
>> ---
>>  configure | 3 +++
>>  1 file changed, 3 insertions(+)
>
> OK
>
> But I'd push it only after the gaspp patches have landed, obviating
> the need for the log msg.

Yes, that's what I intended to do as well. So that message should be in 
the annotations part of the patch, not in the actual commit message.

// Martin

Patch

diff --git a/configure b/configure
index 9b0b95a..f96f797 100755
--- a/configure
+++ b/configure
@@ -2958,6 +2958,9 @@  case "$toolchain" in
         nm_default="dumpbin -symbols"
         ar_default="lib"
         case "$arch" in
+        aarch64|arm64)
+            as_default="armasm64"
+            ;;
         arm*)
             as_default="armasm"
             ;;