10000 Import libffi-3.4.7 · python/cpython-source-deps@e7a5ad7 · GitHub
[go: up one dir, main page]

Skip to content

Commit e7a5ad7

Browse files
committed
Import libffi-3.4.7
1 parent 73b247f commit e7a5ad7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+6365
-2260
lines changed

ChangeLog

Lines changed: 1547 additions & 0 deletions
Large diffs are not rendered by default.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
libffi - Copyright (c) 1996-2022 Anthony Green, Red Hat, Inc and others.
1+
libffi - Copyright (c) 1996-2024 Anthony Green, Red Hat, Inc and others.
22
See source files for details.
33

44
Permission is hereby granted, free of charge, to any person obtaining

Makefile.am

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,14 @@ noinst_HEADERS = src/aarch64/ffitarget.h src/aarch64/internal.h \
5555
src/m32r/ffitarget.h src/m68k/ffitarget.h \
5656
src/m88k/ffitarget.h src/metag/ffitarget.h \
5757
src/microblaze/ffitarget.h src/mips/ffitarget.h \
58-
src/moxie/ffitarget.h src/nios2/ffitarget.h \
58+
src/moxie/ffitarget.h \
5959
src/or1k/ffitarget.h src/pa/ffitarget.h \
6060
src/powerpc/ffitarget.h src/powerpc/asm.h \
6161
src/powerpc/ffi_powerpc.h src/riscv/ffitarget.h \
6262
src/s390/ffitarget.h src/s390/internal.h src/sh/ffitarget.h \
6363
src/sh64/ffitarget.h src/sparc/ffitarget.h \
6464
src/sparc/internal.h src/tile/ffitarget.h src/vax/ffitarget.h \
65+
src/wasm32/ffitarget.h \
6566
src/x86/ffitarget.h src/x86/internal.h src/x86/internal64.h \
6667
src/x86/asmnames.h src/xtensa/ffitarget.h src/dlmalloc.c \
6768
src/kvx/ffitarget.h src/kvx/asm.h \
@@ -79,9 +80,9 @@ EXTRA_libffi_la_SOURCES = src/aarch64/ffi.c src/aarch64/sysv.S \
7980
src/metag/ffi.c src/metag/sysv.S src/microblaze/ffi.c \
8081
src/microblaze/sysv.S src/mips/ffi.c src/mips/o32.S \
8182
src/mips/n32.S src/moxie/ffi.c src/moxie/eabi.S \
82-
src/nios2/ffi.c src/nios2/sysv.S src/or1k/ffi.c \
83+
src/or1k/ffi.c \
8384
src/or1k/sysv.S src/pa/ffi.c src/pa/linux.S src/pa/hpux32.S \
84-
src/powerpc/ffi.c src/powerpc/ffi_sysv.c \
85+
src/pa/hpux64.S src/powerpc/ffi.c src/powerpc/ffi_sysv.c \
8586
src/powerpc/ffi_linux64.c src/powerpc/sysv.S \
8687
src/powerpc/linux64.S src/powerpc/linux64_closure.S \
8788
src/powerpc/ppc_closure.S src/powerpc/aix.S \
@@ -92,6 +93,7 @@ EXTRA_libffi_la_SOURCES = src/aarch64/ffi.c src/aarch64/sysv.S \
9293
src/sh64/sysv.S src/sparc/ffi.c src/sparc/ffi64.c \
9394
src/sparc/v8.S src/sparc/v9.S src/tile/ffi.c src/tile/tile.S \
9495
src/vax/ffi.c src/vax/elfbsd.S src/x86/ffi.c src/x86/sysv.S \
96+
src/wasm32/ffi.c \
9597
src/x86/ffiw64.c src/x86/win64.S src/x86/ffi64.c \
9698
src/x86/unix64.S src/x86/sysv_intel.S src/x86/win64_intel.S \
9799
src/xtensa/ffi.c src/xtensa/sysv.S src/kvx/ffi.c \

Makefile.in

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,10 @@ am__depfiles_remade = src/$(DEPDIR)/closures.Plo \
221221
src/microblaze/$(DEPDIR)/sysv.Plo src/mips/$(DEPDIR)/ffi.Plo \
222222
src/mips/$(DEPDIR)/n32.Plo src/mips/$(DEPDIR)/o32.Plo \
223223
src/moxie/$(DEPDIR)/eabi.Plo src/moxie/$(DEPDIR)/ffi.Plo \
224-
src/nios2/$(DEPDIR)/ffi.Plo src/nios2/$(DEPDIR)/sysv.Plo \
225224
src/or1k/$(DEPDIR)/ffi.Plo src/or1k/$(DEPDIR)/sysv.Plo \
226225
src/pa/$(DEPDIR)/ffi.Plo src/pa/$(DEPDIR)/hpux32.Plo \
227-
src/pa/$(DEPDIR)/linux.Plo src/powerpc/$(DEPDIR)/aix.Plo \
226+
src/pa/$(DEPDIR)/hpux64.Plo src/pa/$(DEPDIR)/linux.Plo \
227+
src/powerpc/$(DEPDIR)/aix.Plo \
228228
src/powerpc/$(DEPDIR)/aix_closure.Plo \
229229
src/powerpc/$(DEPDIR)/darwin.Plo \
230230
src/powerpc/$(DEPDIR)/darwin_closure.Plo \
@@ -243,12 +243,12 @@ am__depfiles_remade = src/$(DEPDIR)/closures.Plo \
243243
src/sparc/$(DEPDIR)/ffi64.Plo src/sparc/$(DEPDIR)/v8.Plo \
244244
src/sparc/$(DEPDIR)/v9.Plo src/tile/$(DEPDIR)/ffi.Plo \
245245
src/tile/$(DEPDIR)/tile.Plo src/vax/$(DEPDIR)/elfbsd.Plo \
246-
src/vax/$(DEPDIR)/ffi.Plo src/x86/$(DEPDIR)/ffi.Plo \
247-
src/x86/$(DEPDIR)/ffi64.Plo src/x86/$(DEPDIR)/ffiw64.Plo \
248-
src/x86/$(DEPDIR)/sysv.Plo src/x86/$(DEPDIR)/sysv_intel.Plo \
249-
src/x86/$(DEPDIR)/unix64.Plo src/x86/$(DEPDIR)/win64.Plo \
250-
src/x86/$(DEPDIR)/win64_intel.Plo src/xtensa/$(DEPDIR)/ffi.Plo \
251-
src/xtensa/$(DEPDIR)/sysv.Plo
246+
src/vax/$(DEPDIR)/ffi.Plo src/wasm32/$(DEPDIR)/ffi.Plo \
247+
src/x86/$(DEPDIR)/ffi.Plo src/x86/$(DEPDIR)/ffi64.Plo \
248+
src/x86/$(DEPDIR)/ffiw64.Plo src/x86/$(DEPDIR)/sysv.Plo \
249+
src/x86/$(DEPDIR)/sysv_intel.Plo src/x86/$(DEPDIR)/unix64.Plo \
250+
src/x86/$(DEPDIR)/win64.Plo src/x86/$(DEPDIR)/win64_intel.Plo \
251+
src/xtensa/$(DEPDIR)/ffi.Plo src/xtensa/$(DEPDIR)/sysv.Plo
252252
am__mv = mv -f
253253
CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
254254
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
@@ -376,7 +376,6 @@ am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
376376
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
377377
distcleancheck_listfiles = find . -type f -print
378378
ACLOCAL = @ACLOCAL@
379-
ALLOCA = @ALLOCA@
380379
AMTAR = @AMTAR@
381380
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
382381
AM_LTLDFLAGS = @AM_LTLDFLAGS@
@@ -470,6 +469,7 @@ ac_ct_AR = @ac_ct_AR@
470469
ac_ct_CC = @ac_ct_CC@
471470
ac_ct_CXX = @ac_ct_CXX@
472471
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
472+
ac_ct_READELF = @ac_ct_READELF@
473473
am__include = @am__include@
474474
am__leading_dot = @am__leading_dot@
475475
am__quote = @am__quote@
@@ -560,13 +560,14 @@ noinst_HEADERS = src/aarch64/ffitarget.h src/aarch64/internal.h \
560560
src/m32r/ffitarget.h src/m68k/ffitarget.h \
561561
src/m88k/ffitarget.h src/metag/ffitarget.h \
562562
src/microblaze/ffitarget.h src/mips/ffitarget.h \
563-
src/moxie/ffitarget.h src/nios2/ffitarget.h \
563+
src/moxie/ffitarget.h \
564564
src/or1k/ffitarget.h src/pa/ffitarget.h \
565565
src/powerpc/ffitarget.h src/powerpc/asm.h \
566566
src/powerpc/ffi_powerpc.h src/riscv/ffitarget.h \
567567
src/s390/ffitarget.h src/s390/internal.h src/sh/ffitarget.h \
568568
src/sh64/ffitarget.h src/sparc/ffitarget.h \
569569
src/sparc/internal.h src/tile/ffitarget.h src/vax/ffitarget.h \
570+
src/wasm32/ffitarget.h \
570571
src/x86/ffitarget.h src/x86/internal.h src/x86/internal64.h \
571572
src/x86/asmnames.h src/xtensa/ffitarget.h src/dlmalloc.c \
572573
src/kvx/ffitarget.h src/kvx/asm.h \
@@ -584,9 +585,9 @@ EXTRA_libffi_la_SOURCES = src/aarch64/ffi.c src/aarch64/sysv.S \
584585
src/metag/ffi.c src/metag/sysv.S src/microblaze/ffi.c \
585586
src/microblaze/sysv.S src/mips/ffi.c src/mips/o32.S \
586587
src/mips/n32.S src/moxie/ffi.c src/moxie/eabi.S \
587-
src/nios2/ffi.c src/nios2/sysv.S src/or1k/ffi.c \
588+
src/or1k/ffi.c \
588589
src/or1k/sysv.S src/pa/ffi.c src/pa/linux.S src/pa/hpux32.S \
589-
src/powerpc/ffi.c src/powerpc/ffi_sysv.c \
590+
src/pa/hpux64.S src/powerpc/ffi.c src/powerpc/ffi_sysv.c \
590591
src/powerpc/ffi_linux64.c src/powerpc/sysv.S \
591592
src/powerpc/linux64.S src/powerpc/linux64_closure.S \
592593
src/powerpc/ppc_closure.S src/powerpc/aix.S \
@@ -597,6 +598,7 @@ EXTRA_libffi_la_SOURCES = src/aarch64/ffi.c src/aarch64/sysv.S \
597598
src/sh64/sysv.S src/sparc/ffi.c src/sparc/ffi64.c \
598599
src/sparc/v8.S src/sparc/v9.S src/tile/ffi.c src/tile/tile.S \
599600
src/vax/ffi.c src/vax/elfbsd.S src/x86/ffi.c src/x86/sysv.S \
601+
src/wasm32/ffi.c \
600602
src/x86/ffiw64.c src/x86/win64.S src/x86/ffi64.c \
601603
src/x86/unix64.S src/x86/sysv_intel.S src/x86/win64_intel.S \
602604
src/xtensa/ffi.c src/xtensa/sysv.S src/kvx/ffi.c \
@@ -911,16 +913,6 @@ src/moxie/ffi.lo: src/moxie/$(am__dirstamp) \
911913
src/moxie/$(DEPDIR)/$(am__dirstamp)
912914
src/moxie/eabi.lo: src/moxie/$(am__dirstamp) \
913915
src/moxie/$(DEPDIR)/$(am__dirstamp)
914-
src/nios2/$(am__dirstamp):
915-
@$(MKDIR_P) src/nios2
916-
@: > src/nios2/$(am__dirstamp)
917-
src/nios2/$(DEPDIR)/$(am__dirstamp):
918-
@$(MKDIR_P) src/nios2/$(DEPDIR)
919-
@: > src/nios2/$(DEPDIR)/$(am__dirstamp)
920-
src/nios2/ffi.lo: src/nios2/$(am__dirstamp) \
921-
src/nios2/$(DEPDIR)/$(am__dirstamp)
922-
src/nios2/sysv.lo: src/nios2/$(am__dirstamp) \
923-
src/nios2/$(DEPDIR)/$(am__dirstamp)
924916
src/or1k/$(am__dirstamp):
925917
@$(MKDIR_P) src/or1k
926918
@: > src/or1k/$(am__dirstamp)
@@ -942,6 +934,8 @@ src/pa/linux.lo: src/pa/$(am__dirstamp) \
942934
src/pa/$(DEPDIR)/$(am__dirstamp)
943935
src/pa/hpux32.lo: src/pa/$(am__dirstamp) \
944936
src/pa/$(DEPDIR)/$(am__dirstamp)
937+
src/pa/hpux64.lo: src/pa/$(am__dirstamp) \
938+
src/pa/$(DEPDIR)/$(am__dirstamp)
945939
src/powerpc/$(am__dirstamp):
946940
@$(MKDIR_P) src/powerpc
947941
@: > src/powerpc/$(am__dirstamp)
@@ -1055,6 +1049,14 @@ src/x86/ffi.lo: src/x86/$(am__dirstamp) \
10551049
src/x86/$(DEPDIR)/$(am__dirstamp)
10561050
src/x86/sysv.lo: src/x86/$(am__dirstamp) \
10571051
src/x86/$(DEPDIR)/$(am__dirstamp)
1052+
src/wasm32/$(am__dirstamp):
1053+
@$(MKDIR_P) src/wasm32
1054+
@: > src/wasm32/$(am__dirstamp)
1055+
src/wasm32/$(DEPDIR)/$(am__dirstamp):
1056+
@$(MKDIR_P) src/wasm32/$(DEPDIR)
1057+
@: > src/wasm32/$(DEPDIR)/$(am__dirstamp)
1058+
src/wasm32/ffi.lo: src/wasm32/$(am__dirstamp) \
1059+
src/wasm32/$(DEPDIR)/$(am__dirstamp)
10581060
src/x86/ffiw64.lo: src/x86/$(am__dirstamp) \
10591061
src/x86/$(DEPDIR)/$(am__dirstamp)
10601062
src/x86/win64.lo: src/x86/$(am__dirstamp) \
@@ -1146,8 +1148,6 @@ mostlyclean-compile:
11461148
-rm -f src/mips/*.lo
11471149
-rm -f src/moxie/*.$(OBJEXT)
11481150
-rm -f src/moxie/*.lo
1149-
-rm -f src/nios2/*.$(OBJEXT)
1150-
-rm -f src/nios2/*.lo
11511151
-rm -f src/or1k/*.$(OBJEXT)
11521152
-rm -f src/or1k/*.lo
11531153
-rm -f src/pa/*.$(OBJEXT)
@@ -1168,6 +1168,8 @@ mostlyclean-compile:
11681168
-rm -f src/tile/*.lo
11691169
-rm -f src/vax/*.$(OBJEXT)
11701170
-rm -f src/vax/*.lo
1171+
-rm -f src/wasm32/*.$(OBJEXT)
1172+
-rm -f src/wasm32/*.lo
11711173
-rm -f src/x86/*.$(OBJEXT)
11721174
-rm -f src/x86/*.lo
11731175
-rm -f src/xtensa/*.$(OBJEXT)
@@ -1224,12 +1226,11 @@ distclean-compile:
12241226
@AMDEP_TRUE@@am__include@ @am__quote@src/mips/$(DEPDIR)/o32.Plo@am__quote@ # am--include-marker
12251227
@AMDEP_TRUE@@am__include@ @am__quote@src/moxie/$(DEPDIR)/eabi.Plo@am__quote@ # am--include-marker
12261228
@AMDEP_TRUE@@am__include@ @am__quote@src/moxie/$(DEPDIR)/ffi.Plo@am__quote@ # am--include-marker
1227-
@AMDEP_TRUE@@am__include@ @am__quote@src/nios2/$(DEPDIR)/ffi.Plo@am__quote@ # am--include-marker
1228-
@AMDEP_TRUE@@am__include@ @am__quote@src/nios2/$(DEPDIR)/sysv.Plo@am__quote@ # am--include-marker
12291229
@AMDEP_TRUE@@am__include@ @am__quote@src/or1k/$(DEPDIR)/ffi.Plo@am__quote@ # am--include-marker
12301230
@AMDEP_TRUE@@am__include@ @am__quote@src/or1k/$(DEPDIR)/sysv.Plo@am__quote@ # am--include-marker
12311231
@AMDEP_TRUE@@am__include@ @am__quote@src/pa/$(DEPDIR)/ffi.Plo@am__quote@ # am--include-marker
12321232
@AMDEP_TRUE@@am__include@ @am__quote@src/pa/$(DEPDIR)/hpux32.Plo@am__quote@ # am--include-marker
1233+
@AMDEP_TRUE@@am__include@ @am__quote@src/pa/$(DEPDIR)/hpux64.Plo@am__quote@ # am--include-marker
12331234
@AMDEP_TRUE@@am__include@ @am__quote@src/pa/$(DEPDIR)/linux.Plo@am__quote@ # am--include-marker
12341235
@AMDEP_TRUE@@am__include@ @am__quote@src/powerpc/$(DEPDIR)/aix.Plo@am__quote@ # am--include-marker
12351236
@AMDEP_TRUE@@am__include@ @am__quote@src/powerpc/$(DEPDIR)/aix_closure.Plo@am__quote@ # am--include-marker
@@ -1259,6 +1260,7 @@ distclean-compile:
12591260
@AMDEP_TRUE@@am__include@ @am__quote@src/tile/$(DEPDIR)/tile.Plo@am__quote@ # am--include-marker
12601261
@AMDEP_TRUE@@am__include@ @am__quote@src/vax/$(DEPDIR)/elfbsd.Plo@am__quote@ # am--include-marker
12611262
@AMDEP_TRUE@@am__include@ @am__quote@src/vax/$(DEPDIR)/ffi.Plo@am__quote@ # am--include-marker
1263+
@AMDEP_TRUE@@am__include@ @am__quote@src/wasm32/$(DEPDIR)/ffi.Plo@am__quote@ # am--include-marker
12621264
@AMDEP_TRUE@@am__include@ @am__quote@src/x86/$(DEPDIR)/ffi.Plo@am__quote@ # am--include-marker
12631265
@AMDEP_TRUE@@am__include@ @am__quote@src/x86/$(DEPDIR)/ffi64.Plo@am__quote@ # am--include-marker
12641266
@AMDEP_TRUE@@am__include@ @am__quote@src/x86/$(DEPDIR)/ffiw64.Plo@am__quote@ # am--include-marker
@@ -1349,7 +1351,6 @@ clean-libtool:
13491351
-rm -rf src/microblaze/.libs src/microblaze/_libs
13501352
-rm -rf src/mips/.libs src/mips/_libs
13511353
-rm -rf src/moxie/.libs src/moxie/_libs
1352-
-rm -rf src/nios2/.libs src/nios2/_libs
13531354
-rm -rf src/or1k/.libs src/or1k/_libs
13541355
-rm -rf src/pa/.libs src/pa/_libs
13551356
-rm -rf src/powerpc/.libs src/powerpc/_libs
@@ -1360,6 +1361,7 @@ clean-libtool:
13601361
-rm -rf src/sparc/.libs src/sparc/_libs
13611362
-rm -rf src/tile/.libs src/tile/_libs
13621363
-rm -rf src/vax/.libs src/vax/_libs
1364+
-rm -rf src/wasm32/.libs src/wasm32/_libs
13631365
-rm -rf src/x86/.libs src/x86/_libs
13641366
-rm -rf src/xtensa/.libs src/xtensa/_libs
13651367

@@ -1766,8 +1768,6 @@ distclean-generic:
17661768
-rm -f src/mips/$(am__dirstamp)
17671769
-rm -f src/moxie/$(DEPDIR)/$(am__dirstamp)
17681770
-rm -f src/moxie/$(am__dirstamp)
1769-
-rm -f src/nios2/$(DEPDIR)/$(am__dirstamp)
1770-
-rm -f src/nios2/$(am__dirstamp)
17711771
-rm -f src/or1k/$(DEPDIR)/$(am__dirstamp)
17721772
-rm -f src/or1k/$(am__dirstamp)
17731773
-rm -f src/pa/$(DEPDIR)/$(am__dirstamp)
@@ -1788,6 +1788,8 @@ distclean-generic:
17881788
-rm -f src/tile/$(am__dirstamp)
17891789
-rm -f src/vax/$(DEPDIR)/$(am__dirstamp)
17901790
-rm -f src/vax/$(am__dirstamp)
1791+
-rm -f src/wasm32/$(DEPDIR)/$(am__dirstamp)
1792+
-rm -f src/wasm32/$(am__dirstamp)
17911793
-rm -f src/x86/$(DEPDIR)/$(am__dirstamp)
17921794
-rm -f src/x86/$(am__dirstamp)
17931795
-rm -f src/xtensa/$(DEPDIR)/$(am__dirstamp)
@@ -1852,12 +1854,11 @@ distclean: distclean-recursive
18521854
-rm -f src/mips/$(DEPDIR)/o32.Plo
18531855
-rm -f src/moxie/$(DEPDIR)/eabi.Plo
18541856
-rm -f src/moxie/$(DEPDIR)/ffi.Plo
1855-
-rm -f src/nios2/$(DEPDIR)/ffi.Plo
1856-
-rm -f src/nios2/$(DEPDIR)/sysv.Plo
18571857
-rm -f src/or1k/$(DEPDIR)/ffi.Plo
18581858
-rm -f src/or1k/$(DEPDIR)/sysv.Plo
18591859
-rm -f src/pa/$(DEPDIR)/ffi.Plo
18601860
-rm -f src/pa/$(DEPDIR)/hpux32.Plo
1861+
-rm -f src/pa/$(DEPDIR)/hpux64.Plo
18611862
-rm -f src/pa/$(DEPDIR)/linux.Plo
18621863
-rm -f src/powerpc/$(DEPDIR)/aix.Plo
18631864
-rm -f src/powerpc/$(DEPDIR)/aix_closure.Plo
@@ -1887,6 +1888,7 @@ distclean: distclean-recursive
18871888
-rm -f src/tile/$(DEPDIR)/tile.Plo
18881889
-rm -f src/vax/$(DEPDIR)/elfbsd.Plo
18891890
-rm -f src/vax/$(DEPDIR)/ffi.Plo
1891+
-rm -f src/wasm32/$(DEPDIR)/ffi.Plo
18901892
-rm -f src/x86/$(DEPDIR)/ffi.Plo
18911893
-rm -f src/x86/$(DEPDIR)/ffi64.Plo
18921894
-rm -f src/x86/$(DEPDIR)/ffiw64.Plo
@@ -1992,12 +1994,11 @@ maintainer-clean: maintainer-clean-recursive
19921994
-rm -f src/mips/$(DEPDIR)/o32.Plo
19931995
-rm -f src/moxie/$(DEPDIR)/eabi.Plo
19941996
-rm -f src/moxie/$(DEPDIR)/ffi.Plo
1995-
-rm -f src/nios2/$(DEPDIR)/ffi.Plo
1996-
-rm -f src/nios2/$(DEPDIR)/sysv.Plo
19971997
-rm -f src/or1k/$(DEPDIR)/ffi.Plo
19981998
-rm -f src/or1k/$(DEPDIR)/sysv.Plo
19991999
-rm -f src/pa/$(DEPDIR)/ffi.Plo
20002000
-rm -f src/pa/$(DEPDIR)/hpux32.Plo
2001+
-rm -f src/pa/$(DEPDIR)/hpux64.Plo
20012002
-rm -f src/pa/$(DEPDIR)/linux.Plo
20022003
-rm -f src/powerpc/$(DEPDIR)/aix.Plo
20032004
-rm -f src/powerpc/$(DEPDIR)/aix_closure.Plo
@@ -2027,6 +2028,7 @@ maintainer-clean: maintainer-clean-recursive
20272028
-rm -f src/tile/$(DEPDIR)/tile.Plo
20282029
-rm -f src/vax/$(DEPDIR)/elfbsd.Plo
20292030
-rm -f src/vax/$(DEPDIR)/ffi.Plo
2031+
-rm -f src/wasm32/$(DEPDIR)/ffi.Plo
20302032
-rm -f src/x86/$(DEPDIR)/ffi.Plo
20312033
-rm -f src/x86/$(DEPDIR)/ffi64.Plo
20322034
-rm -f src/x86/$(DEPDIR)/ffiw64.Plo

README.md

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
libffi-3.4.4 was released on October 23, 2022. Check the libffi web
2+
libffi-3.4.7 was released on February 8, 2025. Check the libffi web
33
page for updates: <URL:http://sourceware.org/libffi/>.
44

55

@@ -50,13 +50,16 @@ tested:
5050
| Alpha | Linux | GCC |
5151
| Alpha | Tru64 | GCC |
5252
| ARC | Linux | GCC |
53+
| ARC32 | Linux | GCC |
54+
| ARC64 | Linux | GCC |
5355
| ARM | Linux | GCC |
5456
| ARM | iOS | GCC |
5557
| ARM | Windows | MSVC |
5658
| AVR32 | Linux | GCC |
5759
| Blackfin | uClinux | GCC |
5860
| CSKY | Linux | GCC |
5961
| HPPA | HPUX | GCC |
62+
| HPPA64 | HPUX | GCC |
6063
| KVX | Linux | GCC |
6164
| IA-64 | Linux | GCC |
6265
| LoongArch64 | Linux | GCC |
@@ -71,7 +74,6 @@ tested:
7174
| MIPS | RTEMS | GCC |
7275
| MIPS64 | Linux | GCC |
7376
| Moxie | Bare metal | GCC |
74-
| Nios II | Linux | GCC |
7577
| OpenRISC | Linux | GCC |
7678
| PowerPC 32-bit | AIX | GCC |
7779
| PowerPC 32-bit | AIX | IBM XL C |
@@ -95,6 +97,7 @@ tested:
9597
| SPARC64 | Solaris | Oracle Solaris Studio C |
9698
| TILE-Gx/TILEPro | Linux | GCC |
9799
| VAX | OpenBSD/vax | GCC |
100+
| WASM32 | Emscripten | EMCC |
98101
| X86 | FreeBSD | GCC |
99102
| X86 | GNU HURD | GCC |
100103
| X86 | Interix | GCC |
@@ -105,14 +108,14 @@ tested:
105108
| X86 | Solaris | GCC |
106109
| X86 | Solaris | Oracle Solaris Studio C |
107110
| X86 | Windows/Cygwin | GCC |
108-
| X86 | Windows/MingW | GCC |
111+
| X86 | Windows/MinGW | GCC |
109112
| X86-64 | FreeBSD | GCC |
110113
| X86-64 | Linux | GCC |
111114
| X86-64 | Linux/x32 | GCC |
112115
| X86-64 | OpenBSD | GCC |
113116
| X86-64 | Solaris | Oracle Solaris Studio C |
114117
| X86-64 | Windows/Cygwin | GCC |
115-
| X86-64 | Windows/MingW | GCC |
118+
| X86-64 | Windows/MinGW | GCC |
116119
| X86-64 | Mac OSX | GCC |
117120
| Xtensa | Linux | GCC |
118121

@@ -152,7 +155,7 @@ It's also possible to build libffi on Windows platforms with
152155
Microsoft's Visual C++ compiler. In this case, use the msvcc.sh
153156
wrapper script during configuration like so:
154157

155-
path/to/configure CC=path/to/msvcc.sh CXX=path/to/msvcc.sh LD=link CPP="cl -nologo -EP" CPPFLAGS="-DFFI_BUILDING_DLL"
158+
path/to/configure CC=path/to/msvcc.sh CXX=path/to/msvcc.sh LD=link CPP="cl -nologo -EP" CXXCPP="cl -nologo -EP" CPPFLAGS="-DFFI_BUILDING_DLL"
156159

157160
For 64-bit Windows builds, use ``CC="path/to/msvcc.sh -m64"`` and
158161
``CXX="path/to/msvcc.sh -m64"``. You may also need to specify
@@ -195,6 +198,27 @@ History
195198

196199
See the git log for details at http://github.com/libffi/libffi.
197200

201+
3.4.7 Feb-8-2024
202+
Add static trampoline support for Linux on s390x.
203+
Fix BTI support for ARM64.
204+
Support pointer authentication for ARM64.
205+
Fix ASAN compatibility.
206+
Fix x86-64 calls with 6 GP registers and some SSE registers.
207+
Miscellaneous fixes for ARC and Darwin ARM64.
208+
Fix OpenRISC or1k and Solaris 10 builds.
209+
Remove nios2 port.
210+
211+
3.4.6 Feb-18-2024
212+
Fix long double regression on mips64 and alpha.
213+
214+
3.4.5 Feb-15-2024
215+
Add support for wasm32.
216+
Add support for aarch64 branch target identification (bti).
217+
Add support for ARCv3: ARC32 & ARC64.
218+
Add support for HPPA64, and many HPPA fixes.
219+
Add support for Haikuos on PowerPC.
220+
Fixes for AIX, loongson, MIPS, power, sparc64, and x86 Darwin.
221+
198222
3.4.4 Oct-23-2022
199223
Important aarch64 fixes, including support for linux builds
200224
with Link Time Optimization (-flto).
@@ -472,6 +496,7 @@ developers:
472496
nios ii Sandra Loosemore
473497
openrisc Sebastian Macke
474498
pa Randolph Chung, Dave Anglin, Andreas Tobler
499+
pa64 Dave Anglin
475500
powerpc Geoffrey Keating, Andreas Tobler,
476501
David Edelsohn, John Hornkvist
477502
powerpc64 Jakub Jelinek
@@ -482,6 +507,7 @@ developers:
482507
sparc Anthony Green, Gordon Irlam
483508
tile-gx/tilepro Walter Lee
484509
vax Miod Vallat
510+
wasm32 Hood Chatham, Brion Vibber, Kleis Auke Wolthuizen
485511
x86 Anthony Green, Jon Beniston
486512
x86-64 Bo Thorsen
487513
xtensa Chris Zankel

0 commit comments

Comments
 (0)
0