-
Notifications
You must be signed in to change notification settings - Fork 2
/
ChangeLog
5505 lines (3786 loc) · 167 KB
/
ChangeLog
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
commit 20562ac0427c3578250d04c6e34fb0127d4551cf
Author: Anthony Green <[email protected]>
Date: Wed Nov 12 07:00:59 2014 -0500
Fix for AArch64. Release as 3.2.1.
commit a0bdc5250cd36f1d2578358e33299fd2408091ac
Author: Anthony Green <[email protected]>
Date: Tue Nov 11 09:43:01 2014 -0500
Fix typo
commit 67c0c0705318d2e567fd48e680d63dca3619a235
Author: Anthony Green <[email protected]>
Date: Tue Nov 11 07:30:49 2014 -0500
Final 3.2 changes
commit ee826b933bbdeb68ee81876ffb508c3908eed371
Author: Anthony Green <[email protected]>
Date: Tue Nov 11 07:29:26 2014 -0500
Final 3.2 changes
commit c81a705d53be97899d314953987936213244b1ba
Author: Anthony Green <[email protected]>
Date: Tue Nov 4 13:29:58 2014 -0500
Mention OpenRISC
commit 6a17ad540d7ddb7a812687f4380bd0ef2d2865bb
Merge: 990eb9d 0f316ab
Author: Anthony Green <[email protected]>
Date: Sun Sep 28 00:54:00 2014 -0400
Merge pull request #134 from s-macke/openrisc
Add OpenRISC support
commit 990eb9d4c244324771a7d878a168bb8eba1850c0
Author: Anthony Green <[email protected]>
Date: Sun Sep 28 00:50:29 2014 -0400
Only run the complex type tests on supported platforms.
commit 0f316ab7c11b8315a838a6ae4645d36ff2c46f4c
Author: Sebastian Macke <[email protected]>
Date: Sat Sep 27 00:19:15 2014 +0000
Add OpenRISC support
This patch adds support for the OpenRISC architecture.
(http://opencores.org/or1k/Main_Page)
This patch has been tested under Linux with QEMU-user emulation support.
- 32 Bit
- big endian
- delayed instructions
This is the only available configuration under Linux.
The description of the ABI can be found on the official website.
Is passes the testsuite except of the unwindtest_ffi_call.cc
testcase, which seems to be a problem of gcc and not libffi.
Some testcases of the gcc testsuite still fail.
Signed-off-by: Sebastian Macke <[email protected]>
commit 6695983d2f0857caab220862de12f3f94a55bcf6
Author: Anthony Green <[email protected]>
Date: Sat Sep 20 07:44:37 2014 -0400
Add complex type support. Mostly broken right now
commit fbbf48fbdf9b1491af0aefc00523a1b5d8bb9349
Author: Anthony Green <[email protected]>
Date: Sat Sep 20 07:43:51 2014 -0400
Compile tests with -Wno-psabi when using GCC
commit ae8d2554c5f192be54dadc9f99a1449b4df1b222
Author: Anthony Green <[email protected]>
Date: Sat Sep 20 07:08:37 2014 -0400
Update version to 3.2
commit b2ca59d39d2192021316561ea9dda3d35d8d35d9
Author: Anthony Green <[email protected]>
Date: Sat Sep 20 07:08:05 2014 -0400
More README updates for 3.2
commit f920a01ad8eafc79daaf331499ef9a97696c46a7
Author: Anthony Green <[email protected]>
Date: Sat Sep 20 06:54:06 2014 -0400
Update release notes.
commit bfcbf329c5e4bebdb32134d4e53260e17e4e66cc
Author: Bernd Edlinger <[email protected]>
Date: Sat Sep 20 06:51:45 2014 -0400
2014-05-11 Bernd Edlinger <[email protected]>
Fix current cygwin-64 build problems.
* src/java_raw_api.c: Remove if !defined(FFI_NO_RAW_API).
* src/x86/ffi.c: Add if defined(__CYGWIN__).
* src/x86/win64.S (ffi_closure_win64, ffi_call_win64): Added
handling for FFI_TYPE_UINT64, FFI_TYPE_POINTER and FFI_TYPE_INT.
Added SEH information. Fixed formatting.
commit 32cb2ce81db9457c6bd43a2587d7fa23a2edb9b1
Author: Jakub Jelinek <[email protected]>
Date: Sat Sep 20 06:39:55 2014 -0400
2014-09-10 Jakub Jelinek <[email protected]>
* src/powerpc/linux64.S: Emit .note.GNU-stack even when
POWERPC64 is not defined.
* src/powerpc/linux64_closure.S: Likewise. Also test _CALL_ELF == 2.
commit aaf3101ba81af8f488502881648e3f687721671e
Author: Matthias Klose <[email protected]>
Date: Sat Sep 20 06:37:04 2014 -0400
Fix -Werror=declaration-after-statement problem
commit 6e8a4460833594d5af1b4539178025da0077df19
Author: Dominik Vogt <[email protected]>
Date: Sat Sep 20 06:21:19 2014 -0400
2014-07-22 Dominik Vogt <[email protected]>
* src/types.c (FFI_TYPEDEF, FFI_NONCONST_TYPEDEF): Merge the macros by
adding another argument that controls whether the result is const or not
(FFI_LDBL_CONST): Temporary macro to reduce ifdef confusion
* src/prep_cif.c (ffi_prep_cif_core): Replace list of systems with new
macro FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION
* src/pa/ffitarget.h (FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION):
Define.
* src/s390/ffitarget.h (FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION):
Define.
* src/x86/ffitarget.h (FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION):
Define.
2014-07-22 Dominik Vogt <[email protected]>
* doc/libffi.texi (Primitive Types): Document ffi_type_complex_float,
ffi_type_complex_double and ffi_type_complex_longdouble
(Complex Types): New subsection.
(Complex Type Example): Ditto.
* testsuite/libffi.call/cls_align_complex_double.c: New
FFI_TYPE_COMPLEX test.
* testsuite/libffi.call/cls_align_complex_float.c: Ditto.
* testsuite/libffi.call/cls_align_complex_longdouble.c: Ditto.
* testsuite/libffi.call/cls_complex_double.c: Ditto.
* testsuite/libffi.call/cls_complex_float.c: Ditto.
* testsuite/libffi.call/cls_complex_longdouble.c: Ditto.
* testsuite/libffi.call/cls_complex_struct_double.c: Ditto.
* testsuite/libffi.call/cls_complex_struct_float.c: Ditto.
* testsuite/libffi.call/cls_complex_struct_longdouble.c: Ditto.
* testsuite/libffi.call/cls_complex_va_double.c: Ditto.
* testsuite/libffi.call/cls_complex_va_float.c: Ditto.
* testsuite/libffi.call/cls_complex_va_longdouble.c: Ditto.
* testsuite/libffi.call/complex_double.c: Ditto.
* testsuite/libffi.call/complex_defs_double.c: Ditto.
* testsuite/libffi.call/complex_float.c: Ditto.
* testsuite/libffi.call/complex_defs_float.c: Ditto.
* testsuite/libffi.call/complex_longdouble.c: Ditto.
* testsuite/libffi.call/complex_defs_longdouble.c: Ditto.
* testsuite/libffi.call/complex_int.c: Ditto.
* testsuite/libffi.call/many_complex_double.c: Ditto.
* testsuite/libffi.call/many_complex_float.c: Ditto.
* testsuite/libffi.call/many_complex_longdouble.c: Ditto.
* testsuite/libffi.call/return_complex1_double.c: Ditto.
* testsuite/libffi.call/return_complex1_float.c: Ditto.
* testsuite/libffi.call/return_complex1_longdouble.c: Ditto.
* testsuite/libffi.call/return_complex2_double.c: Ditto.
* testsuite/libffi.call/return_complex2_float.c: Ditto.
* testsuite/libffi.call/return_complex2_longdouble.c: Ditto.
* testsuite/libffi.call/return_complex_double.c: Ditto.
* testsuite/libffi.call/return_complex_float.c: Ditto.
* testsuite/libffi.call/return_complex_longdouble.c: Ditto.
* src/raw_api.c (ffi_raw_to_ptrarray): Handle FFI_TYPE_COMPLEX
(ffi_ptrarray_to_raw): Ditto.
* src/prep_cif.c (ffi_prep_cif_core): Abort if FFI_TYPE_COMPLEX is not
implemented in libffi for the target.
* src/java_raw_api.c (ffi_java_raw_size): FFI_TYPE_COMPLEX not supported
yet (abort).
(ffi_java_raw_to_ptrarray): Ditto.
(ffi_java_rvalue_to_raw): Ditto.
(ffi_java_raw_to_rvalue): Ditto.
* src/debug.c (ffi_type_test): Add debug tests for complex types.
* include/ffi.h.in (FFI_TYPE_COMPLEX): Add new FFI_TYPE_COMPLEX.
(FFI_TYPE_LAST): Bump.
(ffi_type_complex_float): Add new ffi_type_....
(ffi_type_complex_double): Ditto.
(ffi_type_complex_longdouble): Ditto.
2014-07-22 Dominik Vogt <[email protected]>
* src/s390/ffitarget.h (FFI_TARGET_HAS_COMPLEX_TYPE): Define to provide
FFI_TYPE_COMPLEX support.
* src/s390/ffi.c (ffi_check_struct_type): Implement FFI_TYPE_COMPLEX
(ffi_prep_args): Ditto.
(ffi_prep_cif_machdep): Ditto.
(ffi_closure_helper_SYSV): Ditto.
commit 4c5c4088aa3e4d8103ff9ca441937da64fdd849a
Merge: 862f53d 5d6340e
Author: Anthony Green <[email protected]>
Date: Thu Sep 18 19:10:54 2014 -0400
Merge pull request #132 from nielsAD/master
Pascal and Register calling convention support on x86
commit 862f53de04ff898a128be7eec592bae60930d6df
Merge: 5df3840 aebf2c3
Author: Anthony Green <[email protected]>
Date: Thu Sep 18 19:06:08 2014 -0400
Merge pull request #130 from frida/fix/darwin-aarch64-float-alignment
Fix alignment of FFI_TYPE_FLOAT for Apple's ARM64 ABI
commit 5df384077f3633ec8cf2e08f9199e5a44994dbad
Merge: 7b7a528 0f4e09d
Author: Anthony Green <[email protected]>
Date: Thu Sep 18 19:05:35 2014 -0400
Merge pull request #129 from frida/fix/darwin-aarch64-cif-prep
Fix non-variadic CIF initialization for Apple/ARM64
commit 7b7a5284de7a99edfcee5ac362dbf76251698e1e
Merge: 4cd5e84 6172a99
Author: Anthony Green <[email protected]>
Date: Thu Sep 18 18:28:05 2014 -0400
Merge pull request #124 from knuesel/master
Fix issue with builddir when calling configure with absolute path
commit 4cd5e840122e22636b5838943372c4ed74618e35
Merge: 1cee07b 08853e3
Author: Anthony Green <[email protected]>
Date: Thu Sep 18 18:27:15 2014 -0400
Merge pull request #123 from ehsan/clang-cl
Add support for building with clang-cl
commit 5d6340ef2cf81432da79ac8b0b1b1218ab391438
Author: nielsAD <[email protected]>
Date: Mon Aug 25 17:29:44 2014 +0200
Determine whether register arguments (THISCALL/FASTCALL/REGISTER) are really passed via register to closures. Use stack if not.
commit 6e346487b879b4b056a847268e381ae6efec4c21
Author: nielsAD <[email protected]>
Date: Mon Aug 25 12:23:29 2014 +0200
Fixed THISCALL/FASTCALL closures and added basic support for PASCAL/REGISTER closures.
commit 098dca6b31e42dd0256ed7d966729e31961f1461
Author: nielsAD <[email protected]>
Date: Sat Aug 23 00:18:47 2014 +0200
Support for calling functions with PASCAL and REGISTER calling conventions on x86 Windows/Linux.
Also changed indentation to be more consistent throughout the (adjusted) files.
commit 08853e32fb6b750cda664ee6d3290d340429dd4d
Author: Ehsan Akhgari <[email protected]>
Date: Thu Jul 31 20:33:33 2014 -0400
Enable forcing the usage of the static CRT in libffi's msvc wrapper
This is required for AddressSanitizer builds with clang-cl.
commit aebf2c3023b5ff056a708dc34169f7b549b2ec4f
Author: Ole André Vadla Ravnås <[email protected]>
Date: Fri Jul 25 21:40:50 2014 +0200
Fix alignment of FFI_TYPE_FLOAT for Apple's ARM64 ABI
commit 0f4e09d27dc175ce3e95d070b794351663c7220e
Author: Ole André Vadla Ravnås <[email protected]>
Date: Sat Jul 26 00:11:06 2014 +0200
Fix non-variadic CIF initialization for Apple/ARM64
Turns out `aarch64_nfixedargs` wasn't initialized in the non-variadic
case, resulting in undefined behavior when allocating arguments.
commit 6172a995e14bdbc6150aa02a361f710626a5c293
Author: Jeremie Knuesel <[email protected]>
Date: Wed Jun 25 12:28:17 2014 +0200
Fix issue with builddir when calling configure with absolute path
commit fb25cd08ed5a87640b02f0feeb10a09b37cfddbe
Author: Ehsan Akhgari <[email protected]>
Date: Wed Jun 11 12:07:24 2014 -0400
Add support for building with clang-cl
commit 1cee07be4712411baa5eb8af22698bc8443a6d6e
Author: Anthony Green <[email protected]>
Date: Thu Jun 12 06:30:59 2014 -0400
Remove compiler warning
commit ad0d1d239afc7ad09203847793dcc020856d1035
Author: Samuli Suominen <[email protected]>
Date: Thu Jun 12 06:30:21 2014 -0400
Fix paths in libffi.pc.in
commit df31a85103b0cc232bbc340d7e782a3853c7fad5
Merge: 69289c1 360aa8c
Author: Anthony Green <[email protected]>
Date: Fri Jun 6 08:24:35 2014 -0400
Merge pull request #122 from rvandermeulen/1014976
Don't make --enable-debug imply using the debug CRT in libffi
commit 360aa8ca1ead2fdaefa7b1c6f01ad001d8abae7e
Author: Mike Hommey <[email protected]>
Date: Mon Jun 2 09:21:10 2014 -0400
Bug 1014976 - Don't make --enable-debug imply using the debug CRT in libffi.
commit 69289c10b0acb4b52c8b5df4cf738193c618db40
Author: Anthony Green <[email protected]>
Date: Sat May 31 08:54:08 2014 -0400
Prepare for libffi 3.1.1
commit 978c9540154d320525488db1b7049277122f736d
Author: Samuli Suominen <[email protected]>
Date: Sat May 31 08:53:10 2014 -0400
Add missing GNU stack markings in win32.S
commit cbc5a3c0200aa6c2cf8d6798d69a21501557c83f
Author: Ryan Hill <[email protected]>
Date: Sat May 31 08:26:34 2014 -0400
Fix typo
commit 9d8e3018ac3d0d338373bff7eefa9f006746f4ec
Author: Anthony Green <[email protected]>
Date: Sat May 24 23:28:42 2014 -0400
Update current version.
commit 18d56cca5a4ee95ad48b129100adf26231518ed0
Author: Anthony Green <[email protected]>
Date: Mon May 19 18:05:33 2014 -0400
Increment libtool version number
commit 629f1029c47e522e4331988f02f32c203a070e28
Merge: 0403f33 c1166d4
Author: Anthony Green <[email protected]>
Date: Mon May 19 18:04:28 2014 -0400
Merge pull request #120 from l0kod/tmpfile
Create temporary file with O_TMPFILE and O_CLOEXEC when available
commit c1166d4f653bf6d17ad8c265cf5e8da84e2e76dc
Author: Mickaël Salaün <[email protected]>
Date: Mon May 12 19:44:08 2014 +0200
closures: Check for mkostemp(3)
commit 8daeed9570af72eb135c8ded460d2888f05b2e68
Author: Mickaël Salaün <[email protected]>
Date: Sun May 11 22:54:58 2014 +0200
closures: Create temporary file with O_TMPFILE and O_CLOEXEC when available
The open_temp_exec_file_dir function can create a temporary file without
file system accessible link. If the O_TMPFILE flag is not defined (old
Linux kernel or libc) the behavior is unchanged.
The open_temp_exec_file_name function now need a new argument "flags"
(like O_CLOEXEC) used for temporary file creation.
The O_TMPFILE flag allow temporary file creation without race condition.
This feature/fix prevent another process to access the (future)
executable file from the file system.
The O_CLOEXEC flag automatically close the temporary file for any
execve. This avoid transmitting (executable) file descriptor to a child
process.
commit 0403f332b1f478696c30d3d8a0e2f6eef24aaf88
Author: Anthony Green <[email protected]>
Date: Mon May 19 09:41:32 2014 -0400
Update date. Annoucing 3.1 today.
commit 94ac0c168ee7b115409121d88b25a4979446c8da
Author: Anthony Green <[email protected]>
Date: Mon May 19 09:37:21 2014 -0400
Increment libtool library revision number
commit 57465744b6e1295d7202de5a7734df589518f1c8
Author: Anthony Green <[email protected]>
Date: Sun May 11 10:30:22 2014 -0400
Update to version 3.1
commit 0c2251a42df5108b6d9ebe5fe1cf83d0bcdf660e
Author: Anthony Green <[email protected]>
Date: Sun May 11 10:22:30 2014 -0400
Support versions of git older than 1.8.5
commit 70c303cb88e23aaee91c87c56b108c50ab4f3c2f
Author: Anthony Green <[email protected]>
Date: Sun May 11 09:56:40 2014 -0400
Fix testsuite for GCC 4.9.0
commit 52b3457093ed19b2a7c5fcf243c4014c90ce6225
Author: Magnus Granberg <[email protected]>
Date: Sun May 11 09:55:28 2014 -0400
Check /proc/self/status for PaX status.
commit 7ba4c5d72aa440a4b21fb57e999e67c5957761da
Author: Dominik Vogt <[email protected]>
Date: Sun May 11 09:52:47 2014 -0400
Use to get correct dir
commit 31e0d4ecff6dc2a6c75a066ee099b52a43f6ba27
Merge: 1c0e9a7 99909eb
Author: Anthony Green <[email protected]>
Date: Wed Apr 23 19:24:47 2014 -0400
Merge pull request #119 from joshtriplett/fastcall-fastball
src/x86/win32.S: Define ffi_closure_FASTCALL in the MASM section, too
commit 99909eb6184b62408d88b6b4e7ab38e84e6d0bf3
Author: Josh Triplett <[email protected]>
Date: Tue Apr 22 21:17:52 2014 -0700
src/x86/win32.S: Define ffi_closure_FASTCALL in the MASM section, too
commit 1c0e9a7297ced15413c2d2d5d35f6c650c4b46c9
Merge: 93a24f2 d369522
Author: Anthony Green <[email protected]>
Date: Mon Apr 21 12:41:56 2014 -0400
Merge pull request #101 from joshtriplett/fastcall-closures
Support closures for fastcall
commit d36952273d4fafbda91ecc205fc0824f7cc65e70
Author: Josh Triplett <[email protected]>
Date: Sun Apr 20 12:03:25 2014 -0700
Support fastcall closures
libffi on 32-bit x86 now supports closures for all supported ABIs.
Thus, rewrite the last remaining duplicated-by-ABI test (closure_stdcall
and closure_thiscall) to use the generic ABI_NUM/ABI_ATTR mechanism.
commit 93a24f216bcdd1018b976d697179c6d49004015a
Merge: dd11a04 2349fec
Author: Anthony Green <[email protected]>
Date: Sat Apr 12 19:38:07 2014 -0400
Merge pull request #80 from ueno/devel
Fix typo in doc
commit dd11a04061cb49ce1d702545693c24eb1267d648
Merge: 8fa2812 03ca880
Author: Anthony Green <[email protected]>
Date: Sat Apr 12 19:37:21 2014 -0400
Merge pull request #86 from joshtriplett/testsuite-CC-CXX
testsuite ignores CC parameter supplied to configure or make
commit 8fa2812355e685a42abf9a62fbc674d616b2edee
Merge: 8a58e6b 419503f
Author: Anthony Green <[email protected]>
Date: Sat Apr 12 19:32:08 2014 -0400
Merge pull request #116 from frida/fix/darwin-aarch64-variadic
Fix handling of variadic calls on Darwin/AArch64
commit 8a58e6b7805b736def197b8baf8e465a2a3f6913
Merge: 30b77c5 a539f7f
Author: Anthony Green <[email protected]>
Date: Sat Apr 12 19:30:18 2014 -0400
Merge pull request #115 from frida/fix/darwin-aarch64-alignment
Fix alignment of AArch64 assembler functions
commit 30b77c56f95c63ecd83399aafdbad7b07330f2fd
Merge: dc33cb3 3e2b84d
Author: Anthony Green <[email protected]>
Date: Sat Apr 12 19:29:13 2014 -0400
Merge pull request #117 from frida/fix/windows-regression
Fix Windows regression
commit 3e2b84d295531720917bf46afc532fc6d877e3ec
Author: Ole André Vadla Ravnås <[email protected]>
Date: Sat Apr 12 01:04:04 2014 +0200
Fix Windows regression
Introduced by b5fed601948237037513a9b7f967c8fc6c9ff1f6.
commit 419503f409c321fe31ff59d963ef34bb913420d0
Author: Ole André Vadla Ravnås <[email protected]>
Date: Sun Apr 6 20:54:13 2014 +0200
Fix handling of variadic calls on Darwin/AArch64
commit a539f7ffd6783aa11353d13265520e453c565fb4
Author: Ole André Vadla Ravnås <[email protected]>
Date: Sun Apr 6 20:53:02 2014 +0200
Fix alignment of AArch64 assembler functions
commit dc33cb3c998da521a960385c1269c3aef552f69f
Merge: c860a99 b5fed60
Author: Anthony Green <[email protected]>
Date: Sat Apr 5 23:41:22 2014 -0400
Merge pull request #114 from joshtriplett/bounce-on-a-tiny-trampoline
Fix ABI on 32-bit non-Windows x86: go back to trampoline size 10
commit b5fed601948237037513a9b7f967c8fc6c9ff1f6
Author: Josh Triplett <[email protected]>
Date: Sat Apr 5 17:33:42 2014 -0700
Fix ABI on 32-bit non-Windows x86: go back to trampoline size 10
The trampoline size is part of the ABI, so it cannot change. Move the
logic from the stdcall and thiscall trampolines to the functions they
call, to reduce them both to 10 bytes.
This drops the previously added support for raw THISCALL closures on
non-Windows. (Non-raw THISCALL closures still work.)
commit 03ca880081b22efab09ba72268270f83017d3d7b
Author: Josh Triplett <[email protected]>
Date: Thu Mar 27 08:44:34 2014 -0700
README: Note the testsuite changes to respect $CC and $CXX
commit d74df8c5d8c6722ecb908da98c86cc8e2c755b84
Author: Josh Triplett <[email protected]>
Date: Thu Mar 27 00:44:12 2014 -0700
README: Update Windows example to set both CC and CXX
commit 7d698125b1f05173f3656a89755a2eb58813b002
Author: Josh Triplett <[email protected]>
Date: Wed Mar 26 23:17:56 2014 -0700
Use the proper C++ compiler to run C++ tests
Running the C compiler with -shared-libgcc -lstdc++ does not work on
non-GCC compilers.
commit fa5e88f170cb37c7b2b9bb015c8c5b854ffd8a3e
Author: Josh Triplett <[email protected]>
Date: Wed Mar 26 23:53:57 2014 -0700
.travis.yml: Make the build command more readable by splitting at &&
"script" can contain multiple commands to run in sequence.
commit 0c3824702d3d59d37f8c177d646303f546187683
Author: Josh Triplett <[email protected]>
Date: Wed Mar 26 14:51:32 2014 -0700
Always set CC_FOR_TARGET for dejagnu, to make the testsuite respect $CC
This fixes cross-compilation and compilation with CC="gcc -m32".
commit 9946a92af31b30cb7760150d1f8ca6c11b01aeea
Author: Josh Triplett <[email protected]>
Date: Wed Mar 26 20:18:58 2014 -0700
Stop looking for expect and runtest above top_builddir
Users wishing to test hand-compiled versions of expect and runtest can
easily enough put them in their path or set EXPECT and RUNTEST
themselves.
commit acb202325215058639234efb7af1f04c1c8a1f44
Author: Josh Triplett <[email protected]>
Date: Wed Mar 26 20:18:41 2014 -0700
Stop setting an empty AM_RUNTESTFLAGS
commit c860a992fef5d7cd7bb0975b1632d17a9fafe007
Author: Anthony Green <[email protected]>
Date: Tue Mar 25 17:02:51 2014 -0400
Upgrade version to 3.1-rc1
commit 9837073e6203048a162a226798c5d252600219ed
Author: Anthony Green <[email protected]>
Date: Tue Mar 25 16:24:14 2014 -0400
Update copyright date and clean up README notes.
commit 18d3baa9f597b026675baa1b4e5a5eeef7577a08
Merge: afee537 f0c8a31
Author: Anthony Green <[email protected]>
Date: Tue Mar 25 16:12:53 2014 -0400
Merge pull request #108 from joshtriplett/freebsd
[3.1 blocker] Fix FreeBSD support
commit afee53738a995e23bd2f89fd0f7b30b380566106
Merge: 7d24785 b2d610e
Author: Anthony Green <[email protected]>
Date: Tue Mar 25 16:12:35 2014 -0400
Merge pull request #106 from joshtriplett/darwin-award
[3.1 blocker] Update OS X build system to include win32.S on 32-bit
commit 7d2478568ed9f03cbf57627f449a2d2cf4d1571c
Merge: beab5f3 56be47f
Author: Anthony Green <[email protected]>
Date: Tue Mar 25 16:12:17 2014 -0400
Merge pull request #110 from joshtriplett/w64
Fix 64-bit Windows support
commit beab5f334d9ec5b8b91d1cc727d1029b40358e7e
Merge: 28fb197 ef5890e
Author: Anthony Green <[email protected]>
Date: Tue Mar 25 16:07:47 2014 -0400
Merge pull request #105 from joshtriplett/win32-relocations
[3.1 blocker] win32.S needs to handle relocations/GOT
commit f0c8a31577172104049283f0a80c723084a5bd77
Author: Josh Triplett <[email protected]>
Date: Mon Mar 24 22:14:26 2014 -0700
Compile win32.S on FreeBSD
commit b2d610e028b5ce48d1ad7e5d0debc9c321d891b2
Author: Josh Triplett <[email protected]>
Date: Fri Mar 21 11:10:13 2014 -0700
Compile win32.S on 32-bit Darwin as well
commit be50b87a490e794362cb4a27ada2fbaab202adb8
Author: Josh Triplett <[email protected]>
Date: Mon Mar 24 21:44:13 2014 -0700
Always use configure to detect whether global symbols need underscores
64-bit Windows already used this check; make it universal, and use it in
place of an ifdef on X86_WIN32, to handle non-Windows platforms that use
the underscore, such as Darwin.
commit 56be47f87629e31afbcb0774aa65735f539ee972
Author: Josh Triplett <[email protected]>
Date: Mon Mar 24 21:24:53 2014 -0700
Fix a warning on 64-bit Windows
When sizeof(size_t) != sizeof(unsigned), adding a size_t to cif->bytes
produces a "possible loss of data" warning. However, the size_t in
question refers to the size of a single parameter. Use a cast to avoid
the warning.
commit 48a8eda74aad8a21b6f26df5df08fe64c043d208
Author: Josh Triplett <[email protected]>
Date: Mon Mar 24 21:21:12 2014 -0700
Avoid referencing undefined ABIs on 64-bit Windows builds
64-bit Windows does not have FFI_STDCALL, FFI_THISCALL, or FFI_FASTCALL.
commit f0f4138f90345d7d67dfa6783a7e1c7cc30d3c6f
Author: Josh Triplett <[email protected]>
Date: Sat Mar 22 10:00:53 2014 -0700
win32.S: Add handling for position-independent code on Darwin
Newer versions of Darwin generate the necessary stub functions
automatically and just need a call instruction, but accomodating older
versions as well requires adding the stub.
commit ef5890ebafb7cd2fbf9acf161edb55fe1382871c
Author: Josh Triplett <[email protected]>
Date: Fri Mar 21 11:01:39 2014 -0700
win32.S: Use shifting for multiplication rather than repeated addition
The jump table code added a register to itself twice to multiply by 4;
shift the register left by 2 instead.
commit 4fca48901e7e4f53bf490ed22607b2d2d8f4bfcc
Author: Josh Triplett <[email protected]>
Date: Fri Mar 21 11:00:41 2014 -0700
win32.S: Make the jump tables position-independent
Now that non-Windows platforms include win32.S, it needs to support
building as position-independent code. This fixes build failures on
target platforms that do not allow text relocations.
commit 2087dcf736274286f76c69d3988fb6d7cc4fd0f5
Author: Josh Triplett <[email protected]>
Date: Fri Mar 21 10:57:06 2014 -0700
win32.S: Make calls to ffi_closure_SYSV_inner position-independent
Now that non-Windows platforms include win32.S, it needs to support
building as position-independent code. This fixes one source of build
failures on target platforms that do not allow text relocations.
commit 28fb197079cf1d11da4eef7c8c243ab05590c528
Merge: c697472 c3dd0a1
Author: Anthony Green <[email protected]>
Date: Tue Mar 18 12:19:36 2014 -0400
Merge pull request #107 from rvandermeulen/msvcc
Various compatibility fixes and improvements to msvcc.sh.
commit c3dd0a1a0245fc174361a70876e88ae24285f861
Author: Ryan VanderMeulen <[email protected]>
Date: Tue Mar 18 12:09:45 2014 -0400
Various compatibility fixes and improvements to msvcc.sh.
* Don't try to mix incompatible optimization flags in debug builds.
* Workaround ax_cc_maxopt.m4 not supporting MSVC and change -O3 to -O2.
* Fix MSVC warning by properly passing linker flags to compiler.
* Make msvcc.sh return 1 if invalid command line options are used rather than silently eating them.
* Add more comments.
commit c697472fccfbb5b87b007c053cda9ef014b346b9
Merge: 83fd2bc e48918e
Author: Anthony Green <[email protected]>
Date: Mon Mar 17 00:32:42 2014 -0400
Merge pull request #102 from joshtriplett/test-generic
Add ABIs to the test matrix; unify many bits of the testsuite
commit e48918ecf876bc85d040fc50a232059c566553a8
Author: Josh Triplett <[email protected]>
Date: Sun Mar 16 20:29:27 2014 -0700
testsuite: Add ABIs to the test matrix; unify tests across ABIs
This eliminates all the *_win32.c tests in favor of the tests they were
branched from, and expands test coverage to run many more tests on
stdcall, thiscall, and fastcall.
This same mechanism also supports testing any other target that has
multiple ABIs.
commit 4d4d368e5a55d9443c4c53b1b70d58ab6d8c941c
Author: Josh Triplett <[email protected]>
Date: Sun Mar 16 17:02:05 2014 -0700
testsuite: Replace ffitestcxx.h with ffitest.h
ffitest.h contains a superset of the functionality of ffitestcxx.h;
make the C++ tests include ffitest.h instead, and remove ffitestcxx.h.
commit 3f97cf3413c46caf2a79f32ac9cda4620972c2d7
Author: Josh Triplett <[email protected]>
Date: Sun Mar 16 16:53:42 2014 -0700
testsuite: Unify the C and C++ testsuites
These two testsuites differ only in the source file glob and a couple of
additional compiler options; unify the remaining bits.
commit 0d9cce8edb937bbe771a6cdd25f671edf06d2128
Author: Josh Triplett <[email protected]>
Date: Sun Mar 16 16:22:58 2014 -0700
testsuite: ffitest.h: Parenthesize the CHECK macro
commit 5695ec1444c5323e48fe4314f8c8f027625e67df
Author: Josh Triplett <[email protected]>
Date: Sun Mar 16 16:04:58 2014 -0700
testsuite: Factor out a function to run a matrix of tests
This commons up code from libffi.call/call.exp and
libffi.special/special.exp, unifies the optimization option matrix
between the two, and makes it easier to add more axes to the matrix
in the future.
commit dfdb02cc869855d3b68571e5f7aa77ae8c9d254a
Author: Josh Triplett <[email protected]>
Date: Sun Mar 16 15:26:26 2014 -0700
testsuite: Introduce a __THISCALL__ compiler-specific macro
commit 83fd2bce0456224483435d4b764063f4513fd464
Merge: 3658a07 06ff924
Author: Anthony Green <[email protected]>
Date: Sun Mar 16 22:03:29 2014 -0400
Merge pull request #99 from joshtriplett/gitignore
.gitignore: Ignore more generated files
commit 3658a0700a50d37a2fdba04fd9d79ad2f706d9f5
Merge: d948d0a 46c5d3c
Author: Anthony Green <[email protected]>
Date: Sun Mar 16 21:37:42 2014 -0400
Merge pull request #100 from rvandermeulen/bug-756740
Change double quotes in Makefile.am to single quotes.
commit 46c5d3c30fdc2b43c076ad955078d7c5f1e75b37
Author: Ryan VanderMeulen <[email protected]>
Date: Sun Mar 16 21:16:08 2014 -0400
Change double quotes in Makefile.am to single quotes.
This was originally done in PR #84, except the change was made to Makefile.in instead of Makefile.am and was therefore reverted the next time the files were regenerated.
commit 06ff924215a2f9739efa2c059dc595bc4ec1c851
Author: Josh Triplett <[email protected]>
Date: Sun Mar 16 16:19:46 2014 -0700
.gitignore: Ignore more generated files
The build process generates doc/libffi.info and fficonfig.h.in, so add
them to .gitignore.
commit bad8948346e9b8813023a0cc78a3b6eb8d9c14c6
Author: Josh Triplett <[email protected]>
Date: Sun Mar 16 15:16:18 2014 -0700
testsuite: Introduce a __STDCALL__ compiler-specific macro
Several tests want to use stdcall, which differs in syntax by compiler,
so introduce a macro for it in ffitest.h.
commit 98a793fa36a4ab3ba24d059cb80a2891cdb940e1
Author: Josh Triplett <[email protected]>
Date: Sun Mar 16 15:20:36 2014 -0700
testsuite: Common up the ifdef blocks for compiler-specific macros
commit d948d0a729c934b0224749338a3ba0a2c8f51c45
Merge: b61b472 a86bd31
Author: Anthony Green <[email protected]>
Date: Sun Mar 16 10:53:48 2014 -0400
Merge pull request #98 from joshtriplett/unconfigure.host
Merge configure.host into configure.ac
commit a86bd318e2424d879d784ee7b29d6536d7a17c18
Author: Josh Triplett <[email protected]>
Date: Sun Mar 16 06:58:59 2014 -0700
Merge configure.host into configure.ac
configure.host only has a single entry, and shows no signs of needing
more added.
commit b61b472bd0647006d6685238721002017f1d119c
Author: Anthony Green <[email protected]>
Date: Sun Mar 16 09:45:55 2014 -0400
Update version to 3.1-rc0. Clean up README.
commit 7a64e7dbba54e6e9f69954adfb943be1856ff928
Merge: 11a5c5c eef2e02
Author: Anthony Green <[email protected]>
Date: Sun Mar 16 09:39:08 2014 -0400
Merge pull request #97 from joshtriplett/remove-more-generated-files
Remove more generated files
commit 11a5c5c39f5861011f6c5ddf795da3a32b5f0082
Merge: 9a62a21 1c68c07
Author: Anthony Green <[email protected]>
Date: Sun Mar 16 09:38:47 2014 -0400
Merge pull request #96 from joshtriplett/sawing-changelogs
Generate ChangeLog from git in make dist; remove it from version control
commit eef2e02a13d7d1c8145d47a64467f654406a3548
Author: Josh Triplett <[email protected]>
Date: Sun Mar 16 06:26:03 2014 -0700
doc: Remove autogenerated info file and stamp
commit 9fb403d3c5d9643e0f561cab6d4a07b1e54907ff
Author: Josh Triplett <[email protected]>
Date: Sun Mar 16 06:25:52 2014 -0700
fficonfig.h.in: Remove, configure generates it
commit 1c68c07217fda78a779778c1480fedef7a58d5b4
Author: Josh Triplett <[email protected]>
Date: Sun Mar 16 06:11:58 2014 -0700
Generate ChangeLog from git in make dist
Archive the existing ChangeLog to ChangeLog.libffi-3.1
commit c65ed55e655711e008282edbdd82ce95d008b4f6
Author: Josh Triplett <[email protected]>
Date: Sun Mar 16 05:52:00 2014 -0700
ChangeLog.v1: Fix typo in explanatory header.
commit 9a62a21f5c3a8e1da463229f3170c8ab3031d920
Author: Anthony Green <[email protected]>
Date: Sun Mar 16 09:03:57 2014 -0400
Add missing ChangeLog entry. Clean up some entries.
commit 9bc704c58cb7a049d867837e3a11e2e31886ec66
Merge: 694447a e892e58
Author: Anthony Green <[email protected]>
Date: Sun Mar 16 08:41:00 2014 -0400
Merge pull request #95 from joshtriplett/news
README: Update news for 3.0.14
commit e892e581d1838a06c18c7ecd50ebd79915cff92b
Author: Josh Triplett <[email protected]>
Date: Sun Mar 16 05:38:24 2014 -0700
README: Update news for 3.0.14
commit 694447aa29deadd571efb4e9a26ee3f68ede1493
Merge: fdc87f3 45a6c21
Author: Anthony Green <[email protected]>
Date: Sun Mar 16 08:32:05 2014 -0400
Merge pull request #93 from joshtriplett/travis-dist
Make Travis check "make dist"
commit 45a6c21efa944b520842e631dc54919b04884744
Author: Josh Triplett <[email protected]>
Date: Sun Mar 16 05:29:08 2014 -0700
.travis.yml: Test "make dist" too.
commit fdc87f3b2ea37b58a4a9ae6c35083f544909fe3c
Merge: 7412b83 e1911f7
Author: Anthony Green <[email protected]>
Date: Sun Mar 16 08:05:51 2014 -0400
Merge pull request #85 from joshtriplett/stdcall
stdcall support on Linux
commit e1911f78df113ca58738b66089a070d4cf747de7
Author: Josh Triplett <[email protected]>
Date: Sun Mar 16 03:25:53 2014 -0700
Add support for stdcall, thiscall, and fastcall on non-Windows x86-32
Linux supports the stdcall calling convention, either via functions
explicitly declared with the stdcall attribute, or via code compiled
with -mrtd which effectively makes stdcall the default.