From ff750fd9797ee200daf5915c84c88dce5074498e Mon Sep 17 00:00:00 2001 Date: Mon, 1 Jun 2020 09:36:04 -0700 Subject: [PATCH] arm64-config --- config.sub | 4 ++-- configure | 24 ++++++++++++------------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/config.sub b/config.sub index 8df5511..72e9265 100755 --- a/config.sub +++ b/config.sub @@ -255,7 +255,7 @@ case $basic_machine in # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ - | aarch64 | aarch64_be \ + | aarch64 | aarch64_be | arm64 \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ @@ -369,7 +369,7 @@ case $basic_machine in # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ - | aarch64-* | aarch64_be-* \ + | aarch64-* | aarch64_be-* | arm64*-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ diff --git a/configure b/configure index 07ba449..d47de9a 100755 --- a/configure +++ b/configure @@ -788,6 +788,18 @@ case $host_cpu in AS="${AS-${CC}}" AS_EXT=".c" ;; + aarch64|arm64*) + ARCH="AARCH64" + stack_alignment=16 + if [ "$SYS" = MACOSX ] ; then + AS="${AS-${CC}}" + ASFLAGS="$ASFLAGS -DPREFIX -DPIC" + elif [ "$SYS" = WINDOWS ] && [ "$compiler" = CL ] ; then + AS="${AS-${SRCPATH}/tools/gas-preprocessor.pl -arch aarch64 -as-type armasm -- armasm64 -nologo}" + else + AS="${AS-${CC}}" + fi + ;; arm*) ARCH="ARM" if [ "$SYS" = MACOSX ] ; then @@ -806,18 +818,6 @@ case $host_cpu in AS="${AS-${CC}}" fi ;; - aarch64) - ARCH="AARCH64" - stack_alignment=16 - if [ "$SYS" = MACOSX ] ; then - AS="${AS-${CC}}" - ASFLAGS="$ASFLAGS -DPREFIX -DPIC" - elif [ "$SYS" = WINDOWS ] && [ "$compiler" = CL ] ; then - AS="${AS-${SRCPATH}/tools/gas-preprocessor.pl -arch aarch64 -as-type armasm -- armasm64 -nologo}" - else - AS="${AS-${CC}}" - fi - ;; s390|s390x) ARCH="S390" ;; -- 2.24.2 (Apple Git-127)