File tree Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ EXTRA_libffi_la_SOURCES = \
82
82
src/alpha/ffi.c src/alpha/osf.S \
83
83
src/arc/ffi.c src/arc/arcompact.S \
84
84
src/arm/ffi.c src/arm/sysv.S \
85
+ src/arm/sysv_msvc_arm32.S \
85
86
src/avr32/ffi.c src/avr32/sysv.S \
86
87
src/bfin/ffi.c src/bfin/sysv.S \
87
88
src/cris/ffi.c src/cris/sysv.S \
Original file line number Diff line number Diff line change @@ -191,13 +191,16 @@ History
191
191
192
192
See the git log for details at http://github.com/libffi/libffi .
193
193
194
- 3.3 TBD
194
+ 3.4 TBD
195
195
Add RISC-V support.
196
196
New API in support of GO closures.
197
197
Default to Microsoft's 64 bit long double ABI with Visual C++.
198
198
GNU compiler uses 80 bits (128 in memory) FFI_GNUW64 ABI.
199
199
Many new tests cases and bug fixes.
200
200
201
+ 3.3 Mar-05-19
202
+ Add Windows 32-bit arm support.
203
+
201
204
3.2.1 Nov-12-14
202
205
Build fix for non-iOS AArch64 targets.
203
206
Original file line number Diff line number Diff line change 60
60
case $1
61
61
in
62
62
--verbose)
63
- $ verbose =1
63
+ verbose=1
64
64
shift 1
65
65
;;
66
66
--version)
80
80
safeseh=
81
81
shift 1
82
82
;;
83
+ -marm)
84
+ ml=' armasm'
85
+ safeseh=
86
+ shift 1
87
+ ;;
83
88
-clang-cl)
84
89
cl=" clang-cl"
85
90
shift 1
237
242
else
238
243
output=" -Fe$2 "
239
244
fi
245
+ armasm_output=" -o $2 "
240
246
if [ -n " $assembly " ]; then
241
247
args=" $args $output "
242
248
else
@@ -289,13 +295,21 @@ if [ -n "$assembly" ]; then
289
295
fi
290
296
ppsrc=" $outdir /$( basename $src | sed ' s/.S$/.asm/g' ) "
291
297
298
+ if [ $ml = " armasm" ]; then
299
+ defines=" $defines -D_M_ARM"
300
+ fi
301
+
292
302
if test -n " $verbose " ; then
293
303
echo " $cl -nologo -EP $includes $defines $src > $ppsrc "
294
304
fi
295
305
296
306
" $cl " -nologo -EP $includes $defines $src > $ppsrc || exit $?
297
307
output=" $( echo $output | sed ' s%/F[dpa][^ ]*%%g' ) "
298
- args=" -nologo $safeseh $single $output $ppsrc "
308
+ if [ $ml = " armasm" ]; then
309
+ args=" -nologo -g -oldit $armasm_output $ppsrc -errorReport:prompt"
310
+ else
311
+ args=" -nologo $safeseh $single $output $ppsrc "
312
+ fi
299
313
300
314
if test -n " $verbose " ; then
301
315
echo " $ml $args "
Original file line number Diff line number Diff line change @@ -57,7 +57,9 @@ typedef enum ffi_abi {
57
57
signed char vfp_args[16] \
58
58
59
59
#define FFI_TARGET_SPECIFIC_VARIADIC
60
+ #ifndef _M_ARM
60
61
#define FFI_TARGET_HAS_COMPLEX_TYPE
62
+ #endif
61
63
62
64
/* ---- Definitions for closures ----------------------------------------- */
63
65
You can’t perform that action at this time.
0 commit comments