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