Skip to content

Commit f259a6f

Browse files
zhangwenlong8911Panxuefeng-loongsonchenglulu326xry111
authored
Support loongarch64 (#678)
* update config.{guess,sub} * Support loongarch64 Co-Authored-By: Cheng Lulu <[email protected]> Co-Authored-By: Xi Ruoyao <[email protected]> Co-Authored-By: Xu Hao Co-Authored-By: Zhang Wenlong <[email protected]> Co-Authored-By: Pan Xuefeng <[email protected]> Co-authored-by: panxuefeng <[email protected]> Co-authored-by: Cheng Lulu <[email protected]> Co-authored-by: Xi Ruoyao <[email protected]>
1 parent d02d466 commit f259a6f

7 files changed

Lines changed: 1676 additions & 591 deletions

File tree

Makefile.am

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ noinst_HEADERS = src/aarch64/ffitarget.h src/aarch64/internal.h \
6363
src/sparc/internal.h src/tile/ffitarget.h src/vax/ffitarget.h \
6464
src/x86/ffitarget.h src/x86/internal.h src/x86/internal64.h \
6565
src/x86/asmnames.h src/xtensa/ffitarget.h src/dlmalloc.c \
66-
src/kvx/ffitarget.h src/kvx/asm.h
66+
src/kvx/ffitarget.h src/kvx/asm.h \
67+
src/loongarch64/ffitarget.h
6768

6869
EXTRA_libffi_la_SOURCES = src/aarch64/ffi.c src/aarch64/sysv.S \
6970
src/aarch64/win64_armasm.S src/alpha/ffi.c src/alpha/osf.S \
@@ -93,7 +94,7 @@ EXTRA_libffi_la_SOURCES = src/aarch64/ffi.c src/aarch64/sysv.S \
9394
src/x86/ffiw64.c src/x86/win64.S src/x86/ffi64.c \
9495
src/x86/unix64.S src/x86/sysv_intel.S src/x86/win64_intel.S \
9596
src/xtensa/ffi.c src/xtensa/sysv.S src/kvx/ffi.c \
96-
src/kvx/sysv.S
97+
src/kvx/sysv.S src/loongarch64/ffi.c src/loongarch64/sysv.S
9798

9899
TARGET_OBJ = @TARGET_OBJ@
99100
libffi_la_LIBADD = $(TARGET_OBJ)

0 commit comments

Comments
 (0)