xfail dg-final "Sunk statements: 5" on hppa*64*-*-*
[official-gcc.git] / libgm2 / ChangeLog
blobbac9a80edf142162a2896d6985ae60f737f22555
1 2024-01-05  Gaius Mulley  <gaiusmod2@gmail.com>
3         * libm2iso/RTco.cc (initialized): Use bool instead of int.
5 2023-12-22  Christophe Lyon  <christophe.lyon@linaro.org>
7         * Makefile.am: Allow overriding EXEPCT.
8         * Makefile.in: Regenerate.
10 2023-12-13  Gaius Mulley  <gaiusmod2@gmail.com>
12         PR modula2/112921
13         * libm2iso/Makefile.am (M2DEFS): Add ConvStringShort.def,
14         ShortConv.def, ShortMath.def and ShortStr.def.
15         (M2MODS): Add ConvStringShort.mod,
16         ShortConv.mod, ShortMath.mod and ShortStr.mod.
17         * libm2iso/Makefile.in: Regenerate.
19 2023-12-12  Gaius Mulley  <gaiusmod2@gmail.com>
21         * libm2iso/Makefile.am (libm2iso_la_M2FLAGS): Added line breaks.
22         * libm2iso/Makefile.in: Regenerate.
23         * libm2log/Makefile.am (libm2log_la_M2FLAGS): Added line breaks.
24         * libm2log/Makefile.in: Regenerate.
25         * libm2pim/Makefile.am (libm2pim_la_M2FLAGS): Added line breaks.
26         * libm2pim/Makefile.in: Regenerate.
28 2023-11-30  Gaius Mulley  <gaiusmod2@gmail.com>
30         * configure: Regenerate.
31         * configure.ac:(libtool_VERSION): Bump to 19:0:0.
33 2023-11-13  Gaius Mulley  <gaiusmod2@gmail.com>
35         PR modula2/110779
36         * Makefile.in: Regenerate.
37         * aclocal.m4: Regenerate.
38         * config.h.in: Regenerate.
39         * configure: Regenerate.
40         * configure.ac: Remove newline.
41         * libm2cor/Makefile.in: Regenerate.
42         * libm2iso/Makefile.in: Regenerate.
43         * libm2log/Makefile.in: Regenerate.
44         * libm2min/Makefile.in: Regenerate.
45         * libm2pim/Makefile.in: Regenerate.
46         * acinclude.m4: New file.
47         * configure.host: New file.
49 2023-10-27  Gaius Mulley  <gaiusmod2@gmail.com>
51         PR modula2/112110
52         * libm2iso/wrapclock.cc (timezone): Return 0 if unable
53         to get the timezone from the tm struct.
55 2023-10-27  Gaius Mulley  <gaiusmod2@gmail.com>
57         PR modula2/111530
58         * Makefile.in: Regenerate.
59         * aclocal.m4: Regenerate.
60         * config.h.in: Regenerate.
61         * configure: Regenerate.
62         * configure.ac (AC_CHECK_HEADERS): Include getopt.h.
63         (GM2_CHECK_LIB): getopt_long check.
64         (GM2_CHECK_LIB): getopt_long_only check.
65         * libm2cor/Makefile.in: Regenerate.
66         * libm2iso/Makefile.in: Regenerate.
67         * libm2log/Makefile.in: Regenerate.
68         * libm2min/Makefile.in: Regenerate.
69         * libm2pim/Makefile.in: Regenerate.
70         * libm2pim/cgetopt.cc: Re-write using conditional on configure
71         and long function code from libiberty/getopt.c.
73 2023-10-25  Gaius Mulley  <gaiusmod2@gmail.com>
75         PR modula2/111955
76         * libm2pim/wrapc.cc (isnan): Export new function.
77         (isnanf): Export new function.
78         (isnanl): Export new function.
80 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
82         * Makefile.am: Handle Darwin rpaths.
83         * Makefile.in: Regenerate.
84         * aclocal.m4: Regenerate.
85         * configure: Regenerate.
86         * configure.ac: Handle Darwin rpaths.
87         * libm2cor/Makefile.am: Handle Darwin rpaths.
88         * libm2cor/Makefile.in: Regenerate.
89         * libm2iso/Makefile.am: Handle Darwin rpaths.
90         * libm2iso/Makefile.in: Regenerate.
91         * libm2log/Makefile.am: Handle Darwin rpaths.
92         * libm2log/Makefile.in: Regenerate.
93         * libm2min/Makefile.am: Handle Darwin rpaths.
94         * libm2min/Makefile.in: Regenerate.
95         * libm2pim/Makefile.am: Handle Darwin rpaths.
96         * libm2pim/Makefile.in: Regenerate.
98 2023-09-29  Gaius Mulley  <gaiusmod2@gmail.com>
100         * libm2iso/wrapclock.cc (longint_t): New declaration.
101         (GetTimespec): Replace types for sec and nano with
102         longint_t.
103         (SetTimespec): Replace types for sec and nano with
104         longint_t.
106 2023-09-19  Gaius Mulley  <gaiusmod2@gmail.com>
108         * Makefile.am (TARGET_LONGDOUBLE_ABI): New variable set to
109         -mabi=ieeelongdouble if the target is powerpc64le.
110         (AM_MAKEFLAGS): Append TARGET_LONGDOUBLE_ABI.
111         * Makefile.in: Rebuild.
112         * libm2cor/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
113         TARGET_LONGDOUBLE_ABI.
114         (libm2cor_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
115         (libm2cor_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
116         * libm2cor/Makefile.in: Rebuild.
117         * libm2iso/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
118         TARGET_LONGDOUBLE_ABI.
119         (libm2iso_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
120         (libm2iso_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
121         * libm2iso/Makefile.in: Rebuild.
122         * libm2log/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
123         TARGET_LONGDOUBLE_ABI.
124         (libm2log_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
125         (libm2log_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
126         * libm2log/Makefile.in: Rebuild.
127         * libm2min/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
128         TARGET_LONGDOUBLE_ABI.
129         (libm2min_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
130         (libm2min_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
131         * libm2min/Makefile.in: Rebuild.
132         * libm2pim/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
133         TARGET_LONGDOUBLE_ABI.
134         (libm2pim_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
135         (libm2pim_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
136         * libm2pim/Makefile.in: Rebuild.
138 2023-09-13  Gaius Mulley  <gaiusmod2@gmail.com>
140         * libm2cor/Makefile.am (libm2cor_la_M2FLAGS): Add
141         -Wcase-enum.
142         * libm2cor/Makefile.in: Regenerate.
143         * libm2iso/Makefile.am (libm2iso_la_M2FLAGS): Add
144         -Wcase-enum.
145         * libm2iso/Makefile.in: Regenerate.
146         * libm2log/Makefile.am (libm2log_la_M2FLAGS): Add
147         -Wcase-enum.
148         * libm2log/Makefile.in: Regenerate.
149         * libm2pim/Makefile.am (libm2pim_la_M2FLAGS): Add
150         -Wcase-enum.
151         * libm2pim/Makefile.in: Regenerate.
153 2023-08-12  Gaius Mulley  <gaiusmod2@gmail.com>
155         PR modula2/110779
156         * configure: Regenerate.
157         * configure.ac: Provide special case test for Darwin cross
158         configuration.
159         (GLIBCXX_CONFIGURE): New statement.
160         (GLIBCXX_CHECK_GETTIMEOFDAY): New statement.
161         (GLIBCXX_ENABLE_LIBSTDCXX_TIME): New statement.
162         * libm2iso/wrapclock.cc: New sys/time.h conditional include.
163         (sys/syscall.h): Conditional include.
164         (unistd.h): Conditional include.
165         (GetTimeRealtime): Re-implement.
166         (SetTimeRealtime): Re-implement.
167         (timezone): Re-implement.
168         (istimezone): New function.
169         (daylight): Re-implement.
170         (isdst): Re-implement.
171         (tzname): Re-implement.
173 2023-08-09  Gaius Mulley  <gaiusmod2@gmail.com>
175         PR modula2/110779
176         * config.h.in: Regenerate.
177         * configure: Regenerate.
178         * configure.ac (AC_CACHE_CHECK): Check for tm_gmtoff field in
179         struct tm.
180         (GM2_CHECK_LIB): Check for daylight, timezone and tzname.
181         * libm2iso/wrapclock.cc (timezone): Guard against absence of
182         struct tm and tm_gmtoff.
183         (daylight): Check for daylight.
184         (timezone): Check for timezone.
185         (isdst): Check for isdst.
186         (tzname): Check for tzname.
187         (GetTimeRealtime): Check for struct timespec.
188         (SetTimeRealtime): Check for struct timespec.
189         (InitTimespec): Check for struct timespec.
190         (KillTimespec): Check for struct timespec.
191         (SetTimespec): Check for struct timespec.
192         (GetTimespec): Check for struct timespec.
194 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
196         * configure: Regenerate.
198 2023-08-07  Alexander von Gluck IV  <kallisti5@unixzen.com>
200         * configure: Regenerate.
202 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
204         * configure: Regenerate.
206 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
208         * configure: Regenerate.
210 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
212         * configure: Regenerate.
214 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
216         * configure: Regenerate.
218 2023-08-05  Gaius Mulley  <gaiusmod2@gmail.com>
220         PR modula2/110779
221         * config.h.in: Regenerate.
222         * configure: Regenerate.
223         * configure.ac (GM2_CHECK_LIB): Check for clock_gettime
224         and clock_settime.
225         * libm2iso/Makefile.am (M2DEFS): Add wrapclock.def.
226         * libm2iso/Makefile.in: Regenerate.
227         * libm2iso/wraptime.cc: Replace HAVE_TIMEVAL with
228         HAVE_STRUCT_TIMEVAL.
229         * libm2iso/wrapclock.cc: New file.
231 2023-06-02  Thomas Schwinge  <thomas@codesourcery.com>
233         * configure.ac (PERL): Remove.
234         * configure: Regenerate.
235         * Makefile.in: Likewise.
236         * libm2cor/Makefile.in: Likewise.
237         * libm2iso/Makefile.in: Likewise.
238         * libm2log/Makefile.in: Likewise.
239         * libm2min/Makefile.in: Likewise.
240         * libm2pim/Makefile.in: Likewise.
242 2023-05-16  Gaius Mulley  <gaiusmod2@gmail.com>
244         PR modula2/109879
245         * Makefile.in: Regenerate.
246         * aclocal.m4: Regenerate.
247         * libm2cor/Makefile.in: Regenerate.
248         * libm2iso/Makefile.am (M2DEFS): Add TextUtil.def.
249         (M2MODS): Add TextUtil.mod.
250         * libm2iso/Makefile.in: Regenerate.
251         * libm2log/Makefile.in: Regenerate.
252         * libm2min/Makefile.in: Regenerate.
253         * libm2pim/Makefile.in: Regenerate.
255 2023-05-16  Gaius Mulley  <gaiusmod2@gmail.com>
257         PR modula2/108344
258         * libm2cor/KeyBoardLEDs.cc (initialize_module): New function.
259         (SwitchScroll): Call initialize_module.
260         (SwitchNum): Call initialize_module.
261         (SwitchCaps): Call initialize_module.
262         (SwitchLEDs): Call initialize_module.
263         (M2EXPORT): Remove initialization code.
265 2023-05-13  Gaius Mulley  <gaiusmod2@gmail.com>
267         * libm2cor/KeyBoardLEDs.cc (TRUE): Remove.
268         (FALSE): Remove.
269         (init): Replace TRUE with true.
270         * libm2iso/RTco.cc (TRUE): Remove.
271         (FALSE): Remove.
272         (initSem): Replace int with bool.
273         (init): Replace FALSE with false.
274         * libm2pim/sckt.cc (TRUE): Remove.
275         (FALSE): Remove.
276         * libm2pim/wrapc.cc: Replace TRUE with true
277         and FALSE with false.
278         (FALSE): Remove.
279         (TRUE): Remove.
281 2023-05-08  Thomas Schwinge  <thomas@codesourcery.com>
283         * autogen.sh: Remove.
285 2023-05-08  Thomas Schwinge  <thomas@codesourcery.com>
287         * autogen.sh: For 'aclocal', 'autoreconf', remove '-I .',
288         add '-I ..'.
289         * Makefile.am (ACLOCAL_AMFLAGS): Remove '-I .'.
290         * libm2cor/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
291         * libm2iso/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
292         * libm2log/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
293         * libm2min/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
294         * libm2pim/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
295         * aclocal.m4: Regenerate.
296         * Makefile.in: Likewise.
297         * libm2cor/Makefile.in: Likewise.
298         * libm2iso/Makefile.in: Likewise.
299         * libm2log/Makefile.in: Likewise.
300         * libm2min/Makefile.in: Likewise.
301         * libm2pim/Makefile.in: Likewise.
303 2023-03-22  Gaius Mulley  <gaiusmod2@gmail.com>
305         * libm2pim/Makefile.am (M2DEFS): Remove M2LINK.def.
306         * libm2pim/Makefile.in: Rebuild.
308 2023-03-16  Gaius Mulley  <gaiusmod2@gmail.com>
310         * libm2cor/Makefile.am: Remove
311         * libm2cor/Makefile.in: Rebuild.
312         * libm2iso/RTco.cc (newSem): Halt parameters reordered.
313         (currentThread): Ditto.
314         (never): Ditto.
315         (defined): Ditto.
316         (initThread): Ditto.
317         * libm2iso/m2rts.h (m2iso_M2RTS_HaltC): Ditto.
319 2023-03-15  Gaius Mulley  <gaiusmod2@gmail.com>
321         PR modula2/109125
322         * libm2pim/dtoa.cc (TRUE): Remove.
323         (FALSE): Remove.  Replace int with bool.
324         * libm2pim/ldtoa.cc (TRUE): Remove.
325         (FALSE): Remove.  Replace int with bool.
327 2023-03-14  Gaius Mulley  <gaiusmod2@gmail.com>
329         PR modula2/109125
330         * libm2iso/ErrnoCategory.cc (FALSE): Remove.
331         (TRUE): Remove.
332         * libm2iso/wrapsock.c (TRUE): Remove.
333         (FALSE): Remove.
334         * libm2iso/wraptime.cc (TRUE): Remove.
335         (FALSE): Remove.
336         * libm2pim/cgetopt.cc: Replace int for bool for every BOOLEAN
337         parameter in the definition module.
338         * libm2pim/dtoa.cc: Ditto.
339         * libm2pim/ldtoa.cc: Ditto.
340         * libm2pim/termios.cc: Ditto.
341         (doSetUnset): Replace int for bool.
343 2023-02-27  Gaius Mulley  <gaiusmod2@gmail.com>
345         PR modula2/108944
346         * libm2pim/sckt.cc (getLocalIP): Correct parameter order.
348 2023-02-25  Gaius Mulley  <gaiusmod2@gmail.com>
350         PR modula2/108261
351         * libm2cor/KeyBoardLEDs.cc (EXPORT): New define.
352         (M2EXPORT): New define.
353         (M2LIBNAME): New define.
354         (KeyBoardLEDs_SwitchScroll): EXPORT.
355         (KeyBoardLEDs_SwitchNum): EXPORT.
356         (KeyBoardLEDs_SwitchCaps): EXPORT.
357         (KeyBoardLEDs_SwitchLeds): EXPORT.
358         (_M2_KeyBoardLEDs_init): M2EXPORT.
359         (_M2_KeyBoardLEDs_finish): M2EXPORT.
360         (_M2_KeyBoardLEDs_dep): M2EXPORT.
361         * libm2cor/Makefile.am (libm2cor_la_M2FLAGS): Define
362         path names.
363         * libm2cor/Makefile.in: Rebuild.
364         * libm2iso/ErrnoCategory.cc (EXPORT): New define.
365         (M2EXPORT): New define.
366         (M2LIBNAME): New define.
367         (ErrnoCategory_IsErrnoHard): EXPORT.
368         (ErrnoCategory_IsErrnoSoft): EXPORT.
369         (ErrnoCategory_UnAvailable): EXPORT.
370         (ErrnoCategory_GetOpenResults): EXPORT.
371         (_M2_ErrnoCategory_init): M2EXPORT.
372         (_M2_ErrnoCategory_fini): M2EXPORT.
373         (_M2_ErrnoCategory_dep): M2EXPORT.
374         (_M2_ErrnoCategory_ctor): M2EXPORT.
375         * libm2iso/Makefile.am (libm2iso_la_M2FLAGS): Define
376         path names.
377         * libm2iso/Makefile.in: Rebuild.
378         * libm2iso/RTco.cc (EXPORT): New define.
379         (M2EXPORT): New define.
380         (M2LIBNAME): New define.
381         (newSem): Add module libname prefix to HaltC.
382         (currentThread): Remove variable and replace with a function.
383         (never): Add module libname prefix to HaltC.
384         (initThread): Add module libname prefix to HaltC.
385         * libm2iso/m2rts.h (str): New define.
386         (M2RTS_RequestDependant): Change to the mangled name equivalent.
387         (M2RTS_RegisterModule): Change to the mangled name equivalent.
388         (m2iso_M2RTS_RequestDependant): Add libname parameter.
389         (m2iso_M2RTS_RegisterModule): Add libname parameter.
390         (m2pim_M2RTS_RegisterModule): Add libname parameter.
391         (_M2_M2RTS_init): Rename this...
392         (m2iso_M2_M2RTS_init): ...to this.
393         (M2RTS_ConstructModules): Change to the mangled name equivalent.
394         (M2RTS_Terminate): Change to the mangled name equivalent.
395         (M2RTS_DeconstructModules): Change to the mangled name equivalent.
396         (m2iso_M2RTS_ConstructModules): Add libname parameter.
397         (m2iso_M2RTS_Terminate): Add libname parameter.
398         (m2iso_M2RTS_DeconstructModules): Add libname parameter.
399         (M2RTS_HaltC): Rename this...
400         (m2iso_M2RTS_HaltC): ...to this.
401         * libm2iso/wrapsock.c (EXPORT): New define.
402         (IMPORT): New define.
403         (M2EXPORT): New define.
404         (M2LIBNAME): New define.
405         (m2iso_M2RTS_RequestDependant): Add prototype.
406         (wrapsock_clientOpen): EXPORT.
407         (wrapsock_clientOpenIP): EXPORT.
408         (wrapsock_getClientPortNo): EXPORT.
409         (wrapsock_getClientHostname): EXPORT.
410         (wrapsock_getClientSocketFd): EXPORT.
411         (wrapsock_getClientIP): EXPORT.
412         (wrapsock_getPushBackChar): EXPORT.
413         (wrapsock_setPushBackChar): EXPORT.
414         (wrapsock_getSizeOfClientInfo): EXPORT.
415         (_M2_wrapsock_init): M2EXPORT.
416         (_M2_wrapsock_fini): M2EXPORT.
417         (ctor): M2EXPORT.  New function.
418         * libm2iso/wraptime.c: Rename to...
419         * libm2iso/wraptime.cc: ...this.
420         (EXPORT): New define.
421         (M2EXPORT): New define.
422         (M2LIBNAME): New define.
423         (wraptime_InitTimeval): EXPORT.
424         (wraptime_KillTimeval): EXPORT.
425         (wraptime_InitTimezone): EXPORT.
426         (wraptime_KillTimezone): EXPORT.
427         (wraptime_InitTM): EXPORT.
428         (wraptime_KillTM): EXPORT.
429         (wraptime_gettimeofday): EXPORT.
430         (wraptime_settimeofday): EXPORT.
431         (wraptime_GetFractions): EXPORT.
432         (wraptime_localtime_r): EXPORT.
433         (wraptime_GetYear): EXPORT.
434         (wraptime_GetMonth): EXPORT.
435         (wraptime_GetDay): EXPORT.
436         (wraptime_GetHour): EXPORT.
437         (wraptime_GetMinute): EXPORT.
438         (wraptime_GetSecond): EXPORT.
439         (wraptime_GetSummerTime): EXPORT.
440         (wraptime_GetDST): EXPORT.
441         (wraptime_SetTimezone): EXPORT.
442         (wraptime_SetTimeval): EXPORT.
443         (_M2_wraptime_init): M2EXPORT.
444         (_M2_wraptime_fini): M2EXPORT.
445         (ctor): M2EXPORT.  New function.
446         * libm2log/Makefile.am (libm2log_la_M2FLAGS): Define
447         path names.
448         * libm2log/Makefile.in:
449         * libm2min/Makefile.am (libm2min_la_M2FLAGS): Define
450         path names.
451         * libm2min/Makefile.in:
452         * libm2pim/Makefile.am (libm2pim_la_M2FLAGS): Define
453         path names.
454         * libm2pim/Makefile.in:
455         * libm2pim/Selective.cc (EXPORT): New define.
456         (M2EXPORT): New define.
457         (M2LIBNAME): New define.
458         (Selective_Select): EXPORT.
459         (Selective_InitTime): EXPORT.
460         (Selective_GetTime): EXPORT.
461         (Selective_SetTime): EXPORT.
462         (Selective_KillTime): EXPORT.
463         (Selective_InitSet): EXPORT.
464         (Selective_KillSet): EXPORT.
465         (Selective_FdZero): EXPORT.
466         (Selective_FdSet): EXPORT.
467         (Selective_FdClr): EXPORT.
468         (Selective_FdIsSet): EXPORT.
469         (Selective_GetTimeOfDay): EXPORT.
470         (Selective_MaxFdsPlusOne): EXPORT.
471         (Selective_WriteCharRaw): EXPORT.
472         (Selective_ReadCharRaw): EXPORT.
473         (_M2_Selective_init): M2EXPORT.
474         (_M2_Selective_fini): M2EXPORT.
475         (_M2_Selective_dep): M2EXPORT.
476         (_M2_Selective_ctor): M2EXPORT.
477         * libm2pim/SysExceptions.cc (EXPORT): New define.
478         (M2EXPORT): New define.
479         (M2LIBNAME): New define.
480         (SysExceptions_InitExceptionHandlers): EXPORT.
481         (_M2_SysExceptions_init): M2EXPORT.
482         (_M2_SysExceptions_fini): M2EXPORT.
483         (_M2_SysExceptions_dep): M2EXPORT.
484         (_M2_SysExceptions_ctor): M2EXPORT.
485         * libm2pim/UnixArgs.cc (EXPORT): New define.
486         (M2EXPORT): New define.
487         (M2LIBNAME): New define.
488         (UnixArgs_GetArgC): EXPORT.
489         (UnixArgs_GetArgV): EXPORT.
490         (UnixArgs_GetEnvV): EXPORT.
491         (_M2_UnixArgs_init): M2EXPORT.
492         (_M2_UnixArgs_fini): M2EXPORT.
493         (_M2_UnixArgs_dep): M2EXPORT.
494         (_M2_UnixArgs_ctor): M2EXPORT.
495         * libm2pim/cgetopt.cc (EXPORT): New define.
496         (M2EXPORT): New define.
497         (M2LIBNAME): New define.
498         (cgetopt_getopt): EXPORT.
499         (cgetopt_getopt_long): EXPORT.
500         (cgetopt_getopt_long_only): EXPORT.
501         (cgetopt_InitOptions): EXPORT.
502         (cgetopt_KillOptions): EXPORT.
503         (cgetopt_SetOption): EXPORT.
504         (cgetopt_GetLongOptionArray): EXPORT.
505         (_M2_cgetopt_init): M2EXPORT.
506         (_M2_cgetopt_fini): M2EXPORT.
507         (_M2_cgetopt_dep): M2EXPORT.
508         (_M2_cgetopt_ctor): M2EXPORT.
509         * libm2pim/dtoa.cc (EXPORT): New define.
510         (M2EXPORT): New define.
511         (M2LIBNAME): New define.
512         (dtoa_strtod): EXPORT.
513         (dtoa_calcmaxsig): EXPORT.
514         (dtoa_calcdecimal): EXPORT.
515         (dtoa_calcsign): EXPORT.
516         (dtoa_dtoa): EXPORT.
517         (_M2_dtoa_init): M2EXPORT.
518         (_M2_dtoa_fini): M2EXPORT.
519         (_M2_dtoa_dep): M2EXPORT.
520         (_M2_dtoa_ctor): M2EXPORT.
521         * libm2pim/errno.cc (EXPORT): New define.
522         (M2EXPORT): New define.
523         (M2LIBNAME): New define.
524         (errno_geterrno): EXPORT.
525         (_M2_errno_init): M2EXPORT.
526         (_M2_errno_fini): M2EXPORT.
527         (_M2_errno_dep): M2EXPORT.
528         (_M2_errno_ctor): M2EXPORT.
529         * libm2pim/ldtoa.cc (EXPORT): New define.
530         (IMPORT): New define.
531         (M2EXPORT): New define.
532         (M2LIBNAME): New define.
533         (dtoa_calcmaxsig): EXPORT.
534         (dtoa_calcdecimal): EXPORT.
535         (dtoa_calcsign): EXPORT.
536         (ldtoa_strtold): EXPORT.
537         (ldtoa_ldtoa): EXPORT.
538         (_M2_ldtoa_init): M2EXPORT.
539         (_M2_ldtoa_fini): M2EXPORT.
540         (_M2_ldtoa_dep): M2EXPORT.
541         (_M2_ldtoa_ctor): M2EXPORT.
542         * libm2pim/sckt.cc (EXPORT): New define.
543         (M2EXPORT): New define.
544         (M2LIBNAME): New define.
545         (tcpServerEstablishPort): EXPORT.
546         (tcpServerEstablish): EXPORT.
547         (tcpServerAccept): EXPORT.
548         (tcpServerPortNo): EXPORT.
549         (tcpServerSocketFd): EXPORT.
550         (getLocalIP): EXPORT.
551         (tcpServerIP): EXPORT.
552         (tcpServerClientIP): EXPORT.
553         (tcpServerClientPortNo): EXPORT.
554         (tcpClientSocket): EXPORT.
555         (tcpClientSocketIP): EXPORT.
556         (tcpClientConnect): EXPORT.
557         (tcpClientPortNo): EXPORT.
558         (tcpClientSocketFd): EXPORT.
559         (tcpClientIP): EXPORT.
560         (_M2_sckt_init): M2EXPORT.
561         (_M2_sckt_finish): M2EXPORT.
562         (_M2_sckt_dep): M2EXPORT.
563         (_M2_sckt_ctor): M2EXPORT.
564         * libm2pim/termios.cc (EXPORT): New define.
565         (M2EXPORT): New define.
566         (M2LIBNAME): New define.
567         (_M2_termios_init): M2EXPORT.
568         (_M2_termios_fini): M2EXPORT.
569         (_M2_termios_dep): M2EXPORT.
570         (_M2_termios_ctor): M2EXPORT.
571         * libm2pim/wrapc.c (EXPORT): New define.
572         (M2EXPORT): New define.
573         (M2LIBNAME): New define.
574         (wrapc_strtime): EXPORT.
575         (wrapc_filesize): EXPORT.
576         (wrapc_filemtime): EXPORT.
577         (wrapc_fileinode): EXPORT.
578         (wrapc_getrand): EXPORT.
579         (wrapc_getusername): EXPORT.
580         (wrapc_getnameuidgid): EXPORT.
581         (wrapc_signbit): EXPORT.
582         (wrapc_signbitl): EXPORT.
583         (wrapc_signbitf): EXPORT.
584         (wrapc_isfinite): EXPORT.
585         (wrapc_isfinitel): EXPORT.
586         (wrapc_isfinitef): EXPORT.
587         (_M2_wrapc_init): M2EXPORT.
588         (_M2_wrapc_fini): M2EXPORT.
589         (_M2_wrapc_ctor): M2EXPORT.
590         * libm2pim/wrapc.cc: New file.
592 2023-02-19  Gaius Mulley  <gaiusmod2@gmail.com>
594         PR testsuite/108835
595         * libm2iso/RTco.cc: Re-implementation using a single lock
596         mutex and inlined wait/signal implementation within
597         transfer.
599 2023-02-13  Gaius Mulley  <gaiusmod2@gmail.com>
601         * libm2iso/RTco.cc (tprintf): Replace definition.
603 2023-02-01  Gaius Mulley  <gaiusmod2@gmail.com>
605         PR modula2/108612
606         PR modula2/108551
607         * libm2cor/Makefile.am (libm2cor_la_M2FLAGS): Add -Wreturn-type
608         -fcase.
609         * libm2cor/Makefile.in: Rebuild.
610         * libm2iso/Makefile.am (libm2iso_la_M2FLAGS): Add -Wreturn-type
611         -fcase.
612         * libm2iso/Makefile.in: Rebuild.
613         * libm2log/Makefile.am (libm2log_la_M2FLAGS): Add -Wreturn-type
614         -fcase.
615         * libm2log/Makefile.in: Rebuild.
616         * libm2pim/Makefile.am (libm2pim_la_M2FLAGS): Add -Wreturn-type
617         -fcase.
618         * libm2pim/Makefile.in: Rebuild.
620 2023-01-31  Richard Biener  <rguenther@suse.de>
622         PR modula2/108462
623         * libm2cor/Makefile.am: Remove static lib install from
624         install-data-local.
625         * libm2iso/Makefile.am: Likewise.
626         * libm2log/Makefile.am: Likewise.
627         * libm2min/Makefile.am: Likewise.
628         * libm2pim/Makefile.am: Likewise.
629         * libm2cor/Makefile.in: Regenerate.
630         * libm2iso/Makefile.in: Likewise.
631         * libm2log/Makefile.in: Likewise.
632         * libm2min/Makefile.in: Likewise.
633         * libm2pim/Makefile.in: Likewise.
635 2023-01-31  Gaius Mulley  <gaiusmod2@gmail.com>
637         * libm2log/Makefile.am (VPATH): Replace gm2-libs-pim
638         with gm2-libs-log.
639         (libm2log_la_M2FLAGS): Replace gm2-libs-pim with
640         gm2-libs-log.
641         (install-data-local): Replace gm2-libs-pim with
642         gm2-libs-log.
643         * libm2log/Makefile.in: Rebuilt.
645 2023-01-26  Gaius Mulley  <gaiusmod2@gmail.com>
647         * configure.ac (AM_INIT_AUTOMAKE): Specify 1.15.1.
649 2023-01-24  Co-Authored by: Iain Sandoe  <iain@sandoe.co.uk>
651         * libm2cor/Makefile.am (SYSTEM.def): Split path into
652         multiple -I components.
653         * libm2cor/Makefile.in: Rebuild.
654         * libm2min/Makefile.am (SYSTEM.def): Split path into
655         multiple -I components.
656         * libm2min/Makefile.in: Rebuild.
657         * libm2iso/Makefile.am (SYSTEM.def): Split path into
658         multiple -I components.
659         * libm2iso/Makefile.in: Rebuild.
661 2023-01-23  Richard Biener  <rguenther@suse.de>
663         PR modula2/108144
664         * libm2cor/Makefile.am: Revert previous change, instead
665         drop the redundant $(MULTIDIR).
666         * libm2iso/Makefile.am: Likewise.
667         * libm2log/Makefile.am: Likewise.
668         * libm2min/Makefile.am: Likewise.
669         * libm2pim/Makefile.am: Likewise.
670         * libm2cor/Makefile.in: Regenerate.
671         * libm2iso/Makefile.in: Likewise.
672         * libm2log/Makefile.in: Likewise.
673         * libm2min/Makefile.in: Likewise.
674         * libm2pim/Makefile.in: Likewise.
676 2023-01-23  Richard Biener  <rguenther@suse.de>
678         PR modula2/108144
679         * configure.ac: Apply config-ml.pl to the generated Makefiles.
680         Set multilib_arg, use AM_PROG_LIBTOOL.
681         * configure: Regenerate.
682         * Makefile.am (AM_MAKEFLAGS): Do not override MULTI* flags.
683         * Makefile.in: Regenerate.
684         * libm2cor/Makefile.am: Install to $(toolexeclibdir)$(M2LIBDIR)
685         rather than $(inst_libdir)/$(MULTIDIR)$(M2LIBDIR).
686         * libm2iso/Makefile.am: Likewise.
687         * libm2log/Makefile.am: Likewise.
688         * libm2min/Makefile.am: Likewise.
689         * libm2pim/Makefile.am: Likewise.
690         * libm2cor/Makefile.in: Regenerate.
691         * libm2iso/Makefile.in: Likewise.
692         * libm2log/Makefile.in: Likewise.
693         * libm2min/Makefile.in: Likewise.
694         * libm2pim/Makefile.in: Likewise.
696 2023-01-19  Richard Biener  <rguenther@suse.de>
698         PR modula2/108144
699         * configure.ac: Add GCC_BASE_VER.
700         * configure: Re-generate.
701         * Makefile.am: Use @get_gcc_base_ver@ for gcc_version.
702         * libm2cor/Makefile.am: Likewise.  Use gcc_version instead
703         of version.
704         * libm2iso/Makefile.am: Likewise.
705         * libm2log/Makefile.am: Likewise.
706         * libm2min/Makefile.am: Likewise.
707         * libm2pim/Makefile.am: Likewise.
708         * Makefile.in: Re-generate.
709         * libm2cor/Makefile.in: Likewise.
710         * libm2iso/Makefile.in: Likewise.
711         * libm2log/Makefile.in: Likewise.
712         * libm2min/Makefile.in: Likewise.
713         * libm2pim/Makefile.in: Likewise.
715 2023-01-17  Gaius Mulley  <gaiusmod2@gmail.com>
717         * libm2iso/RTco.cc (_M2_RTco_fini): Call M2RTS_HaltC.
718         (newSem): Call M2RTS_HaltC.
719         (currentThread): Call M2RTS_HaltC.
720         (never): Call M2RTS_HaltC.
721         (defined): Call M2RTS_HaltC.
722         (initThread): Call M2RTS_HaltC.
723         (RTco_transfer): Call M2RTS_HaltC.
724         * libm2iso/m2rts.h (M2RTS_Halt): Provide parameter names.
725         (M2RTS_HaltC): New procedure declaration.
727 2023-01-06  v  <gaiusmod2@gmail.com>
729         * configure: Regenerate.
730         * configure.ac (libtool_VERSION): Bump to 18:0:0.
732 2023-01-04  Iain Sandoe  <iain@sandoe.co.uk>
734         PR modula2/108183
735         * libm2cor/KeyBoardLEDs.cc (_M2_KeyBoardLEDs_ctor): Rework to use
736         an extern "C" function with 'constructor' attribute.
737         * libm2iso/ErrnoCategory.cc (_M2_ErrnoCategory_ctor): Likewise.
738         * libm2iso/RTco.cc (_M2_RTco_ctor): Likewise.
739         * libm2pim/Selective.cc (_M2_Selective_ctor): Likewise.
740         * libm2pim/SysExceptions.cc (_M2_SysExceptions_ctor): Likewise.
741         * libm2pim/UnixArgs.cc (_M2_UnixArgs_ctor): Likewise.
742         * libm2pim/cgetopt.cc (_M2_cgetopt_ctor): Likewise.
743         * libm2pim/dtoa.cc (_M2_dtoa_ctor): Likewise.
744         * libm2pim/errno.cc (_M2_errno_ctor): Likewise.
745         * libm2pim/ldtoa.cc (_M2_ldtoa_ctor): Likewise.
746         * libm2pim/sckt.cc (_M2_sckt_ctor): Likewise.
747         * libm2pim/termios.cc (_M2_termios_ctor): Likewise.
748         * libm2pim/wrapc.c: Add a new line to the file end.
750 2022-12-31  Iain Sandoe  <iain@sandoe.co.uk>
752         * configure: Regenerate.
753         * configure.ac: Make a conditional for configurations targeting
754         Darwin.
755         * libm2cor/Makefile.am: Use -undefined,dynamic_lookup on Darwin.
756         * libm2iso/Makefile.am: Likewise.
757         * libm2log/Makefile.am: Likewise.
758         * libm2pim/Makefile.am: Likewise
759         * libm2min/Makefile.am: Likewise
760         * libm2cor/Makefile.in: Regenerate.
761         * libm2iso/Makefile.in: Regenerate.
762         * libm2log/Makefile.in: Regenerate.
763         * libm2min/Makefile.in: Regenerate.
764         * libm2pim/Makefile.in: Regenerate.
766 2022-12-14  Gaius Mulley  <gaiusmod2@gmail.com>
768         * Makefile.am: New file.
769         * autogen.sh: New file.
770         * config.h.in: New file.
771         * configure.ac: New file.
772         * libm2cor/KeyBoardLEDs.cc: New file.
773         * libm2cor/Makefile.am: New file.
774         * libm2iso/ChanConsts.h: New file.
775         * libm2iso/ErrnoCategory.cc: New file.
776         * libm2iso/Makefile.am: New file.
777         * libm2iso/RTco.cc: New file.
778         * libm2iso/m2rts.h: New file.
779         * libm2iso/wrapsock.c: New file.
780         * libm2iso/wraptime.c: New file.
781         * libm2log/Break.c: New file.
782         * libm2log/Makefile.am: New file.
783         * libm2min/Makefile.am: New file.
784         * libm2min/libc.c: New file.
785         * libm2pim/Makefile.am: New file.
786         * libm2pim/Selective.cc: New file.
787         * libm2pim/SysExceptions.cc: New file.
788         * libm2pim/UnixArgs.cc: New file.
789         * libm2pim/cgetopt.cc: New file.
790         * libm2pim/dtoa.cc: New file.
791         * libm2pim/errno.cc: New file.
792         * libm2pim/ldtoa.cc: New file.
793         * libm2pim/sckt.cc: New file.
794         * libm2pim/target.c: New file.
795         * libm2pim/termios.cc: New file.
796         * libm2pim/wrapc.c: New file.
797         * configure: Generated.
798         * libm2log/Makefile.in: Generated.
799         * libm2min/Makefile.in: Generated.
800         * libm2cor/Makefile.in: Generated.
801         * libm2pim/Makefile.in: Generated.
802         * libm2iso/Makefile.in: Generated.
803         * Makefile.in: New file.
804         * aclocal.m4: New file.