-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
6453 lines (5492 loc) · 267 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
2024-11-22 Bruno Haible <[email protected]>
Switch to libtool 2.5.4.
* autopull.sh (LIBTOOL_VERSION): Set to 2.5.4.
2024-11-07 Bruno Haible <[email protected]>
Update the GPL text.
* COPYING: Update from <https://ftp.gnu.org/gnu/Licenses/gpl-2.0.txt>.
2024-09-26 Bruno Haible <[email protected]>
Switch to libtool 2.5.3.
* autopull.sh (LIBTOOL_VERSION): Set to 2.5.3.
* libtool-patches/libtool-android.diff: Remove file.
* libtool-patches/libtool-freebsd-biarch.diff: Remove file.
* libtool-patches/libtool-hurd-64.diff: Remove file.
* libtool-patches/libtool-solaris11-fix.diff: Remove file.
* libtool-patches/README: Don't mention them.
* Makefile.maint (libtool-imported-files): Don't apply them.
2024-09-15 Bruno Haible <[email protected]>
build: Avoid build failure caused by GNU Make's parallel make.
Reported by Thomas Klausner <[email protected]>
at <https://savannah.gnu.org/bugs/?66220>.
* Makefile.in (.NOTPARALLEL): New target.
* callback/Makefile.in (.NOTPARALLEL): New target.
2024-09-02 Bruno Haible <[email protected]>
vacall: Generalize OpenBSD/x86_64 and Haiku/x86_64 fix.
* vacall/Makefile.devel (vacall-x86_64-macro.S): Test __PIC__, like for
i386, sparc, sparc64, hppa, arm-old, arm-eabi, armhf-eabi,
riscv32-ilp32d, riscv64-lp64d.
2024-09-02 Bruno Haible <[email protected]>
Prepare for 2.5 release.
* VERSION: Set to 2.5.
* NEWS: Update.
2024-09-02 Bruno Haible <[email protected]>
Bump shared library version numbers.
* Makefile.in (LIBFFCALL_VERSION_INFO): Bump to 1:1:1.
* avcall/Makefile.in (LIBAVCALL_VERSION_INFO): Bump to 2:1:1.
* trampoline/Makefile.in (LIBTRAMPOLINE_VERSION_INFO): Bump to 1:4:0.
* callback/Makefile.in (LIBCALLBACK_VERSION_INFO): Bump to 1:5:0.
2024-09-02 Bruno Haible <[email protected]>
build: Trim the code size of gnulib dependencies.
* gnulib-local/modules/libffcall-imports: New file.
* Makefile.maint (GNULIB_MODULES): Remove clean-temp-simple, hasmntopt,
lock, vma-prot. Add libffcall-imports.
(gnulib-m4/gnulib-cache.m4): Pass the options --local-dir and
--conditional-dependencies to gnulib-tool.
2024-09-02 Bruno Haible <[email protected]>
vacall: Fix build failure on Haiku (x86_64).
* vacall/Makefile.devel (vacall-x86_64-macro.S): On Haiku as well, use
the variant compiled with -fPIC. Needed because without -fPIC, the .text
section has a R_X86_64_PC32 relocation.
2024-08-29 Bruno Haible <[email protected]>
Avoid collision of different functions with the same name.
* trampoline/cache-powerpc.c (__TR_clear_cache_3): Renamed from
__TR_clear_cache.
* trampoline/cache-powerpc64.c (__TR_clear_cache_3): Renamed from
__TR_clear_cache.
* trampoline/trampoline.c: On powerpc*, use __TR_clear_cache_3 instead
of __TR_clear_cache.
* callback/trampoline_r/cache-powerpc.c (__TR_clear_cache_2): Renamed
from __TR_clear_cache.
* callback/trampoline_r/cache-powerpc64.c (__TR_clear_cache_2): Renamed
from __TR_clear_cache.
* callback/trampoline_r/trampoline.c: On powerpc*, use
__TR_clear_cache_2 instead of __TR_clear_cache.
2024-08-29 Bruno Haible <[email protected]>
trampoline: Drop support for K&R C compilers.
* trampoline/cache.c (__TR_clear_cache): Use ANSI C syntax.
* trampoline/trampoline.c (__TR_clear_cache_4, __TR_clear_cache):
Declare with parameters.
* callback/trampoline_r/trampoline.c (__TR_clear_cache_2,
__TR_clear_cache): Likewise.
2024-08-29 Bruno Haible <[email protected]>
trampoline: Simplify code structure.
* trampoline/trampoline.c (alloc_trampoline): Do the final mprotect call
before filling out the trampoline.
* callback/trampoline_r/trampoline.c (alloc_trampoline_r): Likewise.
2024-08-29 Bruno Haible <[email protected]>
trampoline: Fix test failure on OpenBSD/arm64.
* Makefile.maint (GNULIB_MODULES): Add vma-prot.
* trampoline/trampoline.c: Include vma-prot.h.
(is_trampoline): On OpenBSD, test first whether the function's code is
readable.
* callback/trampoline_r/trampoline.c: Include vma-prot.h.
(is_trampoline_r): On OpenBSD, test first whether the function's code is
readable.
* NEWS: Mention the improvement.
2024-08-29 Bruno Haible <[email protected]>
build: Verify the license of imported gnulib modules.
* Makefile.maint (gnulib-m4/gnulib-cache.m4): Pass option --gpl=2 to
gnulib-tool.
2024-08-25 Bruno Haible <[email protected]>
trampoline: Fix compilation error on Linux/hppa.
* trampoline/trampoline.c (alloc_trampoline, is_trampoline): Use
'volatile' to block an invalid GCC optimization.
* callback/trampoline_r/trampoline.c (alloc_trampoline_r,
is_trampoline_r): Likewise.
* NEWS: Mention it.
2024-08-25 Bruno Haible <[email protected]>
vacall: Fix build failure on Linux/hppa.
* vacall/Makefile.devel (vacall-hppa-linux-pic.s): New rule.
(vacall-hppa-macro.S): Combine the PIC and non-PIC code in a single
file.
2024-08-25 Bruno Haible <[email protected]>
A simpler fix for Linux/ia64.
* avcall/avcall-ia64.c (avcall_call): Revert last change. Use
__builtin_alloca to allocate the stack frame.
2024-08-25 Bruno Haible <[email protected]>
Fix the support for Linux/ia64.
In avcall, the l_l6J and l_l4K tests were failing.
* avcall/avcall-ia64.c (avcall_call): Remove argframe variable. Don't
make side effects on sp = r12. Instead, force the compiler to build a
stack frame for up to 256 arguments.
* NEWS: Mention the fix.
2024-08-24 Bruno Haible <[email protected]>
Fix shared library support in 32-bit mode on FreeBSD/powerpc64.
* libtool-patches/libtool-freebsd-biarch.diff: New file, from
<https://savannah.gnu.org/patch/index.php?10469>.
* libtool-patches/README: Mention it.
* Makefile.maint (libtool-imported-files): Apply it.
2024-08-23 Bruno Haible <[email protected]>
Add support for FreeBSD 14/powerpc64.
This is the first big-endian powerpc64-ELFv2 platform.
* avcall/avcall-powerpc64.c (avcall_call): Add big-endian variant of the
small-struct return handling code.
* vacall/vacall-powerpc64.c (vacall_receiver): Likewise.
* avcall/Makefile.devel (avcall-powerpc64-elfv2-linux.S): Include the
code for both little-endian and big-endian platforms.
* vacall/Makefile.devel (vacall-powerpc64-elfv2-linux.S): Likewise.
* callback/vacall_r/Makefile.devel (vacall-powerpc64-elfv2-linux.S):
Likewise.
* NEWS: Mention the new port.
2024-08-23 Bruno Haible <[email protected]>
Add support for FreeBSD 14/powerpc64le.
FreeBSD 14 breaks the long-standing convention that, on powerpc64,
_BIG_ENDIAN is defined on big-endian machines only and _LITTLE_ENDIAN
is defined on little-endian machines only.
* avcall/avcall-internal.h: On powerpc64, test __BIG_ENDIAN__ or
__LITTLE_ENDIAN__, not _BIG_ENDIAN or _LITTLE_ENDIAN, as FreeBSD 14
breaks the latter.
* vacall/vacall-internal.h: Likewise.
* NEWS: Mention the new port.
2024-08-21 Bruno Haible <[email protected]>
Add support for FreeBSD/powerpc and NetBSD/powerpc.
* avcall/avcall-powerpc.c (avcall_call): Add support for structs
returned in registers, of size 3, 5..7. Code copied from avcall-hppa.c.
* avcall/avcall-internal.h (__av_reg_struct_return): Define differently
for FreeBSD/powerpc and NetBSD/powerpc.
* avcall/avcall.h (__AV_STRUCT_RETURN): Include the
__AV_SMALL_STRUCT_RETURN flag on FreeBSD/powerpc and NetBSD/powerpc.
* vacall/vacall-powerpc.c (vacall_receiver): Add support for structs
returned in registers, of size 3, 5..7. Code copied from vacall-hppa.c.
* vacall/vacall-internal.h (__va_reg_struct_return): Define differently
for FreeBSD/powerpc and NetBSD/powerpc.
* vacall/vacall.h (__VA_STRUCT_RETURN): Include the
__VA_SMALL_STRUCT_RETURN flag on FreeBSD/powerpc and NetBSD/powerpc.
* callback/vacall_r/vacall_r.h: Likewise.
* NEWS: Mention the new ports.
2024-08-21 Bruno Haible <[email protected]>
Add support for Linux/riscv64 with musl libc.
* trampoline/trampoline.c (__riscv_flush_icache): New declaration.
* callback/trampoline_r/trampoline.c: Likewise.
* NEWS: Mention the new port.
2024-08-20 Bruno Haible <[email protected]>
Fix support for older Linux versions (regression 2024-08-18).
* trampoline/trampoline.c (is_usable_mount): Skip f_flags test if
'struct statfs' does not have this field.
* callback/trampoline_r/trampoline.c: Likewise.
2024-08-20 Bruno Haible <[email protected]>
Fix support for FreeBSD 12/arm, broken by last commit.
* m4/cc-gcc.m4 (CL_CC_GCC): Revert last change.
* cross-tools/cross.conf (arm): Add cross-compiler for
arm-linux-gnueabi.
* configure.ac: If HOST_CPU_C_ABI is arm or armhf, add a '-old' or
'-eabi' suffix.
* avcall/avcall-arm.c (avcall_call): With GCC >= 4, use __builtin_alloca
to reserve room for the stack frame.
* avcall/avcall-armhf.c (avcall_call): Remove redundant stack pointer
alignment.
* avcall/Makefile.devel (avcall-arm-old-macro.S): Renamed from
avcall-arm-macro.S.
(avcall-arm-eabi-macro.S): New rule.
(avcall-armhf-eabi-macro.S): Renamed from avcall-armhf-macro.S. Use
gcc 6.5 option -masm-syntax-unified.
* avcall/Makefile.in (avcall-arm-old.lo): Renamed from avcall-arm.lo.
(avcall-arm-old.s): Renamed from avcall-arm.s.
(avcall-arm-eabi.lo, avcall-arm-eabi.s): New rules.
(avcall-armhf-eabi.lo): Renamed from avcall-armhf.lo.
(avcall-armhf-eabi.s): Renamed from avcall-armhf.s.
(clean, SOURCE_FILES): Update.
* vacall/Makefile.devel (vacall-arm-old-linux.s): Renamed from
vacall-arm-linux.s.
(vacall-arm-old-linux-pic.s): Renamed from vacall-arm-linux-pic.s.
(vacall-arm-old-macro.S): Renamed from vacall-arm-macro.S.
(vacall-arm-eabi-linux.s, vacall-arm-eabi-linux-pic.s,
vacall-arm-eabi-macro.S): New rules.
(vacall-armhf-eabi-linux.s): Renamed from vacall-armhf-linux.s. Use
gcc 6.5 option -masm-syntax-unified.
(vacall-armhf-eabi-linux-pic.s): Renamed from vacall-armhf-linux-pic.s.
Use gcc 6.5 option -masm-syntax-unified.
(vacall-armhf-eabi-macro.S): Renamed from vacall-armhf-macro.S.
* vacall/Makefile.in (vacall-arm-old.@OBJEXT@): Renamed from
vacall-arm.@OBJEXT@.
(vacall-arm-old.s): Renamed from vacall-arm.s.
(vacall-arm-eabi.@OBJEXT@, vacall-arm-eabi.s): New rules.
(vacall-armhf-eabi.@OBJEXT@): Renamed from vacall-armhf.@OBJEXT@.
(vacall-armhf-eabi.s): Renamed from vacall-armhf.s.
(clean, SOURCE_FILES): Update.
* callback/vacall_r/Makefile.devel (vacall-arm-old-macro.S): Renamed
from vacall-arm-macro.S.
(vacall-arm-eabi-macro.S): New rule.
(vacall-armhf-eabi-macro.S): Renamed from vacall-armhf-macro.S. Use
gcc 6.5 option -masm-syntax-unified.
* callback/vacall_r/Makefile.in (vacall-arm-old.lo): Renamed from
vacall-arm.lo.
(vacall-arm-old.s): Renamed from vacall-arm.s.
(vacall-arm-eabi.lo, vacall-arm-eabi.s): New rules.
(vacall-armhf-eabi.lo): Renamed from vacall-armhf.lo.
(vacall-armhf-eabi.s): Renamed from vacall-armhf.s.
(clean, SOURCE_FILES): Update.
Add support for Android.
* m4/cc-gcc.m4 (CL_CC_GCC): If using clang as compiler, add the option
-no-integrated-as to GCC_X_NONE.
* NEWS: Mention Android as supported.
2024-08-19 Bruno Haible <[email protected]>
trampoline: Fix portability problems to Android API levels < 30.
* m4/codeexec.m4 (FFCALL_CODEEXEC): Test whether mmap()+mprotect works,
independently of the result of whether malloc()+mprotect works. Test
whether memfd_create exists at the given API level, before trying to use
it.
* trampoline/trampoline.c: On Android, prefer mmap()+mprotect to the
temp file location approach.
* callback/trampoline_r/trampoline.c: Likewise.
2024-08-19 Bruno Haible <[email protected]>
trampoline: Fix portability problems to Android API levels < 26.
* configure.ac: Test for setmntent.
* trampoline/trampoline.c: On Android, test HAVE_SETMNTENT, since
API levels < 21 don't have the necessary functions.
* callback/trampoline_r/trampoline.c: Likewise.
* Makefile.maint (GNULIB_MODULES): Add hasmntopt.
2024-08-18 Bruno Haible <[email protected]>
trampoline: Try harder to find a temp file location on Linux, OpenBSD.
Reported by Simon Dales <[email protected]> on 2018-02-26.
* trampoline/trampoline.c: Include <sys/statfs.h>, <sys/statvfs.h>,
<mntent.h> or <sys/mount.h>.
(is_usable_mount, is_usable_mntent, local_rwx_tmp_dir): New functions.
(for_mmap_init) [EXECUTABLE_VIA_MMAP_SHARED_POSIX]: Use
local_rwx_tmp_dir.
* callback/trampoline_r/trampoline.c: Likewise.
2024-08-18 Bruno Haible <[email protected]>
trampoline: Use anonymous memory also on NetBSD.
* m4/codeexec.m4 (FFCALL_CODEEXEC): Add a test that may define
HAVE_MMAP_SHARED_NETBSD_CAN_EXEC.
* trampoline/trampoline.c (EXECUTABLE_VIA_MMAP_SHARED_NETBSD): New
macro.
(alloc_trampoline): Add alternative code for
EXECUTABLE_VIA_MMAP_SHARED_NETBSD.
* callback/trampoline_r/trampoline.c: Likewise.
* NEWS: Mention the improvement.
2024-08-18 Bruno Haible <[email protected]>
trampoline: More reliable autoconfiguration on Linux, FreeBSD, NetBSD.
* m4/codeexec.m4 (FFCALL_CODEEXEC): On Linux, FreeBSD, NetBSD, make the
results of HAVE_MPROTECT_AFTER_MALLOC_CAN_EXEC and
HAVE_MPROTECT_AFTER_MMAP_CAN_EXEC only dependent on the OS, independent
of configurable security policies.
2024-08-17 Bruno Haible <[email protected]>
trampoline: Work around failing mmap call on macOS 14,
and use memfd_create on Linux and FreeBSD.
Reported by Lorenzo Daneo <[email protected]> at
<https://lists.gnu.org/archive/html/libffcall/2024-08/msg00007.html>.
* m4/codeexec.m4 (FFCALL_CODEEXEC): Rename HAVE_MMAP_SHARED_CAN_EXEC to
HAVE_MMAP_SHARED_POSIX_CAN_EXEC.
Add a test that may define HAVE_MMAP_SHARED_MACOS_CAN_EXEC.
Add a test that may define HAVE_MMAP_SHARED_MEMFD_CAN_EXEC.
* trampoline/trampoline.c: Test HAVE_MMAP_SHARED_POSIX_CAN_EXEC instead
of HAVE_MMAP_SHARED_CAN_EXEC.
(EXECUTABLE_VIA_MMAP_SHARED_POSIX): Renamed from
EXECUTABLE_VIA_MMAP_FILE_SHARED.
(EXECUTABLE_VIA_MMAP_SHARED_MACOS, EXECUTABLE_VIA_MMAP_SHARED_MEMFD):
New macros.
(mach_vm_remap) [EXECUTABLE_VIA_MMAP_SHARED_MACOS]: New declaration.
(for_mmap_init): Add an alternative implementation for
EXECUTABLE_VIA_MMAP_SHARED_MEMFD.
(alloc_trampoline): Add alternative code for
EXECUTABLE_VIA_MMAP_SHARED_MACOS.
* callback/trampoline_r/trampoline.c: Likewise.
* NEWS: Mention the improvements.
2024-07-12 Bruno Haible <[email protected]>
Switch to autoconf 2.72, automake 1.17.
* configure.ac: Remove AC_PROG_GCC_TRADITIONAL invocation.
* autogen.sh: Update comments.
2024-04-04 Bruno Haible <[email protected]>
Fix macro file 'serial' numbers for 'aclocal --install'.
* m4/endianness.m4: Make 'serial' effective.
2023-09-18 Bruno Haible <[email protected]>
Fix shared library support on Android.
* libtool-patches/libtool-android.diff: New file, from
<https://savannah.gnu.org/patch/index.php?10393>.
* libtool-patches/README: Mention it.
* Makefile.maint (libtool-imported-files): Apply it.
2023-08-30 Bruno Haible <[email protected]>
Recognize the *-*-windows* config triplets introduced on 2023-06-26.
* m4/codeexec.m4 (FFCALL_CODEEXEC): Treat windows* as equivalent to
mingw*.
2023-06-29 Bruno Haible <[email protected]>
Update the installation instructions for Windows.
* INSTALL.windows: Add a note about MSYS2.
2023-05-21 Bruno Haible <[email protected]>
Support creating shared libraries on Hurd/x86_64.
* libtool-patches/libtool-hurd-64.diff: New file, from
https://lists.gnu.org/archive/html/bug-hurd/2023-05/msg00086.html.
* libtool-patches/README: Mention it.
* Makefile.maint (libtool-imported-files): Apply it.
2023-02-26 Bruno Haible <[email protected]>
Modernize handling of m4 macro dirs.
Suggested by Sébastien Villemot <[email protected]>.
* configure.ac (AC_CONFIG_MACRO_DIRS): Specify the m4 macro dirs here.
* Makefile.maint (aclocal.m4): ... not here.
* autogen.sh: Update comments.
2023-02-09 Bruno Haible <[email protected]>
Fix compilation error with ISO C 23 compliant compilers.
Note: The parameter list (...) was introduced in C23, for compatibility
with C++. See ISO C 23 § 6.7.6.(1) definition of parameter-type-list and
<https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2975.pdf>.
* trampoline/trampoline.h (trampoline_function_t): For ISO C23, use the
same syntax as for C++.
* callback/trampoline_r/trampoline_r.h (__TR_function): Likewise.
* callback/trampoline_r/test1.c (function): Likewise.
* callback/trampoline_r/test2.c (function): Likewise.
* callback/callback.h (callback_t): Likewise.
2022-07-18 Bruno Haible <[email protected]>
Make autopull.sh more suited for continuous integration.
* autopull.sh: Support option --one-time.
2022-07-18 Bruno Haible <[email protected]>
Move gnulib-tool invocation back from autopull.sh to autogen.sh.
* autogen.sh: Revert last change regarding gnulib. Improve comments.
* autopull.sh: Only call 'gitsub.sh pull' and fetch libtool.
2022-07-17 Bruno Haible <[email protected]>
Split autogen.sh into autopull.sh and autogen.sh.
* autopull.sh: New file, based on autogen.sh.
* autogen.sh: Remove code that was moved to autopull.sh. Remove
--skip-gnulib option.
* Makefile.in (SOURCE_FILES): Add README-hacking, autogen.sh.
* README-hacking: Mention autopull.sh.
2022-05-22 Bruno Haible <[email protected]>
Add GNU Project notice.
* JOIN-GNU: New file. Inspired by a suggestion from José E. Marchesi
on the gnu-prog-discuss mailing list.
* README: Refer to it.
* Makefile.in (SOURCE_FILES): Add it.
2022-05-15 Bruno Haible <[email protected]>
Switch to libtool 2.4.7.
* autogen.sh (LIBTOOL_VERSION): Set to 2.4.7.
* libtool-patches/libtool-midnightbsd-fix.diff: Remove file.
* libtool-patches/README: Don't mention it.
* Makefile.maint (libtool-imported-files): Don't apply it.
2022-05-08 Bruno Haible <[email protected]>
loongarch: Use the now-released GCC 12.
* cross-tools/cross-build.sh: Fix typo in comment.
(func_build_zstd): New function.
(func_build_gcc): For GCC versions ≥ 12, build also zstd.
* cross-tools/patches/gcc-12.1.0.patch: New file.
* cross-tools/cross.conf (loongarch64): Use GCC 12.1.0.
* avcall/Makefile.devel (avcall-loongarch64-linux.s): Force the use of
GCC 12.1.0.
* vacall/Makefile.devel (vacall-loongarch64-linux.s): Likewise.
* callback/vacall_r/Makefile.devel (vacall-loongarch64-linux.s):
Likewise.
* trampoline/Makefile.devel (proto-loongarch64.s): Likewise.
* callback/trampoline_r/Makefile.devel (proto-loongarch64.s): Likewise.
* trampoline/proto-loongarch64.s: Regenerated.
* callback/trampoline_r/proto-loongarch64.s: Regenerated.
2022-05-08 Bruno Haible <[email protected]>
riscv32: Add support for Linux/riscv32 with PIE-enabled GCC.
* vacall/Makefile.devel (vacall-riscv32-ilp32d-linux-pic.s): New target.
(vacall-riscv32-ilp32d-macro.S): Include code for the PIC and the
non-PIC case.
* vacall/Makefile.in (SOURCE_FILES): Add
vacall-riscv32-ilp32d-linux-pic.s.
2022-05-08 Bruno Haible <[email protected]>
riscv64: Add support for Linux/riscv64 with PIE-enabled GCC.
Reported by Raymond Wong <[email protected]> at
<https://savannah.gnu.org/bugs/?62422>.
* vacall/Makefile.devel (vacall-riscv64-lp64d-linux-pic.s): New target.
(vacall-riscv64-lp64d-macro.S): Include code for the PIC and the non-PIC
case.
* vacall/Makefile.in (SOURCE_FILES): Add
vacall-riscv64-lp64d-linux-pic.s.
2022-02-12 Bruno Haible <[email protected]>
loongarch: Fix gcc installation.
* cross-tools/cross.conf (loongarch64): Change gcc version to match what
it actually reports.
2022-02-12 Bruno Haible <[email protected]>
Fix cross-tools build.
* cross-tools/cross-build.sh (func_build_gcc): Set LD_LIBRARY_PATH, so
that libisl.so.15 gets found during installation.
2022-02-12 Bruno Haible <[email protected]>
loongarch: Allow for continuous integration.
* cross-tools/cross-build.sh (func_build_gcc): Download fork tarball
from alpha.gnu.org. Adjust installation completeness test.
* cross-tools/cross.conf (loongarch64): Use binutils 2.38.
2022-01-16 Bruno Haible <[email protected]>
loongarch: Add support for loongarch64 ABI.
* cross-tools/cross-build.sh (func_build_binutils): Add support for
newer binutils snapshots.
(func_build_gcc): Add support for GCC 10 and newer.
* cross-tools/cross.conf: Add configuration for loongarch64 cross tools.
* porting-tools/abis/call-used-registers.txt: Add info about
loongarch64.
* porting-tools/abis/reg-struct-return.txt: Likewise.
* porting-tools/abis/stack-frame.txt: Likewise. Some more tweaks.
* porting-tools/execstack/voidfunc.c: Add command for loongarch64.
* porting-tools/execstack/voidfunc-loongarch64.o: New generated file.
* porting-tools/execstack/main.c (voidfunc): Define also for loongarch.
* porting-tools/execstack/README: Add info about loongarch64.
* ffcall-abi.h: Add support for loongarch64-lp64.
* common/asm-loongarch.sh: New file.
* Makefile.in (SOURCE_FILES): Add it.
* avcall/avcall.h (__AV_STRUCT_RETURN, __AV_REGISTER_STRUCT_RETURN): Add
code for __loongarch64__.
* avcall/avcall-alist.h (__av_alist): Likewise.
* avcall/avcall-internal.h: Add code for __loongarch64__, especially
__av_start1, __av_reg_struct_return, __av_start_struct4, __av_word,
__av_long, __av_ulong, __av_ptr, __av_longlong, __av_ulonglong,
_av_float, _av_double, __av_struct.
* avcall/avcall-loongarch64.c: New file, based on
avcall/avcall-riscv64.c.
* avcall/Makefile.devel (avcall-loongarch64-linux.s,
avcall-loongarch64-macro.S): New targets.
* avcall/Makefile.in (avcall-loongarch64.lo, avcall-loongarch64.s): New
targets.
(clean): Remove avcall-loongarch64.s.
(SOURCE_FILES): Add avcall-loongarch64.c, avcall-loongarch64-linux.s,
avcall-loongarch64-macro.S.
* vacall/vacall.h (__VA_STRUCT_RETURN, __VA_REGISTER_STRUCT_RETURN): Add
code for __loongarch64__.
* vacall/vacall-internal.h: Add code for __loongarch64__, especially
__va_alist, __va_reg_struct_return, __va_start_struct2,
__va_arg_leftadjusted, __va_arg_adjusted, _va_arg_longlong,
_va_arg_ulonglong, __va_align_double, _va_arg_float, _va_arg_double,
__va_arg_struct, _va_return_longlong.
* vacall/vacall-loongarch64.c: New file, based on
vacall/vacall-riscv64.c.
* vacall/Makefile.devel (vacall-loongarch64-linux.s,
vacall-loongarch64-macro.S): New targets.
* vacall/Makefile.in (vacall-loongarch64.@OBJEXT@,
vacall-loongarch64.s): New targets.
(clean): Remove vacall-loongarch64.s.
(SOURCE_FILES): Add vacall-loongarch64.c, vacall-loongarch64-linux.s,
vacall-loongarch64-macro.S.
* callback/vacall_r/vacall_r.h (__VA_STRUCT_RETURN,
__VA_REGISTER_STRUCT_RETURN): Add code for __loongarch64__.
* callback/vacall_r/Makefile.devel (vacall-loongarch64-linux.s,
vacall-loongarch64-macro.S): New targets.
* callback/vacall_r/Makefile.in (vacall-loongarch64.lo,
vacall-loongarch64.s): New targets.
(clean): Remove vacall-loongarch64.s.
(SOURCE_FILES): Add vacall-loongarch64-linux.s,
vacall-loongarch64-macro.S.
* trampoline/Makefile.devel (proto-loongarch64.s, tramp-loongarch64.o):
New targets.
* trampoline/proto-loongarch64.s: New generated file.
* trampoline/tramp-loongarch64.s: New file.
* trampoline/tramp-loongarch64.o: New generated file.
* trampoline/trampoline.c: Implement for __loongarch64__.
* callback/trampoline_r/Makefile.devel (proto-loongarch64.s,
tramp-loongarch64.o): New targets.
* callback/trampoline_r/proto64.c: Add code for __loongarch64__.
* callback/trampoline_r/proto-loongarch64.s: New generated file.
* callback/trampoline_r/tramp-loongarch64.s: New file.
* callback/trampoline_r/tramp-loongarch64.o: New generated file.
* callback/trampoline_r/trampoline.c: Implement for __loongarch64__.
* callback/trampoline_r/test1.c: Add support for __loongarch64__.
* PLATFORMS, */PLATFORMS: List the 64-bit LoongArch ABI.
* NEWS: Mention the new port.
2022-01-16 Bruno Haible <[email protected]>
Simplify.
* callback/vacall_r/Makefile.in (vacall-alpha.s, vacall-powerpc.s,
vacall-s390.lo, vacall-s390x.s, vacall-riscv32-ilp32d.s,
vacall-riscv64-lp64d.s): Don't use -I options during preprocessing.
2021-06-26 Bruno Haible <[email protected]>
x86_64: Create a read-only .eh_frame section on all platforms.
Reported by Thomas Klausner <[email protected]> at
<https://savannah.gnu.org/bugs/?60815>.
* common/asm-x86_64.h (EH_FRAME_SECTION): Use flags "a" (instead of
"aw") on all platforms.
2021-06-13 Bruno Haible <[email protected]>
maint: Don't require an internet connection for running autogen.sh.
* libtool-patches: New directory.
* Makefile.maint (libtool-imported-files): Don't call wget. Take the
patches from libtool-patches/ instead.
2021-06-13 Bruno Haible <[email protected]>
Prepare for 2.4 release.
* VERSION: Set to 2.4.
2021-06-13 Bruno Haible <[email protected]>
Bump shared library version numbers.
* Makefile.in (LIBFFCALL_VERSION_INFO): Bump to 1:0:1.
* avcall/Makefile.in (LIBAVCALL_VERSION_INFO): Bump to 2:0:1.
* callback/Makefile.in (LIBCALLBACK_VERSION_INFO): Bump to 1:4:0.
2021-06-13 Bruno Haible <[email protected]>
Port to Solaris 11/SPARC 32-bit.
* avcall/avcall-sparc.c (avcall_call): Use preallocated trampolines
instead of generating a trampoline on the stack, because the stack is
not executable on Solaris 11.
* avcall/Makefile.devel (avcall-sparc-solaris.s,
avcall-sparc-solaris-macro.S): New rules.
* avcall/Makefile.in (SOURCE_FILES): Add avcall-sparc-solaris.s,
avcall-sparc-solaris-macro.S.
(avcall-sparc.s): Use a different input file on Solaris.
* NEWS: Mention the new port.
2021-06-13 Bruno Haible <[email protected]>
Fix build error on FreeBSD 12/arm.
* common/asm-arm.sh: Eliminate '.syntax divided' pseudo-ops.
* NEWS: Mention the new port.
2021-06-13 Bruno Haible <[email protected]>
Fix build error on 64-bit MSVC, due to newer libtool.
* avcall/Makefile.in (avcall-x86_64.lo) [IF_MSVC]: Use ml64 directly,
without invoking libtool.
* callback/vacall_r/Makefile.in (vacall-x86_64.lo) [IF_MSVC]: Likewise.
2021-06-12 Bruno Haible <[email protected]>
Finish port to macOS 11/arm64.
* PLATFORMS, */PLATFORMS: Mention the macOS 11/arm64 port.
* NEWS: Mention it as attained in release 2.4, not 2.3.
2021-06-12 Bruno Haible <[email protected]>
vacall: Fix regression on Linux/arm64.
* common/asm-arm64.h: Fix mistake.
2021-06-12 Bruno Haible <[email protected]>
vacall, callback: Add support for macOS 11/arm64.
* vacall/vacall.h (__varword): Define differently on macOS 11/arm64.
* callback/vacall_r/vacall_r.h (__varword): Likewise.
* vacall/vacall-internal.h (_va_arg_double): Update to allow for
sizeof(__vaword) < sizeof(double).
(__va_arg_struct): Compare type size with 2*sizeof(__varword).
* vacall/Makefile.devel (vacall-arm64-macos-macro.S): New rule.
* vacall/Makefile.in (SOURCE_FILES): Add vacall-arm64-macos-macro.S.
(vacall-arm64.s): Use a different input file on macOS.
* callback/vacall_r/Makefile.devel (vacall-arm64-macos-macro.S): New
rule.
* callback/vacall_r/Makefile.in (SOURCE_FILES): Add
vacall-arm64-macos-macro.S.
(vacall-arm64.s): Use a different input file on macOS.
2021-06-12 Bruno Haible <[email protected]>
vacall, callback: Distinguish a register word from a stack word.
* vacall/vacall.h (__varword): New type.
* callback/vacall_r/vacall_r.h (__varword): Likewise.
* vacall/vacall-alist.h: Use it as as element type of iarg[].
* vacall/vacall-internal.h: Use it when assigning to an iargs[] element.
* vacall/vacall-*.c: Use it for integer register variables.
2021-06-12 Bruno Haible <[email protected]>
avcall: Add support for macOS 11/arm64.
* avcall/avcall-arm64.c: Update comment regarding stack words.
* avcall/avcall.h (__avword): Define differently on macOS 11/arm64.
* avcall/avcall-internal.h (__av_long, __av_ulong, __av_ptr): Define
differently on macOS 11/arm64.
(_av_double): Update to allow for sizeof(__avword) < sizeof(double).
(__av_struct): Update to allow for sizeof(__avword) < sizeof(void*).
* avcall/Makefile.devel (avcall-arm64-macos-macro.S): New rule.
* avcall/Makefile.in (SOURCE_FILES): Add avcall-arm64-macos-macro.S.
(avcall-arm64.s): Use a different input file on macOS.
2021-06-12 Bruno Haible <[email protected]>
avcall: Distinguish a register word from a stack word.
* avcall/avcall.h (__avrword): New type.
(avcall_start, av_start_struct): Use it as return type of func.
* avcall/avcall-libapi.c (avcall_start, av_start_struct): Likewise.
* avcall/avcall-alist.h: Use it as return type of func and as element
type of iargs[].
* avcall/avcall-internal.h: Use it when assigning to an iargs[] element.
* avcall/avcall-*.c: Use it for integer register variables.
2021-06-12 Bruno Haible <[email protected]>
avcall: Support calling conventions that pass 'int', 'long' differently.
* avcall/avcall-internal.h (__av_int, __av_uint): New macros.
* avcall/avcall-libapi.c (avcall_arg_int, avcall_arg_uint): New
functions.
* avcall/avcall.h (avcall_arg_int, avcall_arg_uint): New declarations.
(av_char, av_schar, av_short, av_int, av_uchar, av_ushort, av_uint): Use
them.
2021-06-12 Bruno Haible <[email protected]>
Support assembly language syntax expected by macOS 11/arm64.
* common/asm-arm64.sh: New file, based on common/asm-arm.sh.
* common/asm-arm64.h: New file, based on common/asm-arm.h.
* Makefile.in (SOURCE_FILES): Add them.
* avcall/Makefile.devel (avcall-arm64-macro.S): Use asm-arm64.sh,
asm-arm64.h instead of asm-arm.sh, asm-arm.h.
* vacall/Makefile.devel (vacall-arm64-macro.S): Use asm-arm64.sh,
asm-arm64.h instead of asm-arm.sh, asm-arm.h.
* callback/vacall_r/Makefile.devel (vacall-arm64-macro.S): Use
asm-arm64.sh, asm-arm64.h instead of asm-arm.sh, asm-arm.h.
2021-06-11 Bruno Haible <[email protected]>
avcall: Remove handling of obsolete enum item '__AVword'.
* avcall/avcall-*.c: Remove handling of '__AVword'.
2021-06-11 Bruno Haible <[email protected]>
Fix undefined behaviour in the tests.
* testcases.c (us_cdcd): Cast from double (-30.4) to int to ushort, not
directly to ushort. This avoids undefined behaviour (see ISO C 11
§ 6.3.1.4.(2)).
* vacall/tests.c (simulator): Update accordingly.
* callback/tests.c (us_cdcd_simulator): Likewise.
2021-06-06 Bruno Haible <[email protected]>
Fix test crash with CC="gcc -ftrapv".
* callback/trampoline_r/test1.c (f): Reorder summands, to avoid signed
integer overflow.
2021-06-06 Bruno Haible <[email protected]>
Bump shared library version numbers.
* Makefile.in (LIBFFCALL_VERSION_INFO): Bump to 0:3:0.
* avcall/Makefile.in (LIBAVCALL_VERSION_INFO): Bump to 1:3:0.
* trampoline/Makefile.in (LIBTRAMPOLINE_VERSION_INFO): Likewise.
* callback/Makefile.in (LIBCALLBACK_VERSION_INFO): Likewise.
2021-06-06 Bruno Haible <[email protected]>
Add support for xlclang compiler in 64-bit mode on AIX.
* avcall/avcall.h (__AV_FLOAT_ARGS): Add __AV_AIXCC_FLOAT_ARGS on 64-bit
xlclang.
* vacall/vacall.h (__VA_FLOAT_ARGS): Add __VA_AIXCC_FLOAT_ARGS on 64-bit
xlclang.
* callback/vacall_r/vacall_r.h: Likewise.
2021-06-06 Bruno Haible <[email protected]>
vacall: Fix minitests crash on OpenBSD 6.5 and newer (x86_64).
* vacall/Makefile.devel (vacall-x86_64-linux-pic.s): New target.
(vacall-x86_64-macro.S): On OpenBSD, use the variant compiled with
-fPIC. Needed because without -fPIC, the .eh_frame section has
relocations.
2021-04-14 Bruno Haible <[email protected]>
build: Fix compilation error on FreeBSD 13.0/x86_64.
* common/asm-x86_64.h (EH_FRAME_SECTION): On FreeBSD, use flags "a"
instead of "aw".
2021-03-21 Bruno Haible <[email protected]>
trampoline: Work around failing mmap call on macOS 11.
* Makefile.maint (GNULIB_MODULES): Add clean-temp-simple.
* trampoline/trampoline.c: On macOS, define KEEP_TEMP_FILE_VISIBLE.
(for_mmap_init): If KEEP_TEMP_FILE_VISIBLE, don't delete the file here,
but instead register it for deletion when the process terminates.
* callback/trampoline_r/trampoline.c: Likewise.
2021-02-28 Bruno Haible <[email protected]>
Update DEPENDENCIES.
* DEPENDENCIES: Update some details.
2021-02-20 Bruno Haible <[email protected]>
build: Support creating shared libraries on MidnightBSD.
* Makefile.maint (libtool-imported-files): Apply the patch from
<https://savannah.gnu.org/patch/?10007>.
2021-02-20 Bruno Haible <[email protected]>
Switch to autoconf 2.71.
* autogen.sh: Update comments.
2020-12-09 Bruno Haible <[email protected]>
Switch to autoconf 2.70.
* configure.ac: Fix AC_CHECK_HEADERS invocation. Don't invoke
AC_HEADER_STDC.
* Makefile.maint (ACLOCAL, AUTOMAKE, AUTOCONF, AUTOHEADER): Remove the
fixed version suffix.
* autogen.sh: Update comments.
* README-hacking: Indicate which versions of autoconf and automake are
supported.
2020-12-09 Bruno Haible <[email protected]>
build: Fix syntax error in configure.ac (regression from 2020-07-19).
* configure.ac: Fix syntax error.
2020-07-19 Bruno Haible <[email protected]>
trampoline, callback: Fix another multithread-safety bug.
* trampoline/trampoline.c (alloc_trampoline): Invoke for_mmap_init
before assigning pagesize, not after.
* callback/trampoline_r/trampoline.c (alloc_trampoline_r): Likewise.
2020-07-19 Bruno Haible <[email protected]>
trampoline, callback: Fix a multithread-safety bug.
* trampoline/trampoline.c (free_trampoline): Take the freelist_lock.
* callback/trampoline_r/trampoline.c (free_trampoline_r): Likewise.
2020-07-19 Bruno Haible <[email protected]>
Use OS-provided functions for flushing the instruction cache.
* trampoline/trampoline.c (alloc_trampoline): For flushing the
instruction cache, use the OS-provided functions on Windows, macOS, AIX,
IRIX, Solaris.
* callback/trampoline_r/trampoline.c: Likewise.
* configure.ac: Arrange to not build cache-sparc.o or cache-sparc64.o on
Solaris.
2020-07-12 Bruno Haible <[email protected]>
build: Fix misuse of AC_CACHE_CHECK.
* m4/codeexec.m4 (FFCALL_CODEEXEC): Use two AC_CACHE_CHECK invocations
instead of one. Don't set ffcall_cv_func_mmap_works.
2020-07-12 Bruno Haible <[email protected]>
build: Avoid possible conflict with the broken AC_FUNC_MMAP.
* trampoline/trampoline.c: Don't test HAVE_MMAP.
* callback/trampoline_r/trampoline.c: Likewise.
* m4/codeexec.m4 (FFCALL_CODEEXEC): Don't define HAVE_MMAP.
2020-07-12 Bruno Haible <[email protected]>
Drop portability to IRIX 4.
* trampoline/trampoline.c (PROT_EXEC): Remove fallback definition.
* callback/trampoline_r/trampoline.c (PROT_EXEC): Likewise.
2020-07-12 Bruno Haible <[email protected]>
build: Simplify autoconf macros.
* m4/codeexec.m4: Include the code from m4/mmap.m4 and m4/mprotect.m4.
* m4/mmap.m4: Remove file.
* m4/mprotect.m4: Remove file.
* Makefile.in (SOURCE_FILES): Remove them.
* configure.ac: Invoke just FFCALL_CODEEXEC, instead of FFCALL_MMAP,
FFCALL_MPROTECT, FFCALL_CODEEXEC, FFCALL_CODEEXEC_PAX.
2020-07-12 Bruno Haible <[email protected]>
build: Use autoconf macros from gnulib.
* Makefile.maint (GNULIB_FILES): New variable.
(gnulib-imported-files): Import the $(GNULIB_FILES) from gnulib.
* Makefile.in (GNULIB_IMPORTED_FILES): Add m4/mmap-anon.m4.
* configure.ac: Invoke gl_FUNC_MMAP_ANON.
* m4/mmap.m4 (FFCALL_MMAP): Require gl_FUNC_MMAP_ANON. Don't test
MAP_ANON. Don't set HAVE_MMAP_ANON.
* m4/codeexec.m4 (FFCALL_CODEEXEC_PAX): Require gl_FUNC_MMAP_ANON. Don't
test HAVE_MMAP_ANON.
2020-07-12 Bruno Haible <[email protected]>
build: Simplify autoconf macros.
* m4/codeexec.m4 (FFCALL_CODEEXEC_PAX): Assume that all platforms that
have mprotect also have ENOTSUP.
2020-07-12 Bruno Haible <[email protected]>
build: Use common GNU style in autoconf macros.
* m4/mmap.m4 (FFCALL_MMAP): Define HAVE_MMAP, HAVE_MMAP_ANON,
HAVE_MMAP_ANONYMOUS, HAVE_MMAP_DEVZERO to 1, not empty.
* m4/mprotect.m4 (FFCALL_MPROTECT): Define HAVE_WORKING_MPROTECT to 1,
not empty.
* m4/codeexec.m4 (FFCALL_CODEEXEC_PAX): Define
HAVE_MMAP_SHARED_CAN_EXEC to 1, not empty.
* trampoline/trampoline.c: Test these macros with #if, not #ifdef.
* callback/trampoline_r/trampoline.c: Likewise.
2020-07-11 Bruno Haible <[email protected]>
build: Modernize autoconf macros.
* m4/mmap.m4 (FFCALL_MMAP): Use AC_RUN_IFELSE instead of AC_TRY_RUN.
* m4/mprotect.m4 (FFCALL_MPROTECT): Likewise.
* m4/codeexec.m4 (FFCALL_CODEEXEC, FFCALL_CODEEXEC_PAX): Likewise.
2020-07-11 Bruno Haible <[email protected]>
Drop portability to OSF/1.
* trampoline/trampoline.c: Assume HAVE_MACH_VM is not defined.
* callback/trampoline_r/trampoline.c: Likewise.
* configure.ac: Don't invoke CL_MACH_VM.
* m4/mach-vm.m4: Remove file.
* Makefile.in (SOURCE_FILES): Remove it.
2020-07-11 Bruno Haible <[email protected]>
build: Simplify autoconf macros.
* trampoline/trampoline.c (getpagesize): Declare only on HP-UX. Remove
fallback definition.
* callback/trampoline_r/trampoline.c (getpagesize): Likewise.
* configure.ac: Don't invoke CL_GETPAGESIZE.
* m4/codeexec.m4 (FFCALL_CODEEXEC_PAX): Declare getpagesize only on
HP-UX. Remove its fallback definition.
* m4/mprotect.m4 (FFCALL_MPROTECT): Don't require CL_GETPAGESIZE.
Declare getpagesize only on HP-UX. Remove its fallback definition.
* m4/getpagesize.m4: Remove file.
* m4/proto.m4: Remove file.
* m4/general.m4: Remove file.
* Makefile.in (SOURCE_FILES): Remove them.
2020-07-11 Bruno Haible <[email protected]>
build: Simplify autoconf macros.
* configure.ac: Don't invoke FFCALL_SMALL_STRUCT_RETURN,
FFCALL_IREG_FLOAT_RETURN.
* m4/ireg.m4: Remove file.
* m4/smallstruct.m4: Remove file.
* Makefile.in (SOURCE_FILES): Remove them.
2020-07-11 Bruno Haible <[email protected]>
build: Simplify.
* Makefile.maint (GNULIB_MODULES): Remove 'longlong'.
2020-07-11 Bruno Haible <[email protected]>
build: Simplify autoconf macros.
* m4/codeexec.m4 (CE_DOC): Remove macro.
(FFCALL_CODEEXEC): Inline it.
2020-07-11 Bruno Haible <[email protected]>
build: Simplify autoconf macros.
* m4/getpagesize.m4 (CL_GETPAGESIZE): Inline CL_LINK_CHECK invocation.
* m4/mach-vm.m4 (CL_MACH_VM): Likewise.
* m4/general.m4 (CL_CHECK, CL_LINK_CHECK): Remove macros.
2020-07-11 Bruno Haible <[email protected]>
trampoline: Remove option to allocate memory through shared memory.
* trampoline/trampoline.c: Remove EXECUTABLE_VIA_SHM and its uses.
* callback/trampoline_r/trampoline.c: Likewise.
* configure.ac: Don't invoke CL_SHM_H, CL_SHM.
* m4/shm.m4: Remove file.
* Makefile.in (SOURCE_FILES): Remove it.
2019-10-13 Bruno Haible <[email protected]>
build: Update after armv7l-linux-gnueabihf gcc version changed.
* avcall/Makefile.devel (avcall-armhf-macro.S): Update.
* vacall/Makefile.devel (vacall-armhf-linux.s,
vacall-armhf-linux-pic.s): Likewise.
* callback/vacall_r/Makefile.devel (vacall-armhf-macro.S): Likewise.
2019-10-13 Bruno Haible <[email protected]>
cross-tools: Fix compilation error of binutils 2.17 with makeinfo-6.x.
* cross-tools/patches/binutils-2.17.patch: Fix sectioning in elf.texi.
2019-10-13 Bruno Haible <[email protected]>
cross-tools: Fix compilation error of binutils < 2.24 with makeinfo-6.1.
This backports the fix from
<https://sourceware.org/bugzilla/show_bug.cgi?id=15183>.
* cross-tools/patches/binutils-2.12.90.0.7.patch: Escape @ characters
inside @tex.
* cross-tools/patches/binutils-2.16.1.patch: Likewise.
* cross-tools/patches/binutils-2.17.patch: New file.
2019-10-09 Bruno Haible <[email protected]>
cross-tools: Fix compilation error for armhf CPU.
* cross-tools/cross.conf (armhf): Use GCC version 6.5.0 instead of
6.3.0.
* cross-tools/cross-build.sh (func_build_gcc): Expect GCC 6.x tarball
in .xz format.
2019-10-08 Bruno Haible <[email protected]>
cross-tools: Work around error 500 on www.multiprecision.org.
* cross-tools/cross-build.sh (func_build_mpc): Use alternate download
location.
2019-10-08 Bruno Haible <[email protected]>