Skip to content

Commit 7b66916

Browse files
bylawsmstorsjo
authored andcommitted
wrappers: Add arm64ec support to ld-wrapper.sh
1 parent fb25da2 commit 7b66916

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

wrappers/ld-wrapper.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@ fi
3636
ARCH="${TARGET%%-*}"
3737
TARGET_OS="${TARGET##*-}"
3838
case $ARCH in
39-
i686) M=i386pe ;;
40-
x86_64) M=i386pep ;;
41-
armv7) M=thumb2pe ;;
42-
aarch64) M=arm64pe ;;
39+
i686) M=i386pe ;;
40+
x86_64) M=i386pep ;;
41+
armv7) M=thumb2pe ;;
42+
aarch64) M=arm64pe ;;
43+
arm64ec) M=arm64ecpe ;;
4344
esac
4445
FLAGS="-m $M"
4546
case $TARGET_OS in

0 commit comments

Comments
 (0)