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