C99 testsuite readiness: Compile more tests with -std=gnu89
[official-gcc.git] / libgm2 / ChangeLog
blob5a3e9edd29ce5a14c308d612831669aa9af3b882
1 2023-09-29  Gaius Mulley  <gaiusmod2@gmail.com>
3         * libm2iso/wrapclock.cc (longint_t): New declaration.
4         (GetTimespec): Replace types for sec and nano with
5         longint_t.
6         (SetTimespec): Replace types for sec and nano with
7         longint_t.
9 2023-09-19  Gaius Mulley  <gaiusmod2@gmail.com>
11         * Makefile.am (TARGET_LONGDOUBLE_ABI): New variable set to
12         -mabi=ieeelongdouble if the target is powerpc64le.
13         (AM_MAKEFLAGS): Append TARGET_LONGDOUBLE_ABI.
14         * Makefile.in: Rebuild.
15         * libm2cor/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
16         TARGET_LONGDOUBLE_ABI.
17         (libm2cor_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
18         (libm2cor_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
19         * libm2cor/Makefile.in: Rebuild.
20         * libm2iso/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
21         TARGET_LONGDOUBLE_ABI.
22         (libm2iso_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
23         (libm2iso_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
24         * libm2iso/Makefile.in: Rebuild.
25         * libm2log/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
26         TARGET_LONGDOUBLE_ABI.
27         (libm2log_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
28         (libm2log_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
29         * libm2log/Makefile.in: Rebuild.
30         * libm2min/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
31         TARGET_LONGDOUBLE_ABI.
32         (libm2min_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
33         (libm2min_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
34         * libm2min/Makefile.in: Rebuild.
35         * libm2pim/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
36         TARGET_LONGDOUBLE_ABI.
37         (libm2pim_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
38         (libm2pim_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
39         * libm2pim/Makefile.in: Rebuild.
41 2023-09-13  Gaius Mulley  <gaiusmod2@gmail.com>
43         * libm2cor/Makefile.am (libm2cor_la_M2FLAGS): Add
44         -Wcase-enum.
45         * libm2cor/Makefile.in: Regenerate.
46         * libm2iso/Makefile.am (libm2iso_la_M2FLAGS): Add
47         -Wcase-enum.
48         * libm2iso/Makefile.in: Regenerate.
49         * libm2log/Makefile.am (libm2log_la_M2FLAGS): Add
50         -Wcase-enum.
51         * libm2log/Makefile.in: Regenerate.
52         * libm2pim/Makefile.am (libm2pim_la_M2FLAGS): Add
53         -Wcase-enum.
54         * libm2pim/Makefile.in: Regenerate.
56 2023-08-12  Gaius Mulley  <gaiusmod2@gmail.com>
58         PR modula2/110779
59         * configure: Regenerate.
60         * configure.ac: Provide special case test for Darwin cross
61         configuration.
62         (GLIBCXX_CONFIGURE): New statement.
63         (GLIBCXX_CHECK_GETTIMEOFDAY): New statement.
64         (GLIBCXX_ENABLE_LIBSTDCXX_TIME): New statement.
65         * libm2iso/wrapclock.cc: New sys/time.h conditional include.
66         (sys/syscall.h): Conditional include.
67         (unistd.h): Conditional include.
68         (GetTimeRealtime): Re-implement.
69         (SetTimeRealtime): Re-implement.
70         (timezone): Re-implement.
71         (istimezone): New function.
72         (daylight): Re-implement.
73         (isdst): Re-implement.
74         (tzname): Re-implement.
76 2023-08-09  Gaius Mulley  <gaiusmod2@gmail.com>
78         PR modula2/110779
79         * config.h.in: Regenerate.
80         * configure: Regenerate.
81         * configure.ac (AC_CACHE_CHECK): Check for tm_gmtoff field in
82         struct tm.
83         (GM2_CHECK_LIB): Check for daylight, timezone and tzname.
84         * libm2iso/wrapclock.cc (timezone): Guard against absence of
85         struct tm and tm_gmtoff.
86         (daylight): Check for daylight.
87         (timezone): Check for timezone.
88         (isdst): Check for isdst.
89         (tzname): Check for tzname.
90         (GetTimeRealtime): Check for struct timespec.
91         (SetTimeRealtime): Check for struct timespec.
92         (InitTimespec): Check for struct timespec.
93         (KillTimespec): Check for struct timespec.
94         (SetTimespec): Check for struct timespec.
95         (GetTimespec): Check for struct timespec.
97 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
99         * configure: Regenerate.
101 2023-08-07  Alexander von Gluck IV  <kallisti5@unixzen.com>
103         * configure: Regenerate.
105 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
107         * configure: Regenerate.
109 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
111         * configure: Regenerate.
113 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
115         * configure: Regenerate.
117 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
119         * configure: Regenerate.
121 2023-08-05  Gaius Mulley  <gaiusmod2@gmail.com>
123         PR modula2/110779
124         * config.h.in: Regenerate.
125         * configure: Regenerate.
126         * configure.ac (GM2_CHECK_LIB): Check for clock_gettime
127         and clock_settime.
128         * libm2iso/Makefile.am (M2DEFS): Add wrapclock.def.
129         * libm2iso/Makefile.in: Regenerate.
130         * libm2iso/wraptime.cc: Replace HAVE_TIMEVAL with
131         HAVE_STRUCT_TIMEVAL.
132         * libm2iso/wrapclock.cc: New file.
134 2023-06-02  Thomas Schwinge  <thomas@codesourcery.com>
136         * configure.ac (PERL): Remove.
137         * configure: Regenerate.
138         * Makefile.in: Likewise.
139         * libm2cor/Makefile.in: Likewise.
140         * libm2iso/Makefile.in: Likewise.
141         * libm2log/Makefile.in: Likewise.
142         * libm2min/Makefile.in: Likewise.
143         * libm2pim/Makefile.in: Likewise.
145 2023-05-16  Gaius Mulley  <gaiusmod2@gmail.com>
147         PR modula2/109879
148         * Makefile.in: Regenerate.
149         * aclocal.m4: Regenerate.
150         * libm2cor/Makefile.in: Regenerate.
151         * libm2iso/Makefile.am (M2DEFS): Add TextUtil.def.
152         (M2MODS): Add TextUtil.mod.
153         * libm2iso/Makefile.in: Regenerate.
154         * libm2log/Makefile.in: Regenerate.
155         * libm2min/Makefile.in: Regenerate.
156         * libm2pim/Makefile.in: Regenerate.
158 2023-05-16  Gaius Mulley  <gaiusmod2@gmail.com>
160         PR modula2/108344
161         * libm2cor/KeyBoardLEDs.cc (initialize_module): New function.
162         (SwitchScroll): Call initialize_module.
163         (SwitchNum): Call initialize_module.
164         (SwitchCaps): Call initialize_module.
165         (SwitchLEDs): Call initialize_module.
166         (M2EXPORT): Remove initialization code.
168 2023-05-13  Gaius Mulley  <gaiusmod2@gmail.com>
170         * libm2cor/KeyBoardLEDs.cc (TRUE): Remove.
171         (FALSE): Remove.
172         (init): Replace TRUE with true.
173         * libm2iso/RTco.cc (TRUE): Remove.
174         (FALSE): Remove.
175         (initSem): Replace int with bool.
176         (init): Replace FALSE with false.
177         * libm2pim/sckt.cc (TRUE): Remove.
178         (FALSE): Remove.
179         * libm2pim/wrapc.cc: Replace TRUE with true
180         and FALSE with false.
181         (FALSE): Remove.
182         (TRUE): Remove.
184 2023-05-08  Thomas Schwinge  <thomas@codesourcery.com>
186         * autogen.sh: Remove.
188 2023-05-08  Thomas Schwinge  <thomas@codesourcery.com>
190         * autogen.sh: For 'aclocal', 'autoreconf', remove '-I .',
191         add '-I ..'.
192         * Makefile.am (ACLOCAL_AMFLAGS): Remove '-I .'.
193         * libm2cor/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
194         * libm2iso/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
195         * libm2log/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
196         * libm2min/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
197         * libm2pim/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
198         * aclocal.m4: Regenerate.
199         * Makefile.in: Likewise.
200         * libm2cor/Makefile.in: Likewise.
201         * libm2iso/Makefile.in: Likewise.
202         * libm2log/Makefile.in: Likewise.
203         * libm2min/Makefile.in: Likewise.
204         * libm2pim/Makefile.in: Likewise.
206 2023-03-22  Gaius Mulley  <gaiusmod2@gmail.com>
208         * libm2pim/Makefile.am (M2DEFS): Remove M2LINK.def.
209         * libm2pim/Makefile.in: Rebuild.
211 2023-03-16  Gaius Mulley  <gaiusmod2@gmail.com>
213         * libm2cor/Makefile.am: Remove
214         * libm2cor/Makefile.in: Rebuild.
215         * libm2iso/RTco.cc (newSem): Halt parameters reordered.
216         (currentThread): Ditto.
217         (never): Ditto.
218         (defined): Ditto.
219         (initThread): Ditto.
220         * libm2iso/m2rts.h (m2iso_M2RTS_HaltC): Ditto.
222 2023-03-15  Gaius Mulley  <gaiusmod2@gmail.com>
224         PR modula2/109125
225         * libm2pim/dtoa.cc (TRUE): Remove.
226         (FALSE): Remove.  Replace int with bool.
227         * libm2pim/ldtoa.cc (TRUE): Remove.
228         (FALSE): Remove.  Replace int with bool.
230 2023-03-14  Gaius Mulley  <gaiusmod2@gmail.com>
232         PR modula2/109125
233         * libm2iso/ErrnoCategory.cc (FALSE): Remove.
234         (TRUE): Remove.
235         * libm2iso/wrapsock.c (TRUE): Remove.
236         (FALSE): Remove.
237         * libm2iso/wraptime.cc (TRUE): Remove.
238         (FALSE): Remove.
239         * libm2pim/cgetopt.cc: Replace int for bool for every BOOLEAN
240         parameter in the definition module.
241         * libm2pim/dtoa.cc: Ditto.
242         * libm2pim/ldtoa.cc: Ditto.
243         * libm2pim/termios.cc: Ditto.
244         (doSetUnset): Replace int for bool.
246 2023-02-27  Gaius Mulley  <gaiusmod2@gmail.com>
248         PR modula2/108944
249         * libm2pim/sckt.cc (getLocalIP): Correct parameter order.
251 2023-02-25  Gaius Mulley  <gaiusmod2@gmail.com>
253         PR modula2/108261
254         * libm2cor/KeyBoardLEDs.cc (EXPORT): New define.
255         (M2EXPORT): New define.
256         (M2LIBNAME): New define.
257         (KeyBoardLEDs_SwitchScroll): EXPORT.
258         (KeyBoardLEDs_SwitchNum): EXPORT.
259         (KeyBoardLEDs_SwitchCaps): EXPORT.
260         (KeyBoardLEDs_SwitchLeds): EXPORT.
261         (_M2_KeyBoardLEDs_init): M2EXPORT.
262         (_M2_KeyBoardLEDs_finish): M2EXPORT.
263         (_M2_KeyBoardLEDs_dep): M2EXPORT.
264         * libm2cor/Makefile.am (libm2cor_la_M2FLAGS): Define
265         path names.
266         * libm2cor/Makefile.in: Rebuild.
267         * libm2iso/ErrnoCategory.cc (EXPORT): New define.
268         (M2EXPORT): New define.
269         (M2LIBNAME): New define.
270         (ErrnoCategory_IsErrnoHard): EXPORT.
271         (ErrnoCategory_IsErrnoSoft): EXPORT.
272         (ErrnoCategory_UnAvailable): EXPORT.
273         (ErrnoCategory_GetOpenResults): EXPORT.
274         (_M2_ErrnoCategory_init): M2EXPORT.
275         (_M2_ErrnoCategory_fini): M2EXPORT.
276         (_M2_ErrnoCategory_dep): M2EXPORT.
277         (_M2_ErrnoCategory_ctor): M2EXPORT.
278         * libm2iso/Makefile.am (libm2iso_la_M2FLAGS): Define
279         path names.
280         * libm2iso/Makefile.in: Rebuild.
281         * libm2iso/RTco.cc (EXPORT): New define.
282         (M2EXPORT): New define.
283         (M2LIBNAME): New define.
284         (newSem): Add module libname prefix to HaltC.
285         (currentThread): Remove variable and replace with a function.
286         (never): Add module libname prefix to HaltC.
287         (initThread): Add module libname prefix to HaltC.
288         * libm2iso/m2rts.h (str): New define.
289         (M2RTS_RequestDependant): Change to the mangled name equivalent.
290         (M2RTS_RegisterModule): Change to the mangled name equivalent.
291         (m2iso_M2RTS_RequestDependant): Add libname parameter.
292         (m2iso_M2RTS_RegisterModule): Add libname parameter.
293         (m2pim_M2RTS_RegisterModule): Add libname parameter.
294         (_M2_M2RTS_init): Rename this...
295         (m2iso_M2_M2RTS_init): ...to this.
296         (M2RTS_ConstructModules): Change to the mangled name equivalent.
297         (M2RTS_Terminate): Change to the mangled name equivalent.
298         (M2RTS_DeconstructModules): Change to the mangled name equivalent.
299         (m2iso_M2RTS_ConstructModules): Add libname parameter.
300         (m2iso_M2RTS_Terminate): Add libname parameter.
301         (m2iso_M2RTS_DeconstructModules): Add libname parameter.
302         (M2RTS_HaltC): Rename this...
303         (m2iso_M2RTS_HaltC): ...to this.
304         * libm2iso/wrapsock.c (EXPORT): New define.
305         (IMPORT): New define.
306         (M2EXPORT): New define.
307         (M2LIBNAME): New define.
308         (m2iso_M2RTS_RequestDependant): Add prototype.
309         (wrapsock_clientOpen): EXPORT.
310         (wrapsock_clientOpenIP): EXPORT.
311         (wrapsock_getClientPortNo): EXPORT.
312         (wrapsock_getClientHostname): EXPORT.
313         (wrapsock_getClientSocketFd): EXPORT.
314         (wrapsock_getClientIP): EXPORT.
315         (wrapsock_getPushBackChar): EXPORT.
316         (wrapsock_setPushBackChar): EXPORT.
317         (wrapsock_getSizeOfClientInfo): EXPORT.
318         (_M2_wrapsock_init): M2EXPORT.
319         (_M2_wrapsock_fini): M2EXPORT.
320         (ctor): M2EXPORT.  New function.
321         * libm2iso/wraptime.c: Rename to...
322         * libm2iso/wraptime.cc: ...this.
323         (EXPORT): New define.
324         (M2EXPORT): New define.
325         (M2LIBNAME): New define.
326         (wraptime_InitTimeval): EXPORT.
327         (wraptime_KillTimeval): EXPORT.
328         (wraptime_InitTimezone): EXPORT.
329         (wraptime_KillTimezone): EXPORT.
330         (wraptime_InitTM): EXPORT.
331         (wraptime_KillTM): EXPORT.
332         (wraptime_gettimeofday): EXPORT.
333         (wraptime_settimeofday): EXPORT.
334         (wraptime_GetFractions): EXPORT.
335         (wraptime_localtime_r): EXPORT.
336         (wraptime_GetYear): EXPORT.
337         (wraptime_GetMonth): EXPORT.
338         (wraptime_GetDay): EXPORT.
339         (wraptime_GetHour): EXPORT.
340         (wraptime_GetMinute): EXPORT.
341         (wraptime_GetSecond): EXPORT.
342         (wraptime_GetSummerTime): EXPORT.
343         (wraptime_GetDST): EXPORT.
344         (wraptime_SetTimezone): EXPORT.
345         (wraptime_SetTimeval): EXPORT.
346         (_M2_wraptime_init): M2EXPORT.
347         (_M2_wraptime_fini): M2EXPORT.
348         (ctor): M2EXPORT.  New function.
349         * libm2log/Makefile.am (libm2log_la_M2FLAGS): Define
350         path names.
351         * libm2log/Makefile.in:
352         * libm2min/Makefile.am (libm2min_la_M2FLAGS): Define
353         path names.
354         * libm2min/Makefile.in:
355         * libm2pim/Makefile.am (libm2pim_la_M2FLAGS): Define
356         path names.
357         * libm2pim/Makefile.in:
358         * libm2pim/Selective.cc (EXPORT): New define.
359         (M2EXPORT): New define.
360         (M2LIBNAME): New define.
361         (Selective_Select): EXPORT.
362         (Selective_InitTime): EXPORT.
363         (Selective_GetTime): EXPORT.
364         (Selective_SetTime): EXPORT.
365         (Selective_KillTime): EXPORT.
366         (Selective_InitSet): EXPORT.
367         (Selective_KillSet): EXPORT.
368         (Selective_FdZero): EXPORT.
369         (Selective_FdSet): EXPORT.
370         (Selective_FdClr): EXPORT.
371         (Selective_FdIsSet): EXPORT.
372         (Selective_GetTimeOfDay): EXPORT.
373         (Selective_MaxFdsPlusOne): EXPORT.
374         (Selective_WriteCharRaw): EXPORT.
375         (Selective_ReadCharRaw): EXPORT.
376         (_M2_Selective_init): M2EXPORT.
377         (_M2_Selective_fini): M2EXPORT.
378         (_M2_Selective_dep): M2EXPORT.
379         (_M2_Selective_ctor): M2EXPORT.
380         * libm2pim/SysExceptions.cc (EXPORT): New define.
381         (M2EXPORT): New define.
382         (M2LIBNAME): New define.
383         (SysExceptions_InitExceptionHandlers): EXPORT.
384         (_M2_SysExceptions_init): M2EXPORT.
385         (_M2_SysExceptions_fini): M2EXPORT.
386         (_M2_SysExceptions_dep): M2EXPORT.
387         (_M2_SysExceptions_ctor): M2EXPORT.
388         * libm2pim/UnixArgs.cc (EXPORT): New define.
389         (M2EXPORT): New define.
390         (M2LIBNAME): New define.
391         (UnixArgs_GetArgC): EXPORT.
392         (UnixArgs_GetArgV): EXPORT.
393         (UnixArgs_GetEnvV): EXPORT.
394         (_M2_UnixArgs_init): M2EXPORT.
395         (_M2_UnixArgs_fini): M2EXPORT.
396         (_M2_UnixArgs_dep): M2EXPORT.
397         (_M2_UnixArgs_ctor): M2EXPORT.
398         * libm2pim/cgetopt.cc (EXPORT): New define.
399         (M2EXPORT): New define.
400         (M2LIBNAME): New define.
401         (cgetopt_getopt): EXPORT.
402         (cgetopt_getopt_long): EXPORT.
403         (cgetopt_getopt_long_only): EXPORT.
404         (cgetopt_InitOptions): EXPORT.
405         (cgetopt_KillOptions): EXPORT.
406         (cgetopt_SetOption): EXPORT.
407         (cgetopt_GetLongOptionArray): EXPORT.
408         (_M2_cgetopt_init): M2EXPORT.
409         (_M2_cgetopt_fini): M2EXPORT.
410         (_M2_cgetopt_dep): M2EXPORT.
411         (_M2_cgetopt_ctor): M2EXPORT.
412         * libm2pim/dtoa.cc (EXPORT): New define.
413         (M2EXPORT): New define.
414         (M2LIBNAME): New define.
415         (dtoa_strtod): EXPORT.
416         (dtoa_calcmaxsig): EXPORT.
417         (dtoa_calcdecimal): EXPORT.
418         (dtoa_calcsign): EXPORT.
419         (dtoa_dtoa): EXPORT.
420         (_M2_dtoa_init): M2EXPORT.
421         (_M2_dtoa_fini): M2EXPORT.
422         (_M2_dtoa_dep): M2EXPORT.
423         (_M2_dtoa_ctor): M2EXPORT.
424         * libm2pim/errno.cc (EXPORT): New define.
425         (M2EXPORT): New define.
426         (M2LIBNAME): New define.
427         (errno_geterrno): EXPORT.
428         (_M2_errno_init): M2EXPORT.
429         (_M2_errno_fini): M2EXPORT.
430         (_M2_errno_dep): M2EXPORT.
431         (_M2_errno_ctor): M2EXPORT.
432         * libm2pim/ldtoa.cc (EXPORT): New define.
433         (IMPORT): New define.
434         (M2EXPORT): New define.
435         (M2LIBNAME): New define.
436         (dtoa_calcmaxsig): EXPORT.
437         (dtoa_calcdecimal): EXPORT.
438         (dtoa_calcsign): EXPORT.
439         (ldtoa_strtold): EXPORT.
440         (ldtoa_ldtoa): EXPORT.
441         (_M2_ldtoa_init): M2EXPORT.
442         (_M2_ldtoa_fini): M2EXPORT.
443         (_M2_ldtoa_dep): M2EXPORT.
444         (_M2_ldtoa_ctor): M2EXPORT.
445         * libm2pim/sckt.cc (EXPORT): New define.
446         (M2EXPORT): New define.
447         (M2LIBNAME): New define.
448         (tcpServerEstablishPort): EXPORT.
449         (tcpServerEstablish): EXPORT.
450         (tcpServerAccept): EXPORT.
451         (tcpServerPortNo): EXPORT.
452         (tcpServerSocketFd): EXPORT.
453         (getLocalIP): EXPORT.
454         (tcpServerIP): EXPORT.
455         (tcpServerClientIP): EXPORT.
456         (tcpServerClientPortNo): EXPORT.
457         (tcpClientSocket): EXPORT.
458         (tcpClientSocketIP): EXPORT.
459         (tcpClientConnect): EXPORT.
460         (tcpClientPortNo): EXPORT.
461         (tcpClientSocketFd): EXPORT.
462         (tcpClientIP): EXPORT.
463         (_M2_sckt_init): M2EXPORT.
464         (_M2_sckt_finish): M2EXPORT.
465         (_M2_sckt_dep): M2EXPORT.
466         (_M2_sckt_ctor): M2EXPORT.
467         * libm2pim/termios.cc (EXPORT): New define.
468         (M2EXPORT): New define.
469         (M2LIBNAME): New define.
470         (_M2_termios_init): M2EXPORT.
471         (_M2_termios_fini): M2EXPORT.
472         (_M2_termios_dep): M2EXPORT.
473         (_M2_termios_ctor): M2EXPORT.
474         * libm2pim/wrapc.c (EXPORT): New define.
475         (M2EXPORT): New define.
476         (M2LIBNAME): New define.
477         (wrapc_strtime): EXPORT.
478         (wrapc_filesize): EXPORT.
479         (wrapc_filemtime): EXPORT.
480         (wrapc_fileinode): EXPORT.
481         (wrapc_getrand): EXPORT.
482         (wrapc_getusername): EXPORT.
483         (wrapc_getnameuidgid): EXPORT.
484         (wrapc_signbit): EXPORT.
485         (wrapc_signbitl): EXPORT.
486         (wrapc_signbitf): EXPORT.
487         (wrapc_isfinite): EXPORT.
488         (wrapc_isfinitel): EXPORT.
489         (wrapc_isfinitef): EXPORT.
490         (_M2_wrapc_init): M2EXPORT.
491         (_M2_wrapc_fini): M2EXPORT.
492         (_M2_wrapc_ctor): M2EXPORT.
493         * libm2pim/wrapc.cc: New file.
495 2023-02-19  Gaius Mulley  <gaiusmod2@gmail.com>
497         PR testsuite/108835
498         * libm2iso/RTco.cc: Re-implementation using a single lock
499         mutex and inlined wait/signal implementation within
500         transfer.
502 2023-02-13  Gaius Mulley  <gaiusmod2@gmail.com>
504         * libm2iso/RTco.cc (tprintf): Replace definition.
506 2023-02-01  Gaius Mulley  <gaiusmod2@gmail.com>
508         PR modula2/108612
509         PR modula2/108551
510         * libm2cor/Makefile.am (libm2cor_la_M2FLAGS): Add -Wreturn-type
511         -fcase.
512         * libm2cor/Makefile.in: Rebuild.
513         * libm2iso/Makefile.am (libm2iso_la_M2FLAGS): Add -Wreturn-type
514         -fcase.
515         * libm2iso/Makefile.in: Rebuild.
516         * libm2log/Makefile.am (libm2log_la_M2FLAGS): Add -Wreturn-type
517         -fcase.
518         * libm2log/Makefile.in: Rebuild.
519         * libm2pim/Makefile.am (libm2pim_la_M2FLAGS): Add -Wreturn-type
520         -fcase.
521         * libm2pim/Makefile.in: Rebuild.
523 2023-01-31  Richard Biener  <rguenther@suse.de>
525         PR modula2/108462
526         * libm2cor/Makefile.am: Remove static lib install from
527         install-data-local.
528         * libm2iso/Makefile.am: Likewise.
529         * libm2log/Makefile.am: Likewise.
530         * libm2min/Makefile.am: Likewise.
531         * libm2pim/Makefile.am: Likewise.
532         * libm2cor/Makefile.in: Regenerate.
533         * libm2iso/Makefile.in: Likewise.
534         * libm2log/Makefile.in: Likewise.
535         * libm2min/Makefile.in: Likewise.
536         * libm2pim/Makefile.in: Likewise.
538 2023-01-31  Gaius Mulley  <gaiusmod2@gmail.com>
540         * libm2log/Makefile.am (VPATH): Replace gm2-libs-pim
541         with gm2-libs-log.
542         (libm2log_la_M2FLAGS): Replace gm2-libs-pim with
543         gm2-libs-log.
544         (install-data-local): Replace gm2-libs-pim with
545         gm2-libs-log.
546         * libm2log/Makefile.in: Rebuilt.
548 2023-01-26  Gaius Mulley  <gaiusmod2@gmail.com>
550         * configure.ac (AM_INIT_AUTOMAKE): Specify 1.15.1.
552 2023-01-24  Co-Authored by: Iain Sandoe  <iain@sandoe.co.uk>
554         * libm2cor/Makefile.am (SYSTEM.def): Split path into
555         multiple -I components.
556         * libm2cor/Makefile.in: Rebuild.
557         * libm2min/Makefile.am (SYSTEM.def): Split path into
558         multiple -I components.
559         * libm2min/Makefile.in: Rebuild.
560         * libm2iso/Makefile.am (SYSTEM.def): Split path into
561         multiple -I components.
562         * libm2iso/Makefile.in: Rebuild.
564 2023-01-23  Richard Biener  <rguenther@suse.de>
566         PR modula2/108144
567         * libm2cor/Makefile.am: Revert previous change, instead
568         drop the redundant $(MULTIDIR).
569         * libm2iso/Makefile.am: Likewise.
570         * libm2log/Makefile.am: Likewise.
571         * libm2min/Makefile.am: Likewise.
572         * libm2pim/Makefile.am: Likewise.
573         * libm2cor/Makefile.in: Regenerate.
574         * libm2iso/Makefile.in: Likewise.
575         * libm2log/Makefile.in: Likewise.
576         * libm2min/Makefile.in: Likewise.
577         * libm2pim/Makefile.in: Likewise.
579 2023-01-23  Richard Biener  <rguenther@suse.de>
581         PR modula2/108144
582         * configure.ac: Apply config-ml.pl to the generated Makefiles.
583         Set multilib_arg, use AM_PROG_LIBTOOL.
584         * configure: Regenerate.
585         * Makefile.am (AM_MAKEFLAGS): Do not override MULTI* flags.
586         * Makefile.in: Regenerate.
587         * libm2cor/Makefile.am: Install to $(toolexeclibdir)$(M2LIBDIR)
588         rather than $(inst_libdir)/$(MULTIDIR)$(M2LIBDIR).
589         * libm2iso/Makefile.am: Likewise.
590         * libm2log/Makefile.am: Likewise.
591         * libm2min/Makefile.am: Likewise.
592         * libm2pim/Makefile.am: Likewise.
593         * libm2cor/Makefile.in: Regenerate.
594         * libm2iso/Makefile.in: Likewise.
595         * libm2log/Makefile.in: Likewise.
596         * libm2min/Makefile.in: Likewise.
597         * libm2pim/Makefile.in: Likewise.
599 2023-01-19  Richard Biener  <rguenther@suse.de>
601         PR modula2/108144
602         * configure.ac: Add GCC_BASE_VER.
603         * configure: Re-generate.
604         * Makefile.am: Use @get_gcc_base_ver@ for gcc_version.
605         * libm2cor/Makefile.am: Likewise.  Use gcc_version instead
606         of version.
607         * libm2iso/Makefile.am: Likewise.
608         * libm2log/Makefile.am: Likewise.
609         * libm2min/Makefile.am: Likewise.
610         * libm2pim/Makefile.am: Likewise.
611         * Makefile.in: Re-generate.
612         * libm2cor/Makefile.in: Likewise.
613         * libm2iso/Makefile.in: Likewise.
614         * libm2log/Makefile.in: Likewise.
615         * libm2min/Makefile.in: Likewise.
616         * libm2pim/Makefile.in: Likewise.
618 2023-01-17  Gaius Mulley  <gaiusmod2@gmail.com>
620         * libm2iso/RTco.cc (_M2_RTco_fini): Call M2RTS_HaltC.
621         (newSem): Call M2RTS_HaltC.
622         (currentThread): Call M2RTS_HaltC.
623         (never): Call M2RTS_HaltC.
624         (defined): Call M2RTS_HaltC.
625         (initThread): Call M2RTS_HaltC.
626         (RTco_transfer): Call M2RTS_HaltC.
627         * libm2iso/m2rts.h (M2RTS_Halt): Provide parameter names.
628         (M2RTS_HaltC): New procedure declaration.
630 2023-01-06  v  <gaiusmod2@gmail.com>
632         * configure: Regenerate.
633         * configure.ac (libtool_VERSION): Bump to 18:0:0.
635 2023-01-04  Iain Sandoe  <iain@sandoe.co.uk>
637         PR modula2/108183
638         * libm2cor/KeyBoardLEDs.cc (_M2_KeyBoardLEDs_ctor): Rework to use
639         an extern "C" function with 'constructor' attribute.
640         * libm2iso/ErrnoCategory.cc (_M2_ErrnoCategory_ctor): Likewise.
641         * libm2iso/RTco.cc (_M2_RTco_ctor): Likewise.
642         * libm2pim/Selective.cc (_M2_Selective_ctor): Likewise.
643         * libm2pim/SysExceptions.cc (_M2_SysExceptions_ctor): Likewise.
644         * libm2pim/UnixArgs.cc (_M2_UnixArgs_ctor): Likewise.
645         * libm2pim/cgetopt.cc (_M2_cgetopt_ctor): Likewise.
646         * libm2pim/dtoa.cc (_M2_dtoa_ctor): Likewise.
647         * libm2pim/errno.cc (_M2_errno_ctor): Likewise.
648         * libm2pim/ldtoa.cc (_M2_ldtoa_ctor): Likewise.
649         * libm2pim/sckt.cc (_M2_sckt_ctor): Likewise.
650         * libm2pim/termios.cc (_M2_termios_ctor): Likewise.
651         * libm2pim/wrapc.c: Add a new line to the file end.
653 2022-12-31  Iain Sandoe  <iain@sandoe.co.uk>
655         * configure: Regenerate.
656         * configure.ac: Make a conditional for configurations targeting
657         Darwin.
658         * libm2cor/Makefile.am: Use -undefined,dynamic_lookup on Darwin.
659         * libm2iso/Makefile.am: Likewise.
660         * libm2log/Makefile.am: Likewise.
661         * libm2pim/Makefile.am: Likewise
662         * libm2min/Makefile.am: Likewise
663         * libm2cor/Makefile.in: Regenerate.
664         * libm2iso/Makefile.in: Regenerate.
665         * libm2log/Makefile.in: Regenerate.
666         * libm2min/Makefile.in: Regenerate.
667         * libm2pim/Makefile.in: Regenerate.
669 2022-12-14  Gaius Mulley  <gaiusmod2@gmail.com>
671         * Makefile.am: New file.
672         * autogen.sh: New file.
673         * config.h.in: New file.
674         * configure.ac: New file.
675         * libm2cor/KeyBoardLEDs.cc: New file.
676         * libm2cor/Makefile.am: New file.
677         * libm2iso/ChanConsts.h: New file.
678         * libm2iso/ErrnoCategory.cc: New file.
679         * libm2iso/Makefile.am: New file.
680         * libm2iso/RTco.cc: New file.
681         * libm2iso/m2rts.h: New file.
682         * libm2iso/wrapsock.c: New file.
683         * libm2iso/wraptime.c: New file.
684         * libm2log/Break.c: New file.
685         * libm2log/Makefile.am: New file.
686         * libm2min/Makefile.am: New file.
687         * libm2min/libc.c: New file.
688         * libm2pim/Makefile.am: New file.
689         * libm2pim/Selective.cc: New file.
690         * libm2pim/SysExceptions.cc: New file.
691         * libm2pim/UnixArgs.cc: New file.
692         * libm2pim/cgetopt.cc: New file.
693         * libm2pim/dtoa.cc: New file.
694         * libm2pim/errno.cc: New file.
695         * libm2pim/ldtoa.cc: New file.
696         * libm2pim/sckt.cc: New file.
697         * libm2pim/target.c: New file.
698         * libm2pim/termios.cc: New file.
699         * libm2pim/wrapc.c: New file.
700         * configure: Generated.
701         * libm2log/Makefile.in: Generated.
702         * libm2min/Makefile.in: Generated.
703         * libm2cor/Makefile.in: Generated.
704         * libm2pim/Makefile.in: Generated.
705         * libm2iso/Makefile.in: Generated.
706         * Makefile.in: New file.
707         * aclocal.m4: New file.