blob: e5cb47bc10dbb454b23629473f4e9a47bcf86aaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
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)
|