1 2023-03-19 Gaius Mulley <gaiusmod2@gmail.com>
3 * Make-maintainer.in (gm2.maintainer-clean): Remove.
4 (gm2.maintainer-help): Add gm2.maintainer-tools,
5 gm2.maintainer-doc. Remove gm2.maintainer-clean.
6 Change target-independent directory to target-independent/m2.
7 * gm2-compiler/ppg.mod: Correct __FILE_ typo to __FILE__.
8 * gm2-compiler/M2Options.def (SetAutoInit): Update comment.
9 * gm2-compiler/M2Options.mod (SetAutoInit): Update comment.
10 * gm2-gcc/m2color.cc (m2color_colorize_start): Rename name_len
12 * gm2-gcc/m2color.def (colorize_start): change ARRAY OF CHAR to
13 ADDRESS and add _name_high.
14 * gm2-gcc/m2decl.cc (m2decl_BuildStartFunctionDeclaration): Change
16 * gm2-gcc/m2decl.h (m2decl_BuildStartFunctionDeclaration): Change
18 * gm2-gcc/m2expr.cc (m2expr_BuildBinarySetDo): Change int to bool.
19 (m2expr_BuildIfConstInVar): Change int to bool.
20 (m2expr_BuildIfNotConstInVar): Change int to bool.
21 (m2expr_BuildIfVarInVar): Change int to bool.
22 (m2expr_BuildIfNotVarInVar): Change int to bool.
23 (m2expr_BuildForeachWordInSetDoIfExpr): Change int to bool.
24 * gm2-gcc/m2expr.h (m2expr_BuildIfNotVarInVar): Change int to bool.
25 (m2expr_BuildIfVarInVar): Change int to bool.
26 (m2expr_BuildIfNotConstInVar): Change int to bool.
27 (m2expr_BuildIfConstInVar): Change int to bool.
28 * gm2-gcc/m2options.h (M2Options_SetAutoInit): Change int to bool.
29 (M2Options_SetNilCheck): Change int to bool.
30 (M2Options_SetReturnCheck): Change int to bool.
31 (M2Options_SetCaseCheck): Change int to bool.
32 (M2Options_SetCheckAll): Change int to bool.
33 (M2Options_SetVerboseUnbounded): Change int to bool.
34 (M2Options_SetUnboundedByReference): Change int to bool.
35 (M2Options_SetOptimizing): Change int to bool.
36 (M2Options_SetQuiet): Change int to bool.
37 (M2Options_SetCpp): Change int to bool.
38 (M2Options_SetM2g): Change int to bool.
39 (M2Options_SetLowerCaseKeywords): Change int to bool.
40 (M2Options_SetVerbose): Change int to bool.
41 * gm2-gcc/m2treelib.cc (m2treelib_get_rvalue): Change int to bool.
42 (m2treelib_get_field_no): Change int to bool.
43 (m2treelib_get_set_value): Change int to bool.
44 (m2treelib_get_set_address): Change int to bool.
45 (m2treelib_get_set_address_if_var): Change int to bool.
46 * gm2-gcc/m2treelib.def (get_set_address_if_var): Change int to bool.
47 (get_set_address): Change int to bool.
48 (get_set_value): Change int to bool.
49 (get_field_no): Change int to bool.
50 (get_rvalue): Change int to bool.
51 * gm2-gcc/m2treelib.h (m2treelib_get_field_no): Change int to bool.
52 (m2treelib_get_set_value): Change int to bool.
53 (m2treelib_get_set_address): Change int to bool.
54 (m2treelib_get_set_address_if_var): Change int to bool.
55 * gm2-gcc/m2type.cc (m2type_BuildEndFunctionType): Change int to bool.
56 * gm2-gcc/m2type.h (m2type_BuildEndFunctionType): Change int to bool.
57 * gm2-libs-ch/dtoa.cc (dtoa_calcsign): Change int to bool.
58 * gm2-libs-ch/ldtoa.cc (dtoa_calcsign): Change int to bool.
59 (ldtoa_ldtoa): Change int to bool.
60 * m2.flex (functionInfo): Change int to bool.
61 (pushFunction): Change parameter from int to bool.
62 * mc-boot/GDebug.cc (Debug_Halt): Rebuild.
63 * mc-boot/GDebug.h (Debug_Halt): Rebuild.
64 * mc-boot/GDynamicStrings.cc: Rebuild.
65 * mc-boot/GDynamicStrings.h: Rebuild.
66 * mc-boot/GFIO.cc: Rebuild.
67 * mc-boot/GM2RTS.cc: Rebuild.
68 * mc-boot/GM2RTS.h: Rebuild.
69 * mc-boot/GPushBackInput.cc: Rebuild.
70 * mc-boot/GRTExceptions.cc: Rebuild.
71 * mc-boot/GRTint.cc: Rebuild.
72 * mc-boot/GSysStorage.cc: Rebuild.
73 * mc-boot/Gdecl.cc: Rebuild.
74 * mc-boot/GsymbolKey.cc: Rebuild.
75 * mc/symbolKey.mod: Rebuild.
76 * target-independent/m2/Builtins.texi: Rebuild.
77 * target-independent/m2/SYSTEM-iso.texi: Rebuild.
78 * target-independent/m2/SYSTEM-pim.texi: Rebuild.
79 * target-independent/m2/gm2-libs.texi: Rebuild.
80 * tools-src/def2doc.py (PIM_Log): Change gm2-libs-pim to
83 2023-03-17 Gaius Mulley <gaiusmod2@gmail.com>
86 * gm2-gcc/m2expr.cc: Correct ? : order in comments.
87 (m2expr_BuildDivM2): Improve comment.
88 * lang.opt: Improve option descriptions.
90 2023-03-17 Gaius Mulley <gaiusmod2@gmail.com>
93 * gm2-gcc/m2builtins.cc (ASSERT): Change format specifier to
94 use %qs rather than quotes.
96 2023-03-17 Gaius Mulley <gaiusmod2@gmail.com>
98 * gm2-compiler/M2AsmUtil.mod (SymNeedsModulePrefix):
100 * gm2-libs/SysStorage.mod (enableTrace): Disable tracing.
102 2023-03-16 Gaius Mulley <gaiusmod2@gmail.com>
104 * gm2-compiler/SymbolKey.mod (PutSymKey): Halt parameters
107 * gm2-compiler/ppg.mod (GetEpsilon): Ditto.
108 (GetReachEnd): Ditto.
110 (CodeCondition): Ditto.
113 (RecoverCondition): Ditto.
114 (ConditionIndent): Ditto.
115 * gm2-libs-ch/m2rts.h (M2RTS_Halt): Ditto.
116 * gm2-libs-coroutines/Executive.mod (Assert): Ditto.
117 (Resume): Remove redundant comments.
118 (Wait): Remove redundant comments.
119 * gm2-libs-coroutines/SYSTEM.mod (TRANSFER): Halt parameters
121 (IOTransferHandler): Ditto.
124 * gm2-libs-coroutines/TimerHandler.mod (WaitOn): Halt parameters
128 (OnActiveQueue): Ditto.
129 * gm2-libs-iso/COROUTINES.mod (NEWCOROUTINE): Ditto.
132 * gm2-libs-iso/EXCEPTIONS.mod (RAISE): Correct Halt parameters.
133 * gm2-libs-iso/M2RTS.def (Halt): Halt parameters reordered.
135 * gm2-libs-iso/M2RTS.mod: Ditto.
136 * gm2-libs-iso/RTentity.mod (PutKey): Ditto.
138 (findChildAndParent): Ditto.
140 * gm2-libs-iso/Storage.mod (ALLOCATE): Add DebugTrace.
141 Add UseMallocFree test.
142 (DEALLOCATE): Add DebugTrace. Add UseMallocFree test.
143 (assert): Halt parameters reordered.
144 * gm2-libs-log/Termbase.mod (Read): Ditto.
148 * gm2-libs/Debug.def (Halt): Halt parameters reordered.
149 * gm2-libs/Debug.mod (Halt): Ditto.
150 * gm2-libs/DynamicStrings.def (PopAllocation): Improve comment.
151 * gm2-libs/DynamicStrings.mod (PopAllocation): Improve comment.
152 Halt parameters reordered.
153 * gm2-libs/M2RTS.def (Halt): Ditto.
155 * gm2-libs/M2RTS.mod (Halt): Ditto.
157 * gm2-libs/PushBackInput.mod (PutStr): Ditto.
160 * gm2-libs/RTExceptions.mod (GetBaseExceptionBlock): Ditto.
161 * gm2-libs/RTint.mod (ReArmTimeVector): Ditto.
162 (GetTimeVector): Ditto.
163 (AttachVector): Ditto.
164 (IncludeVector): Ditto.
166 * gm2-libs/SysStorage.mod (ALLOCATE): Ditto.
169 * gm2-libs-coroutines/Debug.def: Removed.
170 * gm2-libs-coroutines/Debug.mod: Removed.
172 2023-03-16 Gaius Mulley <gaiusmod2@gmail.com>
174 * Make-lang.in: Rename target-independent to
175 target-independent/m2.
176 * target-independent/readme.txt: Update.
177 * target-independent/m2/gm2-ebnf.texi: New file.
178 * target-independent/m2/gpl_v3_without_node.texi: New file.
179 * target-independent/Builtins.texi: Rename ...
180 * target-independent/m2/Builtins.texi: ... to this.
181 * target-independent/SYSTEM-iso.texi: Rename ...
182 * target-independent/m2/SYSTEM-iso.texi: ... to this.
183 * target-independent/SYSTEM-pim.texi: Rename ...
184 * target-independent/m2/SYSTEM-pim.texi: ... to this.
185 * target-independent/gm2-libs.texi: Rename ...
186 * target-independent/m2/gm2-libs.texi: ... to this.
188 2023-03-15 Gaius Mulley <gaiusmod2@gmail.com>
191 * gm2-libs-ch/dtoa.cc (dtoa_strtod): Replace int with bool.
192 * gm2-libs-ch/ldtoa.cc (ldtoa_strtold): Replace int with bool.
194 2023-03-14 Gaius Mulley <gaiusmod2@gmail.com>
197 * gm2-libs-ch/cgetopt.c (cgetopt_SetOption): Replace int
199 * gm2-libs-ch/termios.c (doSetUnset): Replace int for bool.
200 * gm2-libs/Builtins.mod (isfinitef): Correct typo in return
203 2023-03-13 Gaius Mulley <gaiusmod2@gmail.com>
206 * gm2-compiler/M2ALU.def (PushString): New parameter issueError.
207 * gm2-compiler/M2ALU.mod (PushString): New parameter issueError.
208 * gm2-compiler/SymbolTable.mod (PushString): New parameter issueError.
209 * gm2-gcc/m2decl.cc (m2decl_DetermineSizeOfConstant): Pass
210 location to interpret_m2_integer.
211 (m2decl_BuildConstLiteralNumber): New parameter issueError.
212 * gm2-gcc/m2expr.cc (m2expr_IsTrue): Replace int with bool.
213 (m2expr_IsFalse): Replace int with bool.
214 (m2expr_AreConstantsEqual): Replace int with bool.
215 (m2expr_BuildBinaryForeachWordDo): Call m2linemap_internal_error_at.
216 (append_digit): Ditto.
217 (m2expr_interpret_integer): Add location parameter.
218 (append_m2_digit): Call m2linemap_internal_error_at.
219 (m2expr_interpret_m2_integer): Add location parameter.
220 (m2expr_GetSizeOf): Replace sizeof with SIZE in error message.
221 * gm2-gcc/m2expr.h (m2expr_AreRealOrComplexConstantsEqual):
222 Replace int with bool.
223 (m2expr_AreConstantsEqual): Ditto.
224 (m2expr_IsFalse): Ditto.
225 (m2expr_IsTrue): Ditto.
226 (m2expr_interpret_integer): Add location parameter.
227 (m2expr_interpret_m2_integer): Add location parameter.
228 * gm2-gcc/m2linemap.cc (mformat_value): New function.
229 (expand_format): New function.
230 (expand_message): New function.
231 (gm2_internal_error_at): New function.
232 (m2linemap_internal_error_at): New function.
233 * gm2-gcc/m2linemap.h (m2linemap_internal_error_at): New function.
234 * gm2-gcc/m2options.h (M2Options_SetISO): Replace int with bool.
235 (M2Options_SetPIM): Ditto.
236 (M2Options_SetPIM2): Ditto.
237 (M2Options_SetPIM3): Ditto.
238 (M2Options_SetPIM4): Ditto.
239 (M2Options_SetFloatValueCheck): Ditto.
240 (M2Options_SetWholeValueCheck): Ditto.
241 (M2Options_GetISO): Ditto.
242 (M2Options_GetPIM): Ditto.
243 (M2Options_GetPIM2): Ditto.
244 (M2Options_GetPIM3): Ditto.
245 (M2Options_GetPIM4): Ditto.
246 (M2Options_GetPositiveModFloor): Ditto.
247 (M2Options_GetFloatValueCheck): Ditto.
248 (M2Options_GetWholeValueCheck): Ditto.
249 (M2Options_Setc): Ditto.
250 (M2Options_Getc): Ditto.
251 (M2Options_SetPPOnly): Ditto.
252 (M2Options_GetPPOnly): Ditto.
253 (M2Options_SetUselist): Ditto.
254 (M2Options_SetAutoInit): Ditto.
255 (M2Options_SetPositiveModFloor): Ditto.
256 (M2Options_SetNilCheck): Ditto.
257 (M2Options_SetWholeDiv): Ditto.
258 (M2Options_SetIndex): Ditto.
259 (M2Options_SetRange): Ditto.
260 (M2Options_SetReturnCheck): Ditto.
261 (M2Options_SetCaseCheck): Ditto.
262 (M2Options_SetCheckAll): Ditto.
263 (M2Options_SetExceptions): Ditto.
264 (M2Options_SetStyle): Ditto.
265 (M2Options_SetPedantic): Ditto.
266 (M2Options_SetPedanticParamNames): Ditto.
267 (M2Options_SetPedanticCast): Ditto.
268 (M2Options_SetExtendedOpaque): Ditto.
269 (M2Options_SetVerboseUnbounded): Ditto.
270 (M2Options_SetXCode): Ditto.
271 (M2Options_SetCompilerDebugging): Ditto.
272 (M2Options_SetQuadDebugging): Ditto.
273 (M2Options_SetDebugTraceQuad): Ditto.
274 (M2Options_SetDebugTraceAPI): Ditto.
275 (M2Options_SetSources): Ditto.
276 (M2Options_SetUnboundedByReference): Ditto.
277 (M2Options_SetDumpSystemExports): Ditto.
278 (M2Options_SetOptimizing): Ditto.
279 (M2Options_SetQuiet): Ditto.
280 (M2Options_SetCC1Quiet): Ditto.
281 (M2Options_SetCpp): Ditto.
282 (M2Options_SetSwig): Ditto.
283 (M2Options_SetWholeProgram): Ditto.
284 (M2Options_SetDebugFunctionLineNumbers): Ditto.
285 (M2Options_SetGenerateStatementNote): Ditto.
286 (M2Options_GetCpp): Ditto.
287 (M2Options_GetM2g): Ditto.
288 (M2Options_SetM2g): Ditto.
289 (M2Options_SetLowerCaseKeywords): Ditto.
290 (M2Options_SetVerbose): Ditto.
291 (M2Options_SetUnusedVariableChecking): Ditto.
292 (M2Options_SetUnusedParameterChecking): Ditto.
293 (M2Options_SetStrictTypeChecking): Ditto.
294 (M2Options_SetWall): Ditto.
295 (M2Options_SetSaveTemps): Ditto.
296 (M2Options_GetSaveTemps): Ditto.
297 (M2Options_SetScaffoldStatic): Ditto.
298 (M2Options_SetScaffoldDynamic): Ditto.
299 (M2Options_SetScaffoldMain): Ditto.
300 (M2Options_SetGenModuleList): Ditto.
301 (M2Options_SetShared): Ditto.
302 * gm2-libs-ch/M2LINK.c: Ditto.
303 * gm2-libs-ch/m2rts.h (M2RTS_RequestDependant): Replace
304 const char * with const void *.
305 (M2RTS_RegisterModule): Ditto.
306 (M2RTS_ConstructModules): Ditto.
307 * gm2-gcc/m2decl.def (DetermineSizeOfConstant): New parameter
309 * gm2-gcc/m2decl.h (DetermineSizeOfConstant): New parameter
312 2023-03-12 Gaius Mulley <gaiusmod2@gmail.com>
315 * gm2-compiler/M2GCCDeclare.mod (DeclareKnownType): Import.
316 * gm2-gcc/gcc-consolidation.h (stdbool.h): Include.
317 * gm2-gcc/init.h (defined): Change block start.
318 * gm2-gcc/m2block.cc: Change FALSE to false, change TRUE to true.
319 * gm2-gcc/m2block.h: Change int to bool.
320 * gm2-gcc/m2builtins.cc: Ditto.
321 * gm2-gcc/m2builtins.h: Ditto.
322 * gm2-gcc/m2convert.cc: Change FALSE to false, TRUE to true and
324 * gm2-gcc/m2convert.h: Change int to bool.
325 * gm2-gcc/m2decl.cc: Change int to bool.
326 * gm2-gcc/m2decl.h: Change int to bool.
327 * gm2-gcc/m2expr.cc: Change FALSE to false, TRUE to true and
329 * gm2-gcc/m2expr.h: Change int to bool.
330 * gm2-gcc/m2statement.cc: Change FALSE to false, TRUE to true and
332 * gm2-gcc/m2statement.h: Change int to bool.
333 * gm2-gcc/m2top.cc: Change int to bool.
334 * gm2-gcc/m2top.h: Change int to bool.
335 * gm2-gcc/m2tree.cc: Change int to bool.
336 * gm2-gcc/m2tree.h: Change int to bool.
337 * gm2-gcc/m2type.cc: Change int to bool.
338 * gm2-gcc/m2type.h: Change int to bool.
339 * gm2-lang.cc (convert_loc): Call convert_to_integer for BOOLEAN_TYPE.
340 * gm2-libs/Builtins.def (isfinitef): Change return value from
344 * gm2-libs/Builtins.mod (isfinitef): Change return value from
348 * mc-boot/GASCII.cc: Rebuild.
349 * mc-boot/GASCII.h: Rebuild.
350 * mc-boot/GArgs.cc: Rebuild.
351 * mc-boot/GArgs.h: Rebuild.
352 * mc-boot/GAssertion.cc: Rebuild.
353 * mc-boot/GAssertion.h: Rebuild.
354 * mc-boot/GBreak.cc: Rebuild.
355 * mc-boot/GBreak.h: Rebuild.
356 * mc-boot/GCOROUTINES.h: Rebuild.
357 * mc-boot/GCmdArgs.cc: Rebuild.
358 * mc-boot/GCmdArgs.h: Rebuild.
359 * mc-boot/GDebug.cc: Rebuild.
360 * mc-boot/GDebug.h: Rebuild.
361 * mc-boot/GDynamicStrings.cc: Rebuild.
362 * mc-boot/GDynamicStrings.h: Rebuild.
363 * mc-boot/GEnvironment.cc: Rebuild.
364 * mc-boot/GEnvironment.h: Rebuild.
365 * mc-boot/GFIO.cc: Rebuild.
366 * mc-boot/GFIO.h: Rebuild.
367 * mc-boot/GFormatStrings.cc: Rebuild.
368 * mc-boot/GFormatStrings.h: Rebuild.
369 * mc-boot/GFpuIO.cc: Rebuild.
370 * mc-boot/GFpuIO.h: Rebuild.
371 * mc-boot/GIO.cc: Rebuild.
372 * mc-boot/GIO.h: Rebuild.
373 * mc-boot/GIndexing.cc: Rebuild.
374 * mc-boot/GIndexing.h: Rebuild.
375 * mc-boot/GM2Dependent.cc: Rebuild.
376 * mc-boot/GM2Dependent.h: Rebuild.
377 * mc-boot/GM2EXCEPTION.cc: Rebuild.
378 * mc-boot/GM2EXCEPTION.h: Rebuild.
379 * mc-boot/GM2LINK.h: Rebuild.
380 * mc-boot/GM2RTS.cc: Rebuild.
381 * mc-boot/GM2RTS.h: Rebuild.
382 * mc-boot/GMemUtils.cc: Rebuild.
383 * mc-boot/GMemUtils.h: Rebuild.
384 * mc-boot/GNumberIO.cc: Rebuild.
385 * mc-boot/GNumberIO.h: Rebuild.
386 * mc-boot/GPushBackInput.cc: Rebuild.
387 * mc-boot/GPushBackInput.h: Rebuild.
388 * mc-boot/GRTExceptions.cc: Rebuild.
389 * mc-boot/GRTExceptions.h: Rebuild.
390 * mc-boot/GRTco.h: Rebuild.
391 * mc-boot/GRTentity.h: Rebuild.
392 * mc-boot/GRTint.cc: Rebuild.
393 * mc-boot/GRTint.h: Rebuild.
394 * mc-boot/GSArgs.cc: Rebuild.
395 * mc-boot/GSArgs.h: Rebuild.
396 * mc-boot/GSFIO.cc: Rebuild.
397 * mc-boot/GSFIO.h: Rebuild.
398 * mc-boot/GSYSTEM.h: Rebuild.
399 * mc-boot/GSelective.h: Rebuild.
400 * mc-boot/GStdIO.cc: Rebuild.
401 * mc-boot/GStdIO.h: Rebuild.
402 * mc-boot/GStorage.cc: Rebuild.
403 * mc-boot/GStorage.h: Rebuild.
404 * mc-boot/GStrCase.cc: Rebuild.
405 * mc-boot/GStrCase.h: Rebuild.
406 * mc-boot/GStrIO.cc: Rebuild.
407 * mc-boot/GStrIO.h: Rebuild.
408 * mc-boot/GStrLib.cc: Rebuild.
409 * mc-boot/GStrLib.h: Rebuild.
410 * mc-boot/GStringConvert.cc: Rebuild.
411 * mc-boot/GStringConvert.h: Rebuild.
412 * mc-boot/GSysExceptions.h: Rebuild.
413 * mc-boot/GSysStorage.cc: Rebuild.
414 * mc-boot/GSysStorage.h: Rebuild.
415 * mc-boot/GTimeString.cc: Rebuild.
416 * mc-boot/GTimeString.h: Rebuild.
417 * mc-boot/GUnixArgs.h: Rebuild.
418 * mc-boot/Galists.cc: Rebuild.
419 * mc-boot/Galists.h: Rebuild.
420 * mc-boot/Gdecl.cc: Rebuild.
421 * mc-boot/Gdecl.h: Rebuild.
422 * mc-boot/Gdtoa.h: Rebuild.
423 * mc-boot/Gerrno.h: Rebuild.
424 * mc-boot/Gkeyc.cc: Rebuild.
425 * mc-boot/Gkeyc.h: Rebuild.
426 * mc-boot/Gldtoa.h: Rebuild.
427 * mc-boot/Glibc.h: Rebuild.
428 * mc-boot/Glibm.h: Rebuild.
429 * mc-boot/Glists.cc: Rebuild.
430 * mc-boot/Glists.h: Rebuild.
431 * mc-boot/GmcComment.cc: Rebuild.
432 * mc-boot/GmcComment.h: Rebuild.
433 * mc-boot/GmcComp.cc: Rebuild.
434 * mc-boot/GmcComp.h: Rebuild.
435 * mc-boot/GmcDebug.cc: Rebuild.
436 * mc-boot/GmcDebug.h: Rebuild.
437 * mc-boot/GmcError.cc: Rebuild.
438 * mc-boot/GmcError.h: Rebuild.
439 * mc-boot/GmcFileName.cc: Rebuild.
440 * mc-boot/GmcFileName.h: Rebuild.
441 * mc-boot/GmcLexBuf.cc: Rebuild.
442 * mc-boot/GmcLexBuf.h: Rebuild.
443 * mc-boot/GmcMetaError.cc: Rebuild.
444 * mc-boot/GmcMetaError.h: Rebuild.
445 * mc-boot/GmcOptions.cc: Rebuild.
446 * mc-boot/GmcOptions.h: Rebuild.
447 * mc-boot/GmcPreprocess.cc: Rebuild.
448 * mc-boot/GmcPreprocess.h: Rebuild.
449 * mc-boot/GmcPretty.cc: Rebuild.
450 * mc-boot/GmcPretty.h: Rebuild.
451 * mc-boot/GmcPrintf.cc: Rebuild.
452 * mc-boot/GmcPrintf.h: Rebuild.
453 * mc-boot/GmcQuiet.cc: Rebuild.
454 * mc-boot/GmcQuiet.h: Rebuild.
455 * mc-boot/GmcReserved.cc: Rebuild.
456 * mc-boot/GmcReserved.h: Rebuild.
457 * mc-boot/GmcSearch.cc: Rebuild.
458 * mc-boot/GmcSearch.h: Rebuild.
459 * mc-boot/GmcStack.cc: Rebuild.
460 * mc-boot/GmcStack.h: Rebuild.
461 * mc-boot/GmcStream.cc: Rebuild.
462 * mc-boot/GmcStream.h: Rebuild.
463 * mc-boot/Gmcflex.h: Rebuild.
464 * mc-boot/Gmcp1.cc: Rebuild.
465 * mc-boot/Gmcp1.h: Rebuild.
466 * mc-boot/Gmcp2.cc: Rebuild.
467 * mc-boot/Gmcp2.h: Rebuild.
468 * mc-boot/Gmcp3.cc: Rebuild.
469 * mc-boot/Gmcp3.h: Rebuild.
470 * mc-boot/Gmcp4.cc: Rebuild.
471 * mc-boot/Gmcp4.h: Rebuild.
472 * mc-boot/Gmcp5.cc: Rebuild.
473 * mc-boot/Gmcp5.h: Rebuild.
474 * mc-boot/GnameKey.cc: Rebuild.
475 * mc-boot/GnameKey.h: Rebuild.
476 * mc-boot/GsymbolKey.cc: Rebuild.
477 * mc-boot/GsymbolKey.h: Rebuild.
478 * mc-boot/Gtermios.h: Rebuild.
479 * mc-boot/Gtop.cc: Rebuild.
480 * mc-boot/Gvarargs.cc: Rebuild.
481 * mc-boot/Gvarargs.h: Rebuild.
482 * mc-boot/Gwlists.cc: Rebuild.
483 * mc-boot/Gwlists.h: Rebuild.
484 * mc-boot/Gwrapc.h: Rebuild.
485 * mc/decl.mod (doBoolC): New procedure.
486 (doBaseC): Call doBoolC.
487 * mc/keyc.mod: Import useBool.
488 (genBool): New procedure.
489 (genDefs): Call genBool.
490 * mc/mcOptions.def (useBool): New procedure.
491 * mc/mcOptions.mod (useBool): New procedure.
492 (useBoolType): New variable.
493 (optionIs): Assign useBoolType to TRUE.
495 2023-03-04 Gaius Mulley <gaiusmod2@gmail.com>
497 * mc-boot-ch/GBuiltins.cc: New file.
498 * mc-boot-ch/Gdtoa.cc: New file.
499 * mc-boot-ch/Gerrno.cc: New file.
500 * mc-boot-ch/Gldtoa.cc: New file.
501 * mc-boot-ch/Gm2rtsdummy.cc: New file.
502 * mc-boot/GASCII.cc: New file.
503 * mc-boot/GArgs.cc: New file.
504 * mc-boot/GAssertion.cc: New file.
505 * mc-boot/GBreak.cc: New file.
506 * mc-boot/GCmdArgs.cc: New file.
507 * mc-boot/GDebug.cc: New file.
508 * mc-boot/GDynamicStrings.cc: New file.
509 * mc-boot/GEnvironment.cc: New file.
510 * mc-boot/GFIO.cc: New file.
511 * mc-boot/GFormatStrings.cc: New file.
512 * mc-boot/GFpuIO.cc: New file.
513 * mc-boot/GIO.cc: New file.
514 * mc-boot/GIndexing.cc: New file.
515 * mc-boot/GM2Dependent.cc: New file.
516 * mc-boot/GM2EXCEPTION.cc: New file.
517 * mc-boot/GM2RTS.cc: New file.
518 * mc-boot/GMemUtils.cc: New file.
519 * mc-boot/GNumberIO.cc: New file.
520 * mc-boot/GPushBackInput.cc: New file.
521 * mc-boot/GRTExceptions.cc: New file.
522 * mc-boot/GRTint.cc: New file.
523 * mc-boot/GSArgs.cc: New file.
524 * mc-boot/GSFIO.cc: New file.
525 * mc-boot/GStdIO.cc: New file.
526 * mc-boot/GStorage.cc: New file.
527 * mc-boot/GStrCase.cc: New file.
528 * mc-boot/GStrIO.cc: New file.
529 * mc-boot/GStrLib.cc: New file.
530 * mc-boot/GStringConvert.cc: New file.
531 * mc-boot/GSysStorage.cc: New file.
532 * mc-boot/GTimeString.cc: New file.
533 * mc-boot/Galists.cc: New file.
534 * mc-boot/Gdecl.cc: New file.
535 * mc-boot/Gkeyc.cc: New file.
536 * mc-boot/Glists.cc: New file.
537 * mc-boot/GmcComment.cc: New file.
538 * mc-boot/GmcComp.cc: New file.
539 * mc-boot/GmcDebug.cc: New file.
540 * mc-boot/GmcError.cc: New file.
541 * mc-boot/GmcFileName.cc: New file.
542 * mc-boot/GmcLexBuf.cc: New file.
543 * mc-boot/GmcMetaError.cc: New file.
544 * mc-boot/GmcOptions.cc: New file.
545 * mc-boot/GmcPreprocess.cc: New file.
546 * mc-boot/GmcPretty.cc: New file.
547 * mc-boot/GmcPrintf.cc: New file.
548 * mc-boot/GmcQuiet.cc: New file.
549 * mc-boot/GmcReserved.cc: New file.
550 * mc-boot/GmcSearch.cc: New file.
551 * mc-boot/GmcStack.cc: New file.
552 * mc-boot/GmcStream.cc: New file.
553 * mc-boot/Gmcp1.cc: New file.
554 * mc-boot/Gmcp2.cc: New file.
555 * mc-boot/Gmcp3.cc: New file.
556 * mc-boot/Gmcp4.cc: New file.
557 * mc-boot/Gmcp5.cc: New file.
558 * mc-boot/GnameKey.cc: New file.
559 * mc-boot/GsymbolKey.cc: New file.
560 * mc-boot/Gtop.cc: New file.
561 * mc-boot/Gvarargs.cc: New file.
562 * mc-boot/Gwlists.cc: New file.
563 * pge-boot/GASCII.cc: New file.
564 * pge-boot/GArgs.cc: New file.
565 * pge-boot/GAssertion.cc: New file.
566 * pge-boot/GBuiltins.cc: New file.
567 * pge-boot/GDebug.cc: New file.
568 * pge-boot/GDynamicStrings.cc: New file.
569 * pge-boot/GFIO.cc: New file.
570 * pge-boot/GIO.cc: New file.
571 * pge-boot/GIndexing.cc: New file.
572 * pge-boot/GLists.cc: New file.
573 * pge-boot/GM2Dependent.cc: New file.
574 * pge-boot/GM2EXCEPTION.cc: New file.
575 * pge-boot/GM2LINK.cc: New file.
576 * pge-boot/GM2RTS.cc: New file.
577 * pge-boot/GNameKey.cc: New file.
578 * pge-boot/GNumberIO.cc: New file.
579 * pge-boot/GOutput.cc: New file.
580 * pge-boot/GPushBackInput.cc: New file.
581 * pge-boot/GRTExceptions.cc: New file.
582 * pge-boot/GRTco.cc: New file.
583 * pge-boot/GSFIO.cc: New file.
584 * pge-boot/GSYSTEM.cc: New file.
585 * pge-boot/GSelective.cc: New file.
586 * pge-boot/GStdIO.cc: New file.
587 * pge-boot/GStorage.cc: New file.
588 * pge-boot/GStrCase.cc: New file.
589 * pge-boot/GStrIO.cc: New file.
590 * pge-boot/GStrLib.cc: New file.
591 * pge-boot/GSymbolKey.cc: New file.
592 * pge-boot/GSysExceptions.cc: New file.
593 * pge-boot/GSysStorage.cc: New file.
594 * pge-boot/Gabort.cc: New file.
595 * pge-boot/Gbnflex.cc: New file.
596 * pge-boot/Gcbuiltin.cc: New file.
597 * pge-boot/Gdtoa.cc: New file.
598 * pge-boot/Gerrno.cc: New file.
599 * pge-boot/Gldtoa.cc: New file.
600 * pge-boot/Glibc.cc: New file.
601 * pge-boot/Glibm.cc: New file.
602 * pge-boot/Gmcrts.cc: New file.
603 * pge-boot/Gpge.cc: New file.
604 * pge-boot/Gwrapc.cc: New file.
605 * pge-boot/main.cc: New file.
606 * pge-boot/network.cc: New file.
608 2023-03-04 Gaius Mulley <gaiusmod2@gmail.com>
610 * Make-lang.in (MC-LIB-BOOT-C): Rename to MC-LIB-BOOT-CC.
611 (MC-BOOT-C): Rename to MC-BOOT-CC.
612 (BUILD-MC-BOOT-C): Rename to BUILD-MC-BOOT-CC.
613 (BUILD-MC-BOOT-AUTO-C): Rename to BUILD-MC-BOOT-AUTO-CC.
614 (m2/mc-boot/$(SRC_PREFIX)%.o): Change source file extension to .cc.
615 (m2/mc-boot-ch/$(SRC_PREFIX)%.o): Ditto.
616 * Make-maintainer.in (m2/gm2-ppg-boot/$(SRC_PREFIX)%.o): Change
617 source file extension to .cc.
618 (m2/gm2-ppg-boot/main.o): Ditto.
619 (m2/gm2-ppg-boot/$(SRC_PREFIX)%.o): Ditto.
621 (m2/gm2-pg-boot/main.o): Ditto.
622 (m2/gm2-pge-boot/$(SRC_PREFIX)ldtoa.o): Ditto.
623 (m2/gm2-pge-boot/$(SRC_PREFIX)dtoa.o): Ditto.
624 (m2/gm2-pge-boot/$(SRC_PREFIX)errno.o): Ditto.
625 (m2/gm2-pge-boot/$(SRC_PREFIX)M2RTS.o): Ditto.
626 (m2/gm2-pge-boot/$(SRC_PREFIX)%.o): Ditto.
627 (m2/gm2-pge-boot/$(SRC_PREFIX)%.o): Ditto.
628 (m2/gm2-pge-boot/$(SRC_PREFIX)pge.o): Ditto.
629 (m2/gm2-pge-boot/main.o): Ditto.
633 ((objdir)/m2/mc-boot-gen): Ditto.
634 (m2/mc-boot-gen/$(SRC_PREFIX)decl.c): Ditto.
635 (m2/mc-boot-gen/$(SRC_PREFIX)%.c): Ditto.
636 * mc-boot-ch/GBuiltins.c: Correct comment and rename.
637 * mc-boot-ch/Gdtoa.c: Correct comment and rename.
638 * mc-boot-ch/Gldtoa.c: Correct comment and rename
639 * mc-boot-ch/Gtermios.cc: Rename from Gtermios.c.
640 * mc-boot-ch/Gerrno.c: Rename.
641 * mc-boot-ch/GRTco.c: Removed.
642 * mc-boot/GASCII.c: Rename to mc-boot/GASCII.cc.
643 * mc-boot/GArgs.c: Rename to mc-boot/GArgs.cc.
644 * mc-boot/GAssertion.c: Rename to mc-boot/GAssertion.cc.
645 * mc-boot/GBreak.c: Rename to mc-boot/GBreak.cc.
646 * mc-boot/GCmdArgs.c: Rename to mc-boot/GCmdArgs.cc.
647 * mc-boot/GDebug.c: Rename to mc-boot/GDebug.cc.
648 * mc-boot/GDynamicStrings.c: Rename to mc-boot/GDynamicStrings.cc.
649 * mc-boot/GEnvironment.c: Rename to mc-boot/GEnvironment.cc.
650 * mc-boot/GFIO.c: Rename to mc-boot/GFIO.cc.
651 * mc-boot/GFormatStrings.c: Rename to mc-boot/GFormatStrings.cc.
652 * mc-boot/GFpuIO.c: Rename to mc-boot/GFpuIO.cc.
653 * mc-boot/GIO.c: Rename to mc-boot/GIO.cc.
654 * mc-boot/GIndexing.c: Rename to mc-boot/GIndexing.cc.
655 * mc-boot/GM2Dependent.c: Rename to mc-boot/GM2Dependent.cc.
656 * mc-boot/GM2EXCEPTION.c: Rename to mc-boot/GM2EXCEPTION.cc.
657 * mc-boot/GM2RTS.c: Rename to mc-boot/GM2RTS.cc.
658 * mc-boot/GMemUtils.c: Rename to mc-boot/GMemUtils.cc.
659 * mc-boot/GNumberIO.c: Rename to mc-boot/GNumberIO.cc.
660 * mc-boot/GPushBackInput.c: Rename to mc-boot/GPushBackInput.cc.
661 * mc-boot/GRTExceptions.c: Rename to mc-boot/GRTExceptions.cc.
662 * mc-boot/GRTint.c: Rename to mc-boot/GRTint.cc.
663 * mc-boot/GSArgs.c: Rename to mc-boot/GSArgs.cc.
664 * mc-boot/GSFIO.c: Rename to mc-boot/GSFIO.cc.
665 * mc-boot/GStdIO.c: Rename to mc-boot/GStdIO.cc.
666 * mc-boot/GStorage.c: Rename to mc-boot/GStorage.cc.
667 * mc-boot/GStrCase.c: Rename to mc-boot/GStrCase.cc.
668 * mc-boot/GStrIO.c: Rename to mc-boot/GStrIO.cc.
669 * mc-boot/GStrLib.c: Rename to mc-boot/GStrLib.cc.
670 * mc-boot/GStringConvert.c: Rename to mc-boot/GStringConvert.cc.
671 * mc-boot/GSysStorage.c: Rename to mc-boot/GSysStorage.cc.
672 * mc-boot/GTimeString.c: Rename to mc-boot/GTimeString.cc.
673 * mc-boot/Galists.c: Rename to mc-boot/Galists.cc.
674 * mc-boot/Gdecl.c: Rename to mc-boot/Gdecl.cc.
675 * mc-boot/Gkeyc.c: Rename to mc-boot/Gkeyc.cc.
676 * mc-boot/Glists.c: Rename to mc-boot/Glists.cc.
677 * mc-boot/GmcComment.c: Rename to mc-boot/GmcComment.cc.
678 * mc-boot/GmcComp.c: Rename to mc-boot/GmcComp.cc.
679 * mc-boot/GmcDebug.c: Rename to mc-boot/GmcDebug.cc.
680 * mc-boot/GmcError.c: Rename to mc-boot/GmcError.cc.
681 * mc-boot/GmcFileName.c: Rename to mc-boot/GmcFileName.cc.
682 * mc-boot/GmcLexBuf.c: Rename to mc-boot/GmcLexBuf.cc.
683 * mc-boot/GmcMetaError.c: Rename to mc-boot/GmcMetaError.cc.
684 * mc-boot/GmcOptions.c: Rename to mc-boot/GmcOptions.cc.
685 * mc-boot/GmcPreprocess.c: Rename to mc-boot/GmcPreprocess.cc.
686 * mc-boot/GmcPretty.c: Rename to mc-boot/GmcPretty.cc.
687 * mc-boot/GmcPrintf.c: Rename to mc-boot/GmcPrintf.cc.
688 * mc-boot/GmcQuiet.c: Rename to mc-boot/GmcQuiet.cc.
689 * mc-boot/GmcReserved.c: Rename to mc-boot/GmcReserved.cc.
690 * mc-boot/GmcSearch.c: Rename to mc-boot/GmcSearch.cc.
691 * mc-boot/GmcStack.c: Rename to mc-boot/GmcStack.cc.
692 * mc-boot/GmcStream.c: Rename to mc-boot/GmcStream.cc.
693 * mc-boot/Gmcp1.c: Rename to mc-boot/Gmcp1.cc.
694 * mc-boot/Gmcp2.c: Rename to mc-boot/Gmcp2.cc.
695 * mc-boot/Gmcp3.c: Rename to mc-boot/Gmcp3.cc.
696 * mc-boot/Gmcp4.c: Rename to mc-boot/Gmcp4.cc.
697 * mc-boot/Gmcp5.c: Rename to mc-boot/Gmcp5.cc.
698 * mc-boot/GnameKey.c: Rename to mc-boot/GnameKey.cc.
699 * mc-boot/GsymbolKey.c: Rename to mc-boot/GsymbolKey.cc.
700 * mc-boot/Gtop.c: Rename to mc-boot/Gtop.cc.
701 * mc-boot/Gvarargs.c: Rename to mc-boot/Gvarargs.cc.
702 * mc-boot/Gwlists.c: Rename to mc-boot/Gwlists.cc.
703 * pge-boot/GASCII.c: Rename to pge-boot/GASCII.cc.
704 * pge-boot/GArgs.c: Rename to pge-boot/GArgs.cc.
705 * pge-boot/GAssertion.c: Rename to pge-boot/GAssertion.cc.
706 * pge-boot/GBuiltins.c: Rename to pge-boot/GBuiltins.cc.
707 * pge-boot/GDebug.c: Rename to pge-boot/GDebug.cc.
708 * pge-boot/GDynamicStrings.c: Rename to pge-boot/GDynamicStrings.cc.
709 * pge-boot/GFIO.c: Rename to pge-boot/GFIO.cc.
710 * pge-boot/GIO.c: Rename to pge-boot/GIO.cc.
711 * pge-boot/GIndexing.c: Rename to pge-boot/GIndexing.cc.
712 * pge-boot/GLists.c: Rename to pge-boot/GLists.cc.
713 * pge-boot/GM2Dependent.c: Rename to pge-boot/GM2Dependent.cc.
714 * pge-boot/GM2EXCEPTION.c: Rename to pge-boot/GM2EXCEPTION.cc.
715 * pge-boot/GM2LINK.c: Rename to pge-boot/GM2LINK.cc.
716 * pge-boot/GM2RTS.c: Rename to pge-boot/GM2RTS.cc.
717 * pge-boot/GNameKey.c: Rename to pge-boot/GNameKey.cc.
718 * pge-boot/GNumberIO.c: Rename to pge-boot/GNumberIO.cc.
719 * pge-boot/GOutput.c: Rename to pge-boot/GOutput.cc.
720 * pge-boot/GPushBackInput.c: Rename to pge-boot/GPushBackInput.cc.
721 * pge-boot/GRTExceptions.c: Rename to pge-boot/GRTExceptions.cc.
722 * pge-boot/GRTco.c: Rename to pge-boot/GRTco.cc.
723 * pge-boot/GSFIO.c: Rename to pge-boot/GSFIO.cc.
724 * pge-boot/GSYSTEM.c: Rename to pge-boot/GSYSTEM.cc.
725 * pge-boot/GSelective.c: Rename to pge-boot/GSelective.cc.
726 * pge-boot/GStdIO.c: Rename to pge-boot/GStdIO.cc.
727 * pge-boot/GStorage.c: Rename to pge-boot/GStorage.cc.
728 * pge-boot/GStrCase.c: Rename to pge-boot/GStrCase.cc.
729 * pge-boot/GStrIO.c: Rename to pge-boot/GStrIO.cc.
730 * pge-boot/GStrLib.c: Rename to pge-boot/GStrLib.cc.
731 * pge-boot/GSymbolKey.c: Rename to pge-boot/GSymbolKey.cc.
732 * pge-boot/GSysExceptions.c: Rename to pge-boot/GSysExceptions.cc.
733 * pge-boot/GSysStorage.c: Rename to pge-boot/GSysStorage.cc.
734 * pge-boot/Gabort.c: Rename to pge-boot/Gabort.cc.
735 * pge-boot/Gbnflex.c: Rename to pge-boot/Gbnflex.cc.
736 * pge-boot/Gcbuiltin.c: Rename to pge-boot/Gcbuiltin.cc.
737 * pge-boot/Gdtoa.c: Rename to pge-boot/Gdtoa.cc.
738 * pge-boot/Gerrno.c: Rename to pge-boot/Gerrno.cc.
739 * pge-boot/Gldtoa.c: Rename to pge-boot/Gldtoa.cc.
740 * pge-boot/Glibc.c: Rename to pge-boot/Glibc.cc.
741 * pge-boot/Glibm.c: Rename to pge-boot/Glibm.cc.
742 * pge-boot/Gmcrts.c: Rename to pge-boot/Gmcrts.cc.
743 * pge-boot/Gpge.c: Rename to pge-boot/Gpge.cc.
744 * pge-boot/Gwrapc.c: Rename to pge-boot/Gwrapc.cc.
745 * pge-boot/README: Correct description.
746 * pge-boot/main.c: Rename to pge-boot/main.cc.
747 * pge-boot/network.c: Rename to pge-boot/network.cc.
749 2023-02-28 Gaius Mulley <gaiusmod2@gmail.com>
752 * Make-lang.in (m2/gm2-libs-boot/M2RTS.o): New specific rule to
753 add the --suppress-noreturn option.
754 * Make-maintainer.in (m2/gm2-ppg-boot/$(SRC_PREFIX)M2RTS.o): New
755 specific rule to add the --suppress-noreturn option.
756 (m2/gm2-pg-boot/$(SRC_PREFIX)M2RTS.o): New
757 specific rule to add the --suppress-noreturn option.
758 (m2/gm2-pg-boot/$(SRC_PREFIX)%.o): Add missing $(srcdir).
759 (m2/gm2-pge-boot/$(SRC_PREFIX)M2RTS.o): New
760 specific rule to add the --suppress-noreturn option.
761 (m2/gm2-pge-boot/$(SRC_PREFIX)%.o): Add missing $(srcdir).
762 * gm2-libs-ch/UnixArgs.cc (LIBNAME): New define.
763 (_M2_UnixArgs_ctor): Add LIBNAME parameter to RegisterModule.
764 * gm2-libs-ch/dtoa.cc (LIBNAME): New define.
765 (_M2_dtoa_ctor): Add LIBNAME parameter to RegisterModule.
766 * gm2-libs-ch/ldtoa.cc (LIBNAME): New define.
767 (_M2_ldtoa_ctor): Add LIBNAME parameter to RegisterModule.
768 * pge-boot/m2rts.h (M2RTS_RegisterModule): Add libname
770 * gm2-libs-ch/m2rts.h (M2RTS_RegisterModule): Add libname
772 * mc-boot-ch/GUnixArgs.cc (_M2_UnixArgs_ctor): Remove.
773 * pge-boot/GUnixArgs.cc (LIBNAME): New define.
774 (_M2_UnixArgs_ctor): Add LIBNAME parameter to RegisterModule.
775 * gm2-libs/RTint.def (AttachVector): Rename parameter.
776 * mc-boot/GDynamicStrings.c: Rebuilt.
777 * mc-boot/GFIO.c: Rebuilt.
778 * mc-boot/GIndexing.c: Rebuilt.
779 * mc-boot/GM2EXCEPTION.c: Rebuilt.
780 * mc-boot/GPushBackInput.c: Rebuilt.
781 * mc-boot/GRTExceptions.c: Rebuilt.
782 * mc-boot/GRTint.c: Rebuilt.
783 * mc-boot/GRTint.h: Rebuilt.
784 * mc-boot/GStdIO.c: Rebuilt.
785 * mc-boot/GStringConvert.c: Rebuilt.
786 * mc-boot/GSysStorage.c: Rebuilt.
787 * mc-boot/Gdecl.c: Rebuilt.
788 * mc-boot/Gkeyc.c: Rebuilt.
789 * mc-boot/GmcComment.c: Rebuilt.
790 * mc-boot/GmcComp.c: Rebuilt.
791 * mc-boot/GmcDebug.c: Rebuilt.
792 * mc-boot/GmcMetaError.c: Rebuilt.
793 * mc-boot/GmcOptions.c: Rebuilt.
794 * mc-boot/GmcOptions.h: Rebuilt.
795 * mc-boot/GmcStack.c: Rebuilt.
796 * mc-boot/GnameKey.c: Rebuilt.
797 * mc-boot/GsymbolKey.c: Rebuilt.
798 * mc/decl.mod:: Rebuilt.
799 * mc/mcOptions.def: Rebuilt.
800 * mc/mcOptions.mod:: Rebuilt.
801 * pge-boot/GDynamicStrings.c: Rebuilt.
802 * pge-boot/GFIO.c: Rebuilt.
803 * pge-boot/GIndexing.c: Rebuilt.
804 * pge-boot/GM2EXCEPTION.c: Rebuilt.
805 * pge-boot/GM2RTS.c: Rebuilt.
806 * pge-boot/GNameKey.c: Rebuilt.
807 * pge-boot/GPushBackInput.c: Rebuilt.
808 * pge-boot/GRTExceptions.c: Rebuilt.
809 * pge-boot/GStdIO.c: Rebuilt.
810 * pge-boot/GSymbolKey.c: Rebuilt.
811 * pge-boot/GSysStorage.c: Rebuilt.
813 2023-02-25 Gaius Mulley <gaiusmod2@gmail.com>
816 * Make-lang.in (GM2-COMP-BOOT-DEFS): DynamicStringPath.def
817 remove. DynamicPath.def add.
818 (GM2-COMP-BOOT-MODS): DynamicStringPath.mod remove.
820 * Make-maintainer.in (BUILD-BOOT-PPG-H): New dependency.
821 (m2/gm2-ppg-boot/$(SRC_PREFIX)%.o): $(BUILD-BOOT-PPG-H) Add
823 (PGE-DEF): New definition.
824 (BUILD-BOOT-PG-H): New dependency.
825 (m2/gm2-pg-boot/$(SRC_PREFIX)%.o): $(BUILD-BOOT-PG-H) Add
827 (BUILD-BOOT-PGE-H): New dependency.
828 (m2/gm2-pge-boot/$(SRC_PREFIX)%.o): $(BUILD-BOOT-PGE-H) Add
830 (GM2PATH): Add pathname entries.
831 (m2/boot-bin/mc-devel$(exeext)): Add m2/mc-boot-ch/Gm2rtsdummy.o
833 (m2/boot-bin/mc-opt$(exeext)): Fix -I path.
834 * gm2-compiler/DynamicStringPath.def: Renamed module to
836 (GetUserPath): Remove.
837 (GetSystemPath): Remove.
838 (SetUserPath): Remove.
839 (SetSystemPath): Remove.
840 (DumpPath): New procedure definition.
841 * gm2-compiler/DynamicStringPath.mod: Renamed module to
843 (GetUserPath): Remove.
844 (GetSystemPath): Remove.
845 (SetUserPath): Remove.
846 (SetSystemPath): Remove.
847 (DumpPath): Remove Debugging conditional.
848 * gm2-compiler/M2AsmUtil.mod: Import EqualArray, NulName and
850 (Debugging): New declaration.
851 (GetFullSymName): Re-implemented to prefix (mange) libname
852 to any extern variable/procedure which is IsExportQualified.
853 * gm2-compiler/M2Comp.mod (qprintLibName): New procedure.
854 * gm2-compiler/M2Graph.mod (resolveImports): Add libname.
855 * gm2-compiler/M2Options.def (SetM2Prefix): New procedure.
856 (GetM2Prefix): New procedure function.
857 (SetM2PathName): New procedure.
858 (GetM2PathName): New procedure function.
859 * gm2-compiler/M2Options.mod: (SetM2Prefix): New procedure implemented.
860 (GetM2Prefix): New procedure function implemented.
861 (SetM2PathName): New procedure implemented.
862 (GetM2PathName): New procedure function implemented.
863 (RuntimeModuleOverride): Set to DefaultRuntimeModuleOverride.
864 * gm2-compiler/M2Quads.mod: Import GetLibName.
865 (SafeRequestSym) Pass result of GetLibName to RequestDependant.
866 (callRequestDependant): Add libname as a parameter.
867 (BuildM2InitFunction): Add libname as a parameter.
868 (BuildM2FiniFunction): Add libname as a parameter.
869 (BuildM2CtorFunction): Add libname as a parameter.
870 * gm2-compiler/M2Scaffold.mod (LookupModuleSym): Set LibName
871 if a definition source was found.
872 * gm2-compiler/M2Search.def (FindSourceFile): Add named library parameter.
873 (FindSourceDefFile): Add named library parameter.
874 (FindSourceModFile): Add named library parameter.
875 * gm2-compiler/M2Search.mod (FindSourceFile): Reimplement.
876 (FindSourceDefFile): Add named library parameter.
877 (FindSourceModFile): Add named library parameter.
878 * gm2-compiler/SymbolTable.def (MakeProcedureCtorExtern): Add
880 (PutLibName): New procedure.
881 (GetLibName): New procedure function.
882 * gm2-compiler/SymbolTable.mod (MakeProcedureCtorExtern): Add
884 (GenName): Add libname parameter.
885 (InitCtorFields): Add moduleSym as a parameter.
886 (PutCtorExtern): Add libname parameter to GenName.
887 * gm2-gcc/init.cc (_M2_DynamicStringPath_init): Rename function...
888 (_M2_DynamicPath_init): ...to this.
889 (_M2_PathName_init): Added.
890 * gm2-gcc/m2decl.cc (m2decl_DeclareM2linkStaticInitialization):
891 Add m2pim as the manged component of the exported symbol.
892 (m2decl_DeclareM2linkForcedModuleInitOrder): Add m2pim mangle prefix.
893 * gm2-gcc/m2options.h (M2Options_SetM2Prefix): New function.
894 (M2Options_GetM2Prefix): New function.
895 (M2Options_SetM2PathName): New function.
896 (M2Options_GetM2PathName): New function.
897 * gm2-lang.cc (push_back_Ipath): New function.
898 (add_one_import_path): New function.
899 (gm2_langhook_handle_option): Record -I component. Call
900 SetM2PathName when -fm2-pathname= is seen. Record -fm2-pathnameI
901 component. Call SetM2Prefix when -fm2-prefix= is seen.
902 (gm2_langhook_post_options): Iterative over pathname entries
903 and call SetM2PathName, SetSearchPath as appropriate.
904 * gm2-libs-iso/M2RTS.def (ConstructModules): Add libname parameter.
905 (DeconstructModules): Add libname parameter.
906 (RegisterModule): Add libname parameter.
907 (RequestDependant): Add libname parameter.
908 * gm2-libs-iso/M2RTS.mod (ConstructModules): Add libname parameter.
909 (DeconstructModules): Add libname parameter.
910 (RegisterModule): Add libname parameter.
911 (RequestDependant): Add libname parameter.
912 * gm2-libs-min/M2RTS.def (ConstructModules): Add libname parameter.
913 (DeconstructModules): Add libname parameter.
914 (RegisterModule): Add libname parameter.
915 (RequestDependant): Add libname parameter.
916 * gm2-libs-min/M2RTS.mod (ConstructModules): Add libname parameter.
917 (DeconstructModules): Add libname parameter.
918 (RegisterModule): Add libname parameter.
919 (RequestDependant): Add libname parameter.
920 * gm2-libs/M2Dependent.def (ConstructModules): Add libname parameter.
921 (DeconstructModules): Add libname parameter.
922 (RegisterModule): Add libname parameter.
923 (RequestDependant): Add libname parameter.
924 * gm2-libs/M2Dependent.mod (ConstructModules): Add libname parameter.
925 (DeconstructModules): Add libname parameter.
926 (RegisterModule): Add libname parameter.
927 (RequestDependant): Add libname parameter.
928 * gm2-libs/M2RTS.def (ConstructModules): Add libname parameter.
929 (DeconstructModules): Add libname parameter.
930 (RegisterModule): Add libname parameter.
931 (RequestDependant): Add libname parameter.
932 * gm2-libs/M2RTS.mod (ConstructModules): Add libname parameter.
933 (DeconstructModules): Add libname parameter.
934 (RegisterModule): Add libname parameter.
935 (RequestDependant): Add libname parameter.
936 * gm2-libs/RTint.mod (FindVector): Rename variables.
937 (initInputVector): Rename variables.
938 (initOutputVector): Rename variables.
939 (InitTimeVector): Rename variables.
940 (FindVectorNo): Rename variables.
941 (FindPendingVector): Rename variables.
942 (ReArmTimeVector): Rename variables.
943 (GetTimeVector): Rename variables.
944 (AttachVector): Rename variables.
945 (AttachVector): Rename variables.
946 (IncludeVector): Rename variables.
947 (ExcludeVector): Rename variables.
948 (AddFd): Rename variables.
949 (AddFd): Rename variables.
950 (DumpPendingQueue): Rename variables.
952 (activatePending): Rename variables.
953 (Listen): Rename variables.
954 * gm2-libs/libc.def (snprintf): New function.
955 * gm2-libs/sckt.def: Change all exported identifiers to be
957 * gm2spec.cc (push_back_Ipath): New function.
958 (add_m2_I_path): New function.
959 (lang_specific_driver): Skip -fm2-pathname= and remember pathname.
960 Skip -I and record the path and current pathname. Call add_m2_I_path.
961 * lang-specs.h: Replace %{I*} with %{fm2-pathname*}.
962 * lang.opt (-fm2-pathname=): New entry.
963 (-fm2-pathname): New entry.
964 (-fm2-prefix=): New entry.
965 * mc-boot-ch/GUnixArgs.cc (_M2_UnixArgs_dep): New function.
966 (_M2_UnixArgs_ctor::_M2_UnixArgs_ctor): New method.
967 * mc-boot-ch/Glibc.c (libc_snprintf): New function.
968 * mc-boot-ch/m2rts.h (M2RTS_RequestDependant): Changed prototype.
969 (M2RTS_RegisterModule): Changed prototype.
970 * mc-boot/GDynamicStrings.c: Rebuild.
971 * mc-boot/GFIO.c: Rebuild.
972 * mc-boot/GIndexing.c: Rebuild.
973 * mc-boot/GM2Dependent.c: Rebuild.
974 * mc-boot/GM2Dependent.h: Rebuild.
975 * mc-boot/GM2EXCEPTION.c: Rebuild.
976 * mc-boot/GM2RTS.c: Rebuild.
977 * mc-boot/GM2RTS.h: Rebuild.
978 * mc-boot/GPushBackInput.c: Rebuild.
979 * mc-boot/GRTExceptions.c: Rebuild.
980 * mc-boot/GRTint.c: Rebuild.
981 * mc-boot/GStdIO.c: Rebuild.
982 * mc-boot/GStringConvert.c: Rebuild.
983 * mc-boot/GSysStorage.c: Rebuild.
984 * mc-boot/Gdecl.c: Rebuild.
985 * mc-boot/Gkeyc.c: Rebuild.
986 * mc-boot/Glibc.h: Rebuild.
987 * mc-boot/GmcComment.c: Rebuild.
988 * mc-boot/GmcComp.c: Rebuild.
989 * mc-boot/GmcDebug.c: Rebuild.
990 * mc-boot/GmcMetaError.c: Rebuild.
991 * mc-boot/GmcStack.c: Rebuild.
992 * mc-boot/GnameKey.c: Rebuild.
993 * mc-boot/GsymbolKey.c: Rebuild.
994 * pge-boot/GASCII.c: Rebuild.
995 * pge-boot/GArgs.c: Rebuild.
996 * pge-boot/GAssertion.c: Rebuild.
997 * pge-boot/GDebug.c: Rebuild.
998 * pge-boot/GDynamicStrings.c: Rebuild.
999 * pge-boot/GFIO.c: Rebuild.
1000 * pge-boot/GIO.c: Rebuild.
1001 * pge-boot/GIndexing.c: Rebuild.
1002 * pge-boot/GLists.c: Rebuild.
1003 * pge-boot/GM2Dependent.c: Rebuild.
1004 * pge-boot/GM2Dependent.h: Rebuild.
1005 * pge-boot/GM2EXCEPTION.c: Rebuild.
1006 * pge-boot/GM2RTS.c: Rebuild.
1007 * pge-boot/GM2RTS.h: Rebuild.
1008 * pge-boot/GNameKey.c: Rebuild.
1009 * pge-boot/GNumberIO.c: Rebuild.
1010 * pge-boot/GOutput.c: Rebuild.
1011 * pge-boot/GPushBackInput.c: Rebuild.
1012 * pge-boot/GRTExceptions.c: Rebuild.
1013 * pge-boot/GSFIO.c: Rebuild.
1014 * pge-boot/GStdIO.c: Rebuild.
1015 * pge-boot/GStorage.c: Rebuild.
1016 * pge-boot/GStrCase.c: Rebuild.
1017 * pge-boot/GStrIO.c: Rebuild.
1018 * pge-boot/GStrLib.c: Rebuild.
1019 * pge-boot/GSymbolKey.c: Rebuild.
1020 * pge-boot/GSysExceptions.c (_M2_SysExceptions_finish): Rename this...
1021 (_M2_SysExceptions_fini): ... to this.
1022 * pge-boot/GSysStorage.c: Rebuild.
1023 (_M2_SysStorage_finish): Rename this...
1024 (_M2_SysStorage_fini): ... to this.
1025 * pge-boot/GUnixArgs.cc: New file.
1026 * pge-boot/Gbnflex.c (_M2_bnflex_finish): Rename this...
1027 (_M2_bnflex_fini): ... to this.
1028 * pge-boot/Gerrno.c (_M2_errno_finish): Rename this...
1029 (_M2_errno_fini): ... to this.
1030 * pge-boot/Glibc.c (libc_snprintf): New function.
1031 * pge-boot/Glibc.h (libc_snprintf): New prototype.
1032 * pge-boot/Gpge.c (_M2_pge_finish): Rename this...
1033 (_M2_pge_fini): ... to this.
1034 * pge-boot/Gtermios.cc (_M2_termios_finish): Rename this...
1035 (_M2_termios_fini): ... to this.
1036 * pge-boot/main.c (_M2_RTExceptions_finish): Rename this...
1037 (_M2_RTExceptions_fini): ... to this.
1038 (_M2_M2EXCEPTION_finish): Rename this...
1039 (_M2_M2EXCEPTION_fini): ... to this.
1040 (_M2_M2RTS_finish): Rename this...
1041 (_M2_M2RTS_fini): ... to this.
1042 (_M2_SysExceptions_finish): Rename this...
1043 (_M2_SysExceptions_fini): ... to this.
1044 (_M2_StrLib_finish): Rename this...
1045 (_M2_StrLib_fini): ... to this.
1046 (_M2_errno_finish): Rename this...
1047 (_M2_errno_fini): ... to this.
1048 (_M2_termios_finish): Rename this...
1049 (_M2_termios_fini): ... to this.
1050 (_M2_IO_finish): Rename this...
1051 (_M2_IO_fini): ... to this.
1052 (_M2_StdIO_finish): Rename this...
1053 (_M2_StdIO_fini): ... to this.
1054 (_M2_Debug_finish): Rename this...
1055 (_M2_Debug_fini): ... to this.
1056 (_M2_SysStorage_finish): Rename this...
1057 (_M2_SysStorage_fini): ... to this.
1058 (_M2_Storage_finish): Rename this...
1059 (_M2_Storage_fini): ... to this.
1060 (_M2_StrIO_finish): Rename this...
1061 (_M2_StrIO_fini): ... to this.
1062 (_M2_DynamicStrings_finish): Rename this...
1063 (_M2_DynamicStrings_fini): ... to this.
1064 (_M2_Assertion_finish): Rename this...
1065 (_M2_Assertion_fini): ... to this.
1066 (_M2_Indexing_finish): Rename this...
1067 (_M2_Indexing_fini): ... to this.
1068 (_M2_NameKey_finish): Rename this...
1069 (_M2_NameKey_fini): ... to this.
1070 (_M2_NumberIO_finish): Rename this...
1071 (_M2_NumberIO_fini): ... to this.
1072 (_M2_PushBackInput_finish): Rename this...
1073 (_M2_PushBackInput_fini): ... to this.
1074 (_M2_SymbolKey_finish): Rename this...
1075 (_M2_SymbolKey_fini): ... to this.
1076 (_M2_UnixArgs_finish): Rename this...
1077 (_M2_UnixArgs_fini): ... to this.
1078 (_M2_FIO_finish): Rename this...
1079 (_M2_FIO_fini): ... to this.
1080 (_M2_SFIO_finish): Rename this...
1081 (_M2_SFIO_fini): ... to this.
1082 (_M2_StrCase_finish): Rename this...
1083 (_M2_StrCase_fini): ... to this.
1084 (_M2_bnflex_finish): Rename this...
1085 (_M2_bnflex_fini): ... to this.
1086 (_M2_Lists_finish): Rename this...
1087 (_M2_Lists_fini): ... to this.
1088 (_M2_Args_finish): Rename this...
1089 (_M2_Args_fini): ... to this.
1090 (_M2_Output_finish): Rename this...
1091 (_M2_Output_fini): ... to this.
1092 (_M2_pge_finish): Rename this...
1093 (_M2_pge_fini): ... to this.
1094 * plugin/m2rte.cc (m2_runtime_error_calls): Change all runtime
1095 procedure names to their name mangled counterparts.
1096 * gm2-libs-iso/wrapsock.c: Removed.
1097 * gm2-libs-iso/wraptime.c: Removed.
1098 * mc-boot/Gpth.h: Removed.
1099 * gm2-compiler/PathName.def: New file.
1100 * gm2-compiler/PathName.mod: New file.
1101 * gm2-compiler/DynamicPath.def: New file.
1102 * gm2-compiler/DynamicPath.mod: New file.
1104 2023-02-06 Gaius Mulley <gaiusmod2@gmail.com>
1107 * gm2-compiler/M2Search.mod (DSdbEnter): Comment out.
1108 (DSdbExit): Comment out.
1110 2023-02-06 Co-Authored by: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1113 * m2pp.cc (m2pp_integer_cst): Use
1114 HOST_WIDE_INT_PRINT_UNSIGNED as the format specifier.
1116 2023-02-06 Gaius Mulley <gaiusmod2@gmail.com>
1118 * gm2-compiler/M2Preprocess.mod (BaseName): Comment out.
1119 * gm2-lang.cc (opt): Remove.
1120 * gm2spec.cc (add_include): Remove.
1121 (full_libraries): Remove.
1122 (concat_option): Remove.
1124 2023-02-03 Gaius Mulley <gaiusmod2@gmail.com>
1126 * Make-lang.in (TEXISRC): Remove m2/images/gnu.eps.
1127 (RSTSRC): Remove m2/images/gnu.eps.
1128 (doc/m2.dvi): Add $(objdir)/m2/images/gnu.eps.
1129 (doc/m2.pdf): Add $(objdir)/m2/images/gnu.eps.
1130 (M2_PDFFILES): New definition.
1131 (m2.install-pdf): New rule.
1132 (m2.pod): Add $(objdir)/m2/images/gnu.eps.
1133 (m2.info): Add $(objdir)/m2/images/gnu.eps.
1134 (m2.html): New rule.
1135 (m2/gpl_v3_without_node.texi): New rule.
1136 (plugin/m2rte$(soext)): Simplify mkinstalldirs.
1137 (cc1gm2$(exeext)): Ditto.
1138 (m2/stage1/cc1gm2$(exeext)): Ditto.
1139 (m2/gm2-gcc/%.o): Ditto.
1140 (m2/gm2-gcc/rtegraph.o): Ditto.
1141 (m2/gm2-gcc/$(SRC_PREFIX)%.h): Ditto.
1142 (m2/mc-boot/$(SRC_PREFIX)%.o):Ditto.
1143 (m2/mc-boot-ch/$(SRC_PREFIX)%.o): Ditto.
1144 (m2/mc-boot/main.o): Ditto.
1145 (m2/gm2-libs-boot/%.o): Ditto.
1146 (m2/gm2-libs-boot/$(SRC_PREFIX)%.h): Ditto.
1147 (m2/gm2-libs-boot/RTcodummy.o): Ditto.
1148 (m2/gm2-libs-boot/wrapc.o): Ditto.
1149 (m2/gm2-libs-boot/M2LINK.o): Ditto.
1150 (m2/gm2-libs-boot/UnixArgs.o): Ditto.
1151 (m2/gm2-libs-boot/choosetemp.o): Ditto.
1152 (m2/gm2-libs-boot/errno.o): Ditto.
1153 (m2/gm2-libs-boot/dtoa.o): Ditto.
1154 (m2/gm2-libs-boot/ldtoa.o): Ditto.
1155 (m2/gm2-libs-boot/termios.o): Ditto.
1156 (m2/gm2-libs-boot/SysExceptions.o): Ditto.
1157 (m2/gm2-libs-boot/SysStorage.o): Ditto.
1158 (m2/gm2-compiler-boot/M2GCCDeclare.o): Ditto.
1159 (m2/gm2-compiler-boot/M2Error.o): Ditto.
1160 (m2/gm2-compiler-boot/%.o): Ditto.
1161 (m2/gm2-compiler-boot/$(SRC_PREFIX)%.h): Ditto.
1162 (m2/gm2-compiler-boot/m2flex.o): Ditto.
1163 (m2/gm2-compiler/m2flex.c): Ditto.
1164 (m2/gm2-libiberty/$(SRC_PREFIX)%.h): Ditto.
1165 (m2/gm2-compiler/%.o): Ditto.
1166 (m2/gm2-compiler/m2flex.o): Ditto.
1167 (m2/gm2-compiler/%.o): Ditto.
1168 (m2/gm2-libs-iso/%.o): Ditto.
1169 (m2/gm2-libs/gm2-libs-host.h): Ditto.
1170 ($(objdir)/m2/gm2-libs-min/SYSTEM.def): Ditto.
1171 ($(objdir)/m2/gm2-libs/SYSTEM.def): Ditto.
1172 ($(objdir)/m2/gm2-libs-iso/SYSTEM.def): Ditto.
1173 ($(objdir)/m2/gm2-libs-coroutines/SYSTEM.def): Ditto.
1174 (m2/gm2-compiler/gm2.a): Ditto.
1175 (m2/gm2-libs-boot/libgm2.a): Ditto.
1176 (m2/gm2-compiler-boot/gm2.a): Ditto.
1177 (m2/boot-bin/mklink$(exeext)): Ditto.
1178 (m2/gm2-compiler-boot/$(SRC_PREFIX)%.h): Ditto.
1179 (m2/gm2-compiler/%.mod): Ditto.
1180 (m2/gm2-compiler-boot/%.mod): Ditto.
1181 (m2/pge-boot/%.o): Ditto.
1183 2023-02-01 Gaius Mulley <gaiusmod2@gmail.com>
1185 * Make-lang.in (GM2_FLAGS): Add -fno-return -Wreturn-type.
1186 (GM2_ISO_FLAGS): Add -fno-return -Wreturn-type.
1187 * Make-maintainer.in (GM2PATH): Split into separate -I components.
1188 (MC-LIB-DEFS): Add RTentity.def.
1189 (m2/boot-bin/mc-devel$(exeext)): Changed -I$(GM2PATH) to
1191 (m2/boot-bin/mc-opt$(exeext)): Separate -I paths.
1192 (m2/mc/decl.o): Separate -I paths.
1193 (gm2-bootstrap): Separate -I paths.
1194 (m2/mc-boot-gen/$(SRC_PREFIX)%.h): Separate -I paths.
1195 (m2/mc-boot-gen/$(SRC_PREFIX)decl.c): Separate -I paths.
1196 (m2/mc-boot-gen/$(SRC_PREFIX)%.c): Separate -I paths.
1197 (gm2.verifyparanoid): Separate -I paths.
1198 (gm2.verifystage12): Separate -I paths.
1199 * gm2-compiler/M2ALU.mod (GetConstructorElement): Add default
1200 Return NulSym. Remove return from the error case.
1201 * gm2-compiler/M2Base.mod (ComplexToScalar): Return RType
1202 from the error case.
1203 (MixMetaTypes): Return MakeError as a default.
1204 * gm2-compiler/M2GCCDeclare.mod (GetTypeMin): Return NulSym
1205 from the error case.
1206 (GetTypeMax): Return NulSym from the error case.
1207 * gm2-compiler/M2GenGCC.mod (IsExportedGcc): Replace Assert
1209 * gm2-compiler/M2Quads.mod (GetItemPointedTo): Add InternalError.
1210 (GetTypeMin): Add InternalError.
1211 (GetTypeMax): Add InternalError.
1212 * gm2-compiler/M2System.mod (InitSystem): Call
1213 PutProcedureNoReturn on Throw.
1214 * gm2-gcc/m2except.cc (m2except_InitExceptions): fn_throw_tree
1215 declare as noreturn. fn_rethrow_tree declare as noreturn.
1216 * gm2-libs-coroutines/Debug.def (Halt): Add noreturn attribute.
1217 * gm2-libs-coroutines/SYSTEM.def (THROW): Add noreturn attribute.
1218 * gm2-libs-iso/ClientSocket.mod (dorbytes): Add return FALSE.
1219 * gm2-libs-iso/EXCEPTIONS.def (RAISE): Add noreturn attribute.
1220 * gm2-libs-iso/IOLink.def (RAISEdevException): Add noreturn attribute.
1221 * gm2-libs-iso/M2RTS.def (HALT): Add noreturn attribute.
1224 (ErrorMessage): Ditto.
1225 (AssignmentException): Ditto.
1226 (ReturnException): Ditto.
1227 (IncException): Ditto.
1228 (DecException): Ditto.
1229 (InclException): Ditto.
1230 (ExclException): Ditto.
1231 (ShiftException): Ditto.
1232 (RotateException): Ditto.
1233 (StaticArraySubscriptException): Ditto.
1234 (DynamicArraySubscriptException): Ditto.
1235 (ForLoopBeginException): Ditto.
1236 (ForLoopToException): Ditto.
1237 (ForLoopEndException): Ditto.
1238 (PointerNilException): Ditto.
1239 (NoReturnException): Ditto.
1240 (CaseException): Ditto.
1241 (WholeNonPosDivException): Ditto.
1242 (WholeNonPosModException): Ditto.
1243 (WholeZeroDivException): Ditto.
1244 (WholeZeroRemException): Ditto.
1245 (WholeValueException): Ditto.
1246 (RealValueException): Ditto.
1247 (ParameterException): Ditto.
1248 (NoException): Ditto.
1249 * gm2-libs-iso/SYSTEM.def (THROW): Ditto.
1250 * gm2-libs-iso/TermFile.mod (dorbytes): Add default return FALSE.
1251 * gm2-libs-min/M2RTS.def: Add noreturn attribute.
1252 * gm2-libs/FIO.mod (BufferedRead): Return -1.
1253 (getFileName): Return NIL.
1254 (getFileNameLength): Return 0.
1255 * gm2-libs/M2RTS.def (HaltC): Add noreturn attribute.
1256 (AssignmentException): Ditto.
1257 (ReturnException): Ditto.
1258 (IncException): Ditto.
1259 (DecException): Ditto.
1260 (InclException): Ditto.
1261 (ExclException): Ditto.
1262 (ShiftException): Ditto.
1263 (RotateException): Ditto.
1264 (StaticArraySubscriptException): Ditto.
1265 (DynamicArraySubscriptException): Ditto.
1266 (ForLoopBeginException): Ditto.
1267 (ForLoopToException): Ditto.
1268 (ForLoopEndException): Ditto.
1269 (PointerNilException): Ditto.
1270 (NoReturnException): Ditto.
1271 (CaseException): Ditto.
1272 (WholeNonPosDivException): Ditto.
1273 (WholeNonPosModException): Ditto.
1274 (WholeZeroDivException): Ditto.
1275 (WholeZeroRemException): Ditto.
1276 (WholeValueException): Ditto.
1277 (RealValueException): Ditto.
1278 (ParameterException): Ditto.
1279 (NoException): Ditto.
1280 * gm2-libs/RTExceptions.def (Raise): Ditto.
1281 * gm2-libs/RTExceptions.mod (InvokeHandler): Ditto.
1282 * gm2-libs/SYSTEM.def (THROW): Ditto.
1283 * m2.flex (_M2_m2flex_fini): Remamed to...
1284 (_M2_m2flex_finish): ...here.
1285 * mc-boot-ch/GBuiltins.c (_M2_Builtins_finish): Remamed to...
1286 (_M2_Builtins_fini): ...this.
1287 * mc-boot-ch/GRTco.c (_M2_RTco_finish): Remamed to...
1288 (_M2_RTco_fini): ...this.
1289 * mc-boot-ch/GSYSTEM.c (_M2_SYSTEM_finish): Remamed to...
1290 (_M2_SYSTEM_fini): ...this.
1291 * mc-boot-ch/GSelective.c (_M2_Selective_finish): Remamed to...
1292 (_M2_Selective_fini): ...this.
1293 * mc-boot-ch/GSysExceptions.c (_M2_SysExceptions_init): Add
1295 (_M2_SysExceptions_finish): Remamed to...
1296 (_M2_SysExceptions_fini): ...this.
1297 * mc-boot-ch/GUnixArgs.cc (_M2_UnixArgs_finish): Remamed to...
1298 (_M2_UnixArgs_fini): ...this.
1299 (_M2_UnixArgs_ctor::_M2_UnixArgs_ctor): Change parameter
1300 to _M2_UnixArgs_fini.
1301 * mc-boot-ch/Gdtoa.c (_M2_dtoa_finish): Remamed to...
1302 (_M2_dtoa_fini): ...this.
1303 * mc-boot-ch/Gerrno.c (_M2_errno_finish): Remamed to...
1304 (_M2_errno_fini): ...this.
1305 * mc-boot-ch/Gldtoa.c (_M2_ldtoa_finish): Remamed to...
1306 (_M2_ldtoa_fini): ...this.
1307 * mc-boot-ch/Gtermios.cc (_M2_termios_init): Add parameters.
1308 (_M2_termios_finish): Remamed to...
1309 (_M2_termios_fini): ...this.
1310 * mc-boot-ch/Gwrapc.c (_M2_wrapc_init): Add parameters.
1311 (_M2_wrapc_finish): Remamed to...
1312 (_M2_wrapc_fini): ...this.
1313 * mc-boot/GASCII.c: Rebuild.
1314 * mc-boot/GArgs.c: Rebuild.
1315 * mc-boot/GAssertion.c: Rebuild.
1316 * mc-boot/GBreak.c: Rebuild.
1317 * mc-boot/GCmdArgs.c: Rebuild.
1318 * mc-boot/GDebug.c: Rebuild.
1319 * mc-boot/GDynamicStrings.c: Rebuild.
1320 * mc-boot/GEnvironment.c: Rebuild.
1321 * mc-boot/GFIO.c: Rebuild.
1322 * mc-boot/GFormatStrings.c: Rebuild.
1323 * mc-boot/GFpuIO.c: Rebuild.
1324 * mc-boot/GIO.c: Rebuild.
1325 * mc-boot/GIndexing.c: Rebuild.
1326 * mc-boot/GM2Dependent.c: Rebuild.
1327 * mc-boot/GM2EXCEPTION.c: Rebuild.
1328 * mc-boot/GM2RTS.c: Rebuild.
1329 * mc-boot/GM2RTS.h: Rebuild.
1330 * mc-boot/GMemUtils.c: Rebuild.
1331 * mc-boot/GNumberIO.c: Rebuild.
1332 * mc-boot/GPushBackInput.c: Rebuild.
1333 * mc-boot/GRTExceptions.c: Rebuild.
1334 * mc-boot/GRTExceptions.h: Rebuild.
1335 * mc-boot/GRTco.h: Rebuild.
1336 * mc-boot/GRTint.c: Rebuild.
1337 * mc-boot/GSArgs.c: Rebuild.
1338 * mc-boot/GSFIO.c: Rebuild.
1339 * mc-boot/GStdIO.c: Rebuild.
1340 * mc-boot/GStorage.c: Rebuild.
1341 * mc-boot/GStrCase.c: Rebuild.
1342 * mc-boot/GStrIO.c: Rebuild.
1343 * mc-boot/GStrLib.c: Rebuild.
1344 * mc-boot/GStringConvert.c: Rebuild.
1345 * mc-boot/GSysStorage.c: Rebuild.
1346 * mc-boot/GTimeString.c: Rebuild.
1347 * mc-boot/Galists.c: Rebuild.
1348 * mc-boot/Gdecl.c: Rebuild.
1349 * mc-boot/Gkeyc.c: Rebuild.
1350 * mc-boot/Glists.c: Rebuild.
1351 * mc-boot/GmcComment.c: Rebuild.
1352 * mc-boot/GmcComp.c: Rebuild.
1353 * mc-boot/GmcDebug.c: Rebuild.
1354 * mc-boot/GmcError.c: Rebuild.
1355 * mc-boot/GmcFileName.c: Rebuild.
1356 * mc-boot/GmcLexBuf.c: Rebuild.
1357 * mc-boot/GmcMetaError.c: Rebuild.
1358 * mc-boot/GmcOptions.c: Rebuild.
1359 * mc-boot/GmcPreprocess.c: Rebuild.
1360 * mc-boot/GmcPretty.c: Rebuild.
1361 * mc-boot/GmcPrintf.c: Rebuild.
1362 * mc-boot/GmcQuiet.c: Rebuild.
1363 * mc-boot/GmcReserved.c: Rebuild.
1364 * mc-boot/GmcSearch.c: Rebuild.
1365 * mc-boot/GmcStack.c: Rebuild.
1366 * mc-boot/GmcStream.c: Rebuild.
1367 * mc-boot/Gmcp1.c: Rebuild.
1368 * mc-boot/Gmcp2.c: Rebuild.
1369 * mc-boot/Gmcp3.c: Rebuild.
1370 * mc-boot/Gmcp4.c: Rebuild.
1371 * mc-boot/Gmcp5.c: Rebuild.
1372 * mc-boot/GnameKey.c: Rebuild.
1373 * mc-boot/GsymbolKey.c: Rebuild.
1374 * mc-boot/Gtop.c: Rebuild.
1375 * mc-boot/Gvarargs.c: Rebuild.
1376 * mc-boot/Gwlists.c: Rebuild.
1377 * mc-boot/GRTentity.h: New file.
1378 * mc/decl.mod (scaffoldStatic): Change _finish to _fini.
1379 * mc/mc.flex (_M2_mcflex_fini): New function.
1380 (_M2_mcflex_finish): Remove function.
1381 * tools-src/mklink.c (GenerateFinishCalls): Change
1383 (GeneratePrototypes): Change _finish to _fini.
1385 2023-01-31 Gaius Mulley <gaiusmod2@gmail.com>
1387 * Make-lang.in (gm2-libs.texi-check): Rename
1388 m2/gm2-libs-pim to m2/gm2-libs-log.
1389 * gm2-libs-pim/BitBlockOps.def: Moved to...
1390 * gm2-libs-log/BitBlockOps.def: ...here.
1391 * gm2-libs-pim/BitBlockOps.mod: Moved to...
1392 * gm2-libs-log/BitBlockOps.mod: ...here.
1393 * gm2-libs-pim/BitByteOps.def: Moved to...
1394 * gm2-libs-log/BitByteOps.def: ...here.
1395 * gm2-libs-pim/BitByteOps.mod: Moved to...
1396 * gm2-libs-log/BitByteOps.mod: ...here.
1397 * gm2-libs-pim/BitWordOps.def: Moved to...
1398 * gm2-libs-log/BitWordOps.def: ...here.
1399 * gm2-libs-pim/BitWordOps.mod: Moved to...
1400 * gm2-libs-log/BitWordOps.mod: ...here.
1401 * gm2-libs-pim/BlockOps.def: Moved to...
1402 * gm2-libs-log/BlockOps.def: ...here.
1403 * gm2-libs-pim/BlockOps.mod: Moved to...
1404 * gm2-libs-log/BlockOps.mod: ...here.
1405 * gm2-libs-pim/Break.c: Moved to...
1406 * gm2-libs-log/Break.c: ...here.
1407 * gm2-libs-pim/Break.def: Moved to...
1408 * gm2-libs-log/Break.def: ...here.
1409 * gm2-libs-pim/CardinalIO.def: Moved to...
1410 * gm2-libs-log/CardinalIO.def: ...here.
1411 * gm2-libs-pim/CardinalIO.mod: Moved to...
1412 * gm2-libs-log/CardinalIO.mod: ...here.
1413 * gm2-libs-pim/Conversions.def: Moved to...
1414 * gm2-libs-log/Conversions.def: ...here.
1415 * gm2-libs-pim/Conversions.mod: Moved to...
1416 * gm2-libs-log/Conversions.mod: ...here.
1417 * gm2-libs-pim/DebugPMD.def: Moved to...
1418 * gm2-libs-log/DebugPMD.def: ...here.
1419 * gm2-libs-pim/DebugPMD.mod: Moved to...
1420 * gm2-libs-log/DebugPMD.mod: ...here.
1421 * gm2-libs-pim/DebugTrace.def: Moved to...
1422 * gm2-libs-log/DebugTrace.def: ...here.
1423 * gm2-libs-pim/DebugTrace.mod: Moved to...
1424 * gm2-libs-log/DebugTrace.mod: ...here.
1425 * gm2-libs-pim/Delay.def: Moved to...
1426 * gm2-libs-log/Delay.def: ...here.
1427 * gm2-libs-pim/Delay.mod: Moved to...
1428 * gm2-libs-log/Delay.mod: ...here.
1429 * gm2-libs-pim/Display.def: Moved to...
1430 * gm2-libs-log/Display.def: ...here.
1431 * gm2-libs-pim/Display.mod: Moved to...
1432 * gm2-libs-log/Display.mod: ...here.
1433 * gm2-libs-pim/ErrorCode.def: Moved to...
1434 * gm2-libs-log/ErrorCode.def: ...here.
1435 * gm2-libs-pim/ErrorCode.mod: Moved to...
1436 * gm2-libs-log/ErrorCode.mod: ...here.
1437 * gm2-libs-pim/FileSystem.def: Moved to...
1438 * gm2-libs-log/FileSystem.def: ...here.
1439 * gm2-libs-pim/FileSystem.mod: Moved to...
1440 * gm2-libs-log/FileSystem.mod: ...here.
1441 * gm2-libs-pim/FloatingUtilities.def: Moved to...
1442 * gm2-libs-log/FloatingUtilities.def: ...here.
1443 * gm2-libs-pim/FloatingUtilities.mod: Moved to...
1444 * gm2-libs-log/FloatingUtilities.mod: ...here.
1445 * gm2-libs-pim/InOut.def: Moved to...
1446 * gm2-libs-log/InOut.def: ...here.
1447 * gm2-libs-pim/InOut.mod: Moved to...
1448 * gm2-libs-log/InOut.mod: ...here.
1449 * gm2-libs-pim/Keyboard.def: Moved to...
1450 * gm2-libs-log/Keyboard.def: ...here.
1451 * gm2-libs-pim/Keyboard.mod: Moved to...
1452 * gm2-libs-log/Keyboard.mod: ...here.
1453 * gm2-libs-pim/LongIO.def: Moved to...
1454 * gm2-libs-log/LongIO.def: ...here.
1455 * gm2-libs-pim/LongIO.mod: Moved to...
1456 * gm2-libs-log/LongIO.mod: ...here.
1457 * gm2-libs-pim/NumberConversion.def: Moved to...
1458 * gm2-libs-log/NumberConversion.def: ...here.
1459 * gm2-libs-pim/NumberConversion.mod: Moved to...
1460 * gm2-libs-log/NumberConversion.mod: ...here.
1461 * gm2-libs-pim/README.texi: Moved to...
1462 * gm2-libs-log/README.texi: ...here.
1463 * gm2-libs-pim/Random.def: Moved to...
1464 * gm2-libs-log/Random.def: ...here.
1465 * gm2-libs-pim/Random.mod: Moved to...
1466 * gm2-libs-log/Random.mod: ...here.
1467 * gm2-libs-pim/RealConversions.def: Moved to...
1468 * gm2-libs-log/RealConversions.def: ...here.
1469 * gm2-libs-pim/RealConversions.mod: Moved to...
1470 * gm2-libs-log/RealConversions.mod: ...here.
1471 * gm2-libs-pim/RealInOut.def: Moved to...
1472 * gm2-libs-log/RealInOut.def: ...here.
1473 * gm2-libs-pim/RealInOut.mod: Moved to...
1474 * gm2-libs-log/RealInOut.mod: ...here.
1475 * gm2-libs-pim/Strings.def: Moved to...
1476 * gm2-libs-log/Strings.def: ...here.
1477 * gm2-libs-pim/Strings.mod: Moved to...
1478 * gm2-libs-log/Strings.mod: ...here.
1479 * gm2-libs-pim/Termbase.def: Moved to...
1480 * gm2-libs-log/Termbase.def: ...here.
1481 * gm2-libs-pim/Termbase.mod: Moved to...
1482 * gm2-libs-log/Termbase.mod: ...here.
1483 * gm2-libs-pim/Terminal.def: Moved to...
1484 * gm2-libs-log/Terminal.def: ...here.
1485 * gm2-libs-pim/Terminal.mod: Moved to...
1486 * gm2-libs-log/Terminal.mod: ...here.
1487 * gm2-libs-pim/TimeDate.def: Moved to...
1488 * gm2-libs-log/TimeDate.def: ...here.
1489 * gm2-libs-pim/TimeDate.mod: Moved to...
1490 * gm2-libs-log/TimeDate.mod: ...here.
1492 2023-01-28 Iain Sandoe <iain@sandoe.co.uk>
1494 * lang.opt: Claim Wreturn-type.
1496 2023-01-27 Gaius Mulley <gaiusmod2@gmail.com>
1498 * gm2-compiler/M2Comp.mod: Import MetaString0.
1499 (ExamineCompilationUnit): New variable Message.
1500 Create and format error string.
1501 * gm2-compiler/M2LexBuf.mod: New variable SeenEof.
1502 (GetNonEofToken): New procedure.
1503 (Init): Set SeenEof to FALSE.
1504 (GetToken): Use GetNonEofToken instead of calls to
1505 m2flex.GetToken and GetToken.
1506 (AddTok): Detect eoftok and set SeenEof.
1508 2023-01-27 Gaius Mulley <gaiusmod2@gmail.com>
1510 * gm2-compiler/M2Options.def: Export GetMQ, SetMQ.
1511 * gm2-compiler/M2Preprocess.mod: (MakeSaveTempsFileName):
1512 Test NewDir against NIL. Test Dumpdir against NIL.
1513 Test GetMD () against NIL. Test GetMMD () against NIL.
1514 Test GetMQ () against NIL. Test GetObj () against NIL.
1515 Test tempfile against NIL.
1516 * gm2-compiler/P2SymBuild.def: Export
1517 BuildNoReturnAttribute.
1519 2023-01-27 Iain Sandoe <iain@sandoe.co.uk>
1524 * gm2-lang.cc (gm2_langhook_option_lang_mask): Do not claim CL_C
1526 (gm2_langhook_init_options): Handle options that we want to pass
1527 to the preprocessor.
1528 * lang-specs.h: Pass -B and -save-temps to regular compile lines.
1529 * lang.opt: Add C and Driver options that Modula-2 intercepts for
1530 internal use. Reorder options into two sections and to collate.
1532 2023-01-26 Gaius Mulley <gaiusmod2@gmail.com>
1534 * gm2-compiler/M2GCCDeclare.mod: Import IsProcedureNoReturn.
1535 (DeclareProcedureToGccWholeProgram): New variable declared and set
1536 returnType. Pass returnType to BuildEndFunctionDeclaration.
1537 Extra parameter IsProcedureNoReturn passed to
1538 BuildEndFunctionDeclaration.
1539 * gm2-compiler/M2Quads.mod (BuildM2MainFunction): Correct
1540 scaffold comment and add extra return 0.
1541 * gm2-compiler/P2Build.bnf: Import BuildNoReturnAttribute.
1542 (ProcedureHeading): Process EndBuildFormalParameters before
1543 parsing AttributeNoReturn.
1544 (DefProcedureHeading): Process EndBuildFormalParameters before
1545 parsing AttributeNoReturn.
1546 (AttributeNoReturn): Call BuildNoReturnAttribute.
1547 * gm2-compiler/P2SymBuild.def (BuildNoReturnAttribute): New
1549 * gm2-compiler/P2SymBuild.mod (BuildNoReturnAttribute): New
1551 * gm2-compiler/SymbolTable.def (PutProcedureInline): Corrected
1553 (PutProcedureNoReturn): New procedure.
1554 (IsProcedureNoReturn): New procedure function.
1555 * gm2-compiler/SymbolTable.mod (SymProcedure): IsNoReturn
1557 (MakeProcedure): Initialize IsNoReturn to FALSE.
1558 (PutProcedureNoReturn): New procedure.
1559 (IsProcedureNoReturn): New procedure function.
1560 * gm2-gcc/m2decl.cc (m2decl_BuildEndFunctionDeclaration):
1561 Add extra parameter isnoreturn. Set TREE_THIS_VOLATILE
1563 * gm2-gcc/m2decl.def (BuildEndFunctionDeclaration): Add
1564 extra parameter isnoreturn.
1565 * gm2-gcc/m2decl.h (m2decl_BuildEndFunctionDeclaration): Add
1566 extra parameter isnoreturn.
1567 * gm2-gcc/m2except.cc (m2except_InitExceptions): Change all
1568 function decl to pass an extra parameter isnoreturn.
1570 2023-01-26 Gaius Mulley <gaiusmod2@gmail.com>
1572 * m2.flex (splitSlashStar): Fix comment so that /* does not
1573 appear inside the comment.
1575 2023-01-26 Iain Sandoe <iain@sandoe.co.uk>
1578 * gm2-lang.cc (gm2_langhook_init_options): Remove debug code.
1580 2023-01-26 Gaius Mulley <gaiusmod2@gmail.com>
1582 * Make-lang.in (m2/gm2config.h): Rewrite rule to be
1583 dependent upon m2/gm2config.aci.
1584 (m2/gm2config.aci): Newrule.
1585 * configure.ac (AC_CONFIG_HEADERS): Change destination
1587 * configure: Regenerate.
1588 * gm2-libs/config-host: Regenerate.
1589 * gm2-compiler/M2GCCDeclare.mod (AddSymToWatch): Comment
1591 * gm2-compiler/M2Quads.mod (BuildConstHighFromSym): Remove
1593 (StartBuildWith): Call BuildStmtNoteTok.
1594 (BuildStmtNoteTok): New procedure.
1595 (BuildStmtNote): Re-implement re-factor into two
1596 procedures and call BuildStmtNoteTok.
1597 * gm2config.h.in: Remove.
1598 * gm2config.aci.in: New file.
1600 2023-01-25 Iain Sandoe <iain@sandoe.co.uk>
1604 * gm2-compiler/M2Comp.mod: Early exit for pre-processor-only jobs.
1605 * gm2-compiler/M2Options.def (SetPPOnly, GetPPOnly, SetMD, GetMD,
1606 SetMMD, GetMMD, SetMQ, GetMQ, SetObj, GetObj, SetDumpDir,
1608 * gm2-compiler/M2Options.mod:(SetPPOnly, GetPPOnly, SetMD, GetMD,
1609 SetMMD, GetMMD, SetMQ, GetMQ, SetObj, GetObj, SetDumpDir,
1611 * gm2-compiler/M2Preprocess.def (PreprocessModule): Add flag to
1612 indicate the main file.
1613 * gm2-compiler/M2Preprocess.mod: Handle Preprocess-only jobs,
1614 handle MD, MMD and MQ options.
1615 * gm2-gcc/m2options.h (M2Options_SetPPOnly, M2Options_GetPPOnly,
1616 M2Options_SetDumpDir, M2Options_SetMD, M2Options_GetMD,
1617 M2Options_SetMMD, M2Options_GetMMD, M2Options_SetMQ, M2Options_GetMQ,
1618 M2Options_SetObj, M2Options_GetObj): New.
1619 * gm2-gcc/m2type.cc (m2type_InitBaseTypes): Early exit for pre-
1620 processor-only jobs.
1621 * gm2-lang.cc (gm2_langhook_init): Handle preprocess-only commands.
1622 (gm2_langhook_option_lang_mask): Claim C and Driver options so that
1623 we can intercept them for building pre-processor commands.
1624 (gm2_langhook_init_options): Collect the preprocessor line here.
1625 Save options that have different actions for preprocessor and compile
1627 (gm2_langhook_handle_option): Only handle the modula-2 options here.
1628 (gm2_langhook_post_options): Do not create a back-end for pre-
1629 processor-only jobs.
1630 * gm2spec.cc (lang_specific_driver): Ignore PCH options, append a
1631 scaffold-main for cases where we are building a main module with
1633 * lang-specs.h: Revise to handle preprocessor-only jobs and to
1634 consume pre-processed files.
1635 * lang.opt: Remove Driver and C options copies (we claim these
1638 2023-01-24 Co-Authored by: Iain Sandoe <iain@sandoe.co.uk>
1640 * Make-lang.in (GM2-COMP-BOOT-DEFS): Add
1641 DynamicStringPath.def.
1642 (GM2-COMP-BOOT-MODS): Add DynamicStringPath.mod.
1643 (GM2-COMP-DEFS): Add DynamicStringPath.def.
1644 (GM2-COMP-MODS): Add DynamicStringPath.mod.
1645 ($(objdir)/m2/gm2-libs-min/SYSTEM.def): Split path into
1646 multiple -I components.
1647 ($(objdir)/m2/gm2-libs/SYSTEM.def): Ditto.
1648 ($(objdir)/m2/gm2-libs-coroutines/SYSTEM.def): Ditto.
1649 * gm2-compiler/M2Options.mod: Import DynamicStringPath.
1650 (SetSearchPath): Reimplement using DynamicStringPath
1652 * gm2-compiler/M2Search.def (InitSearchPath): Remove.
1653 (PrependSearchPath): Remove.
1654 * gm2-compiler/M2Search.mod (SFIO): Remove import.
1655 (DynamicStringPath): Add import.
1656 (Directory): Remove.
1658 (InitialPath): Remove.
1659 (InitSearchPath): Remove.
1660 (PrependSearchPath): Remove.
1661 (FindSourceFile): Re-implement.
1662 (FindSourceDefFile): Re-implement.
1663 (FindSourceModFile): Re-implement.
1664 * gm2-gcc/init.cc (_M2_DynamicStringPath_init):
1666 (init_FrontEndInit): Call _M2_DynamicStringPath_init.
1667 * tools-src/makeSystem: Allow multiple -I paths.
1668 * gm2-compiler/DynamicStringPath.def: New file.
1669 * gm2-compiler/DynamicStringPath.mod: New file.
1670 * gm2-gcc/m2options.h (M2Options_SetMakeIncludePath): Add
1673 2023-01-24 Gaius Mulley <gaiusmod2@gmail.com>
1675 * m2.flex (cpreprocessor): Add temporary variable
1676 which is initialized to 0.
1677 (commentCLevel): New variable.
1678 (endOfCComment): New function.
1679 (splitSlashStar): New function to split /* into / and *
1681 (COMMENTC): New flex state.
1682 ("/*"): New rule to test whether we should treat /*
1683 as a single token or as two tokens.
1684 (<COMMENTC>.): New rule to skip a character.
1685 (<COMMENTC>\n.*): New rule to consume the line.
1686 (<COMMENTC>"*/"): New rule to call endOfCComment.
1688 2023-01-24 Gaius Mulley <gaiusmod2@gmail.com>
1690 * gm2-libs-iso/RTco.def: Import RTentity.
1691 Declare RTco as a definition for C module.
1693 2023-01-23 Iain Sandoe <iain@sandoe.co.uk>
1697 * Make-lang.in: Pass libsubdir to the language init
1699 * gm2-lang.cc (INCLUDE_VECTOR): Define.
1700 (add_one_import_path): New.
1701 (add_m2_import_paths): New.
1702 (gm2_langhook_post_options): Arrange to add the include
1703 paths (and add the system ones) in the same order as C
1705 * gm2spec.cc (build_archive_path): Remove.
1706 (add_default_combination): Remove.
1707 (add_default_archives): Remove.
1708 (add_default_libs): We no longer need a '-L' option, just
1709 emit the -l and each library in use.
1710 (build_include_path): Remove.
1711 (add_include): Remove.
1712 (add_default_includes): Remove.
1713 (library_installed): Remove.
1714 (check_valid_library): Remove.
1715 (check_valid_list): Remove.
1716 (convert_abbreviation): Diagnose unhandled cases.
1717 (lang_specific_driver): Skip options where we will add back
1718 a validated version.
1719 * lang-specs.h (M2CPP): Reformat, append %I when -fcpp is not
1720 in use. Revise the cc1gm2 spec to omit mentioning options that
1721 are handled in the c pre-processor line.
1722 * lang.opt: Allow preprocessing and path options as input to the
1723 cc1gm2 invocation, so that they can be passed to the preprocessor
1726 2023-01-23 Iain Sandoe <iain@sandoe.co.uk>
1729 * gm2-libs-iso/Preemptive.mod (initPreemptive): Use a value for
1730 extra space that is divisible by common OS pagesizes.
1732 2023-01-20 Gaius Mulley <gaiusmod2@gmail.com>
1734 * gm2-libs/Args.mod (GetArg): Check index before
1736 * gm2-libs/M2Dependent.mod (toCString): Check index
1737 before accessing array.
1738 * mc-boot/GArgs.c: Rebuilt.
1739 * mc-boot/GM2Dependent.c: Rebuilt.
1740 * mc-boot/Gkeyc.c: Rebuilt.
1741 * mc/keyc.mod (seenUIntMin): Initialize once.
1742 (seenUIntMax): Initialize once.
1743 (checkLimits): Only test seenUIntMin and seenUIntMax
1745 * pge-boot/GArgs.c: Rebuilt.
1746 * pge-boot/GM2Dependent.c: Rebuilt.
1748 2023-01-20 Gaius Mulley <gaiusmod2@gmail.com>
1750 * gm2-gcc/m2statement.cc (gm2_gimplify_function_node):
1752 * gm2-libs/DynamicStrings.mod (Equal): Remove dead code.
1753 * m2.flex (<COMMENT>"<*"): Add {} for else statement.
1754 * m2pp.cc (hextree): Add conditional #ifdef DEBUGGING.
1755 * mc-boot/GDynamicStrings.c: Rebuild.
1756 * pge-boot/GDynamicStrings.c: Rebuild.
1757 * pge-boot/GFIO.c: Rebuild.
1758 * pge-boot/GIndexing.c: Rebuild.
1759 * pge-boot/GM2EXCEPTION.c: Rebuild.
1760 * pge-boot/GM2RTS.c: Rebuild.
1761 * pge-boot/GNameKey.c: Rebuild.
1762 * pge-boot/GPushBackInput.c: Rebuild.
1763 * pge-boot/GRTExceptions.c: Rebuild.
1764 * pge-boot/GStdIO.c: Rebuild.
1765 * pge-boot/GSymbolKey.c: Rebuild.
1766 * pge-boot/GSysStorage.c: Rebuild.
1768 2023-01-17 Gaius Mulley <gaiusmod2@gmail.com>
1770 * mc-boot/GM2RTS.c: Rebuilt.
1771 * mc-boot/GM2RTS.h: Rebuilt.
1772 * mc-boot/Gdecl.c: Rebuilt.
1773 * mc-boot/GmcOptions.c: Rebuilt.
1774 * mc/mcOptions.mod (displayVersion):
1775 Split first printf into three components
1777 2023-01-17 Gaius Mulley <gaiusmod2@gmail.com>
1779 * gm2-libs-iso/M2RTS.def (Halt): Parameter file renamed to filename.
1780 (HaltC): New procedure declaration.
1781 (ErrorMessage): Parameter file renamed to filename.
1782 * gm2-libs-iso/M2RTS.mod (Halt): Parameter file renamed to
1784 (HaltC): New procedure implementation.
1785 (ErrorStringC): New procedure implementation.
1786 (ErrorMessageC): New procedure implementation.
1787 * gm2-libs/M2RTS.def (Halt): Parameter file renamed to filename.
1788 (HaltC): New procedure declaration.
1789 (ErrorMessage): Parameter file renamed to filename.
1790 * gm2-libs/M2RTS.mod (Halt): Parameter file renamed to filename.
1791 (HaltC): New procedure implementation.
1792 (ErrorStringC): New procedure implementation.
1793 (ErrorMessageC): New procedure implementation.
1795 2023-01-16 Gaius Mulley <gaiusmod2@gmail.com>
1797 * mc-boot-ch/Glibc.c (libc_time): New function.
1798 (libc_localtime): New function.
1799 * mc-boot/GDynamicStrings.c: Regenerate.
1800 * mc-boot/GFIO.c: Regenerate.
1801 * mc-boot/GFormatStrings.c: Regenerate.
1802 * mc-boot/GIndexing.c: Regenerate.
1803 * mc-boot/GM2Dependent.c: Regenerate.
1804 * mc-boot/GM2EXCEPTION.c: Regenerate.
1805 * mc-boot/GPushBackInput.c: Regenerate.
1806 * mc-boot/GRTExceptions.c: Regenerate.
1807 * mc-boot/GRTint.c: Regenerate.
1808 * mc-boot/GStdIO.c: Regenerate.
1809 * mc-boot/GStringConvert.c: Regenerate.
1810 * mc-boot/GSysStorage.c: Regenerate.
1811 * mc-boot/Gdecl.c: Regenerate.
1812 * mc-boot/GmcComment.c: Regenerate.
1813 * mc-boot/GmcComp.c: Regenerate.
1814 * mc-boot/GmcDebug.c: Regenerate.
1815 * mc-boot/GmcMetaError.c: Regenerate.
1816 * mc-boot/GmcOptions.c: Regenerate.
1817 * mc-boot/GmcStack.c: Regenerate.
1818 * mc-boot/GnameKey.c: Regenerate.
1819 * mc-boot/GsymbolKey.c: Regenerate.
1820 * mc-boot/Gkeyc.c: Regenerate.
1821 * mc/decl.mod (putFieldRecord): Change NulName to NulKey
1822 and fix type comparision.
1823 * mc/mcOptions.mod (YEAR): Remove.
1824 (getYear): New procedure function.
1825 (displayVersion): Use result from getYear instead of YEAR.
1826 Emit boilerplate for GPL v3.
1827 (gplBody): Use result from getYear instead of YEAR.
1828 (glplBody): Use result from getYear instead of YEAR.
1830 2023-01-16 Gaius Mulley <gaiusmod2@gmail.com>
1832 * gm2-compiler/M2Quads.mod (AssignUnboundedVar): Check Type
1833 against NulSym and call MetaErrorT1 if necessary.
1834 (AssignUnboundedNonVar): Check Type against NulSym and
1835 call MetaErrorT1 if necessary.
1836 (BuildDesignatorPointer): Check Type1 against NulSym and
1837 call MetaErrorT1 if necessary.
1839 2023-01-16 Gaius Mulley <gaiusmod2@gmail.com>
1841 * mc/mcOptions.mod (displayVersion): Change GPLv2 to GPLv3.
1844 2023-01-15 Gaius Mulley <gaiusmod2@gmail.com>
1846 * gm2-compiler/M2LexBuf.mod (isSrcToken): Add block comment.
1848 * gm2-compiler/M2Quads.def (BuildNot): Add notTokPos parameter.
1849 * gm2-compiler/M2Quads.mod (BuildNot): Add notTokPos parameter.
1850 Create and push virtual token.
1851 (PopBooltok): New procedure.
1852 (PushBooltok): New procedure.
1853 (PushBool): Re-implement using PushBooltok.
1854 (PopBool): Re-implement using PopBooltok.
1855 * gm2-compiler/P3Build.bnf (ConstFactor): Record token
1857 (Factor): Record token position of NOT.
1858 * gm2-compiler/PHBuild.bnf (ConstFactor): Record token
1860 (Relation): Push token position.
1861 (UnaryOrConstTerm): Push token position.
1862 (AddOperator): Push token position.
1863 (MulOperator): Push token position.
1865 2023-01-13 Iain Sandoe <iain@sandoe.co.uk>
1867 * gm2-gcc/m2options.h (M2Options_SetVerbose): Export the
1869 * gm2-lang.cc: Handle OPT_v, passing it to the compiler.
1870 * lang-specs.h: Pass -v to cc1gm2.
1872 2023-01-13 Gaius Mulley <gaiusmod2@gmail.com>
1874 * mc-boot-ch/GRTco.c (RTco_select): Add return 0.
1875 * pge-boot/GRTco.c (RTco_select): Add return 0.
1877 2023-01-10 Gaius Mulley <gaiusmod2@gmail.com>
1879 * Make-lang.in (m2/mc-boot/$(SRC_PREFIX)%.o): Add
1880 m2/gm2-libs/gm2-libs-host.h dependency.
1881 (m2/mc-boot-ch/$(SRC_PREFIX)%.o): Add
1882 m2/gm2-libs/gm2-libs-host.h dependency.
1884 2023-01-10 Gaius Mulley <gaiusmod2@gmail.com>
1886 * Make-lang.in (GM2_1): Change -B path to m2/stage1.
1887 ($(objdir)/m2/images/gnu.eps): Check and create dest dir
1889 (gm2-libs.texi-check): Check and create dir m2/gm2-libs-pim,
1890 m2/gm2-libs-iso and m2/gm2-libs if necessary.
1891 ($(objdir)/m2/gm2-compiler-boot): Remove.
1892 ($(objdir)/m2/gm2-libs-boot): Remove.
1893 ($(objdir)/m2/gm2-libs-libiberty): Remove.
1894 ($(objdir)/m2/gm2-libiberty): Remove.
1895 ($(objdir)/m2/gm2-gcc): Remove.
1896 ($(objdir)/m2/gm2-compiler): Remove.
1897 ($(objdir)/m2/gm2-libs): Remove.
1898 ($(objdir)/m2/gm2-libs-iso): Remove.
1899 ($(objdir)/m2/gm2-libs-min): Remove.
1900 ($(objdir)/m2/gm2-compiler-paranoid): Remove.
1901 ($(objdir)/m2/gm2-libs-paranoid): Remove.
1902 ($(objdir)/m2/gm2-compiler-verify): Remove.
1903 ($(objdir)/m2/boot-bin): Remove.
1904 ($(objdir)/m2/gm2-libs-pim): Remove.
1905 ($(objdir)/m2/gm2-libs-coroutines): Remove.
1906 (stage1/m2): Remove.
1907 (stage2/m2): Remove.
1908 (stage3/m2): Remove.
1909 (m2.stageprofile): New rule.
1910 (m2.stagefeedback): New rule.
1911 (cc1gm2$(exeext)): Change dependent name.
1912 (m2/stage2/cc1gm2$(exeext)): Change dependent name.
1913 Check and create dest dir.
1914 (m2/stage1/cc1gm2$(exeext)): Check and create dest dir
1916 (m2/gm2-gcc/%.o): Ditto.
1917 (m2/gm2-gcc/rtegraph.o): Ditto.
1918 (m2/gm2-gcc/$(SRC_PREFIX)%.h): Ditto.
1919 (m2/gm2-gcc/$(SRC_PREFIX)%.h): Ditto.
1920 (m2/mc-boot): Ditto.
1921 (m2/mc-boot-ch): Ditto.
1922 (m2/gm2-libs-boot): Ditto.
1923 (m2/gm2-compiler-boot): Ditto.
1924 (m2/gm2-compiler): Ditto.
1925 (m2/gm2-libiberty): Ditto.
1926 (m2/gm2-compiler): Ditto.
1927 (m2/gm2-libs-iso): Ditto.
1928 (m2/gm2-libs): Ditto.
1929 (m2/gm2-libs-min): Ditto.
1930 (m2/gm2-libs-coroutines): Ditto.
1931 (m2/boot-bin): Ditto.
1932 (m2/pge-boot): Ditto.
1933 (m2/pge-boot): Ditto.
1934 * Make-maintainer.in (m2/gm2-ppg-boot): Check and create
1935 dest dir if necessary.
1937 (m2/gm2-ppg-boot): Ditto.
1938 (m2/gm2-pg-boot): Ditto.
1939 (m2/gm2-auto): Ditto.
1940 (m2/gm2-pg-boot): Ditto.
1941 (m2/gm2-pge-boot): Ditto.
1942 ($(objdir)/plugin): Ditto.
1943 ($(objdir)/m2/mc-boot-ch): Ditto.
1944 ($(objdir)/m2/mc-boot-gen): Ditto.
1945 (m2/boot-bin): Ditto.
1948 ($(objdir)/m2/gm2-ppg-boot): Ditto.
1949 ($(objdir)/m2/gm2-pg-boot): Ditto.
1950 ($(objdir)/m2/gm2-pge-boot): Ditto.
1951 (m2/mc-boot-gen): Ditto.
1953 (m2/gm2-libs-paranoid): Ditto.
1954 (m2/gm2-compiler-paranoid): Ditto.
1955 (m2/gm2-libs-paranoid): Ditto.
1956 (m2/gm2-compiler-paranoid): Ditto.
1957 (m2/gm2-libs-paranoid): Ditto.
1958 (m2/gm2-compiler-paranoid): Ditto.
1959 * config-lang.in (m2/gm2-compiler-boot): Remove mkdir.
1960 (m2/gm2-libs-boot): Ditto.
1961 (m2/gm2-ici-boot): Ditto.
1962 (m2/gm2-libiberty): Ditto.
1963 (m2/gm2-gcc): Ditto.
1964 (m2/gm2-compiler): Ditto.
1965 (m2/gm2-libs): Ditto.
1966 (m2/gm2-libs-iso): Ditto.
1967 (m2/gm2-compiler-paranoid): Ditto.
1968 (m2/gm2-libs-paranoid): Ditto.
1969 (m2/gm2-compiler-verify): Ditto.
1970 (m2/boot-bin): Ditto.
1971 (m2/gm2-libs-pim): Ditto.
1972 (m2/gm2-libs-coroutines): Ditto.
1973 (m2/gm2-libs-min): Ditto.
1974 (m2/pge-boot): Ditto.
1980 (m2/gm2-auto): Ditto.
1981 (m2/gm2-pg-boot): Ditto.
1982 (m2/gm2-pge-boot): Ditto.
1983 (m2/gm2-ppg-boot): Ditto.
1984 (m2/mc-boot): Ditto.
1985 (m2/mc-boot-ch): Ditto.
1986 (m2/mc-boot-gen): Ditto.
1988 2023-01-09 Gaius Mulley <gaiusmod2@gmail.com>
1990 * Make-lang.in (m2/pge-boot/%.o): Add m2/gm2config.h.
1991 * gm2-libs/config-host: Regenerate.
1993 2023-01-07 Iain Sandoe <iain@sandoe.co.uk>
1995 * gm2-libs-min/libc.c (abort): Update declaration to match the
1996 expected form, add no-return attribute.
1997 (exit): Add no-return attribute.
1999 2023-01-05 Iain Sandoe <iain@sandoe.co.uk>
2002 * gm2-gcc/m2builtins.cc: Remove scalb, scalbf, scalbl,
2003 significand, significandf, significandl.
2004 * gm2-libs/Builtins.def (significand): Likewise.
2005 * gm2-libs/Builtins.mod: Likewise.
2006 * target-independent/Builtins.texi: Likewise.
2007 * gm2-libs-iso/LowLong.mod: Implement fraction with scalbn*() and
2009 * gm2-libs-iso/LowReal.mod: Likewise.
2010 * gm2-libs-iso/LowShort.mod: Likewise.
2012 2023-01-05 Gaius Mulley <gaiusmod2@gmail.com>
2014 * gm2-libs-min/M2RTS.def (ConstructModules): New procedure
2016 (DeconstructModules): New procedure declaration.
2017 * gm2-libs-min/M2RTS.mod (ConstructModules): New procedure
2018 dummy implementation.
2019 (DeconstructModules): New procedure dummy implementation.
2021 2023-01-05 Iain Sandoe <iain@sandoe.co.uk>
2023 * gm2spec.cc (lang_specific_driver): Handle static-libgm2.
2024 * lang.opt: Add static-libgm2.
2026 2023-01-05 Iain Sandoe <iain@sandoe.co.uk>
2028 * gm2spec.cc (lang_specific_driver): Pass -static-libstdc++ on to
2029 the target driver if the linker does not support Bstatic/dynamic.
2031 2023-01-04 Iain Sandoe <iain@sandoe.co.uk>
2034 * gm2-libs-ch/UnixArgs.cc (_M2_UnixArgs_ctor): Rework to use
2035 an extern "C" function with 'constructor' attribute.
2036 * gm2-libs-ch/dtoa.cc (_M2_dtoa_ctor): Likewise.
2037 * gm2-libs-ch/ldtoa.cc (_M2_ldtoa_ctor): Likewise.
2039 2023-01-04 Iain Sandoe <iain@sandoe.co.uk>
2042 * gm2-gcc/m2decl.cc (m2decl_DeclareModuleCtor): Make module
2043 registration constructors visible.
2045 2023-01-04 Iain Sandoe <iain@sandoe.co.uk>
2047 * Make-lang.in (dvi, ps, pdf): Build in the gcc/doc directory, also
2048 use the configured tools for texi -> dvi and texi -> pdf.
2050 2023-01-01 Iain Sandoe <iain@sandoe.co.uk>
2051 Gaius Mulley <gaiusmod2@gmail.com>
2054 * gm2-compiler/M2GCCDeclare.mod: Module registration constructors are
2055 externs to the builder of m2_link.
2057 2022-12-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2058 Iain Sandoe <iain@sandoe.co.uk>
2061 * Make-lang.in (soext): Use .dylib for Darwin.
2062 (PLUGINLDFLAGS): Use dynmic lookup, set the plugin name, and append
2063 -nodefaultlibs to suppress the linking of libstdc++.
2064 Use INCINTL in compile lines for the plugin.
2066 2022-12-21 Jakub Jelinek <jakub@redhat.com>
2069 * gm2-gcc/m2linemap.def (location_t): Use CARDINAL instead of INTEGER.
2071 2022-12-19 Jakub Jelinek <jakub@redhat.com>
2073 * gm2-gcc/m2linemap.cc (m2linemap_ErrorAt, m2linemap_ErrorAtf,
2074 m2linemap_WarningAtf, m2linemap_NoteAtf, m2linemap_internal_error):
2075 Call functions with "%s", message rather than just message, so that
2076 % chars in message aren't treated as format specifiers.
2078 2022-12-19 Jakub Jelinek <jakub@redhat.com>
2081 * gm2-gcc/m2linemap.def (ErrorAtf, WarningAtf, NoteAtf):
2082 Comment out prototypes with varargs.
2083 * gm2-gcc/m2linemap.h (m2linemap_ErrorAtf, m2linemap_WarningAtf,
2084 m2linemap_NoteAtf): No longer varargs.
2085 * gm2-gcc/m2linemap.cc (m2linemap_ErrorAtf): Turned into a
2086 non-varargs wrapper around ...
2087 (m2linemap_ErrorAtf_1): ... this. New static function.
2088 (m2linemap_WarningAtf): Turned into a non-varargs wrapper around ...
2089 (m2linemap_WarningAtf_1): ... this. New static function.
2090 (m2linemap_NoteAtf): Turned into a non-varargs wrapper around ...
2091 (m2linemap_NoteAtf_1): ... this. New static function.
2093 2022-12-15 Gaius Mulley <gaiusmod2@gmail.com>
2095 * configure.ac: Stop probing for realpath.
2096 * tools-src/calcpath: Break dependency on realpath, cut
2098 * configure: Rebuilt.
2100 2022-12-15 Gaius Mulley <gaiusmod2@gmail.com>
2102 * gm2config.h.in: Rebuilt.
2104 2022-12-14 Gaius Mulley <gaiusmod2@gmail.com>
2106 * COPYING.FDL: New file.
2107 * COPYING.RUNTIME: New file.
2108 * COPYING3: New file.
2109 * COPYING3.LIB: New file.
2110 * Make-lang.in: New file.
2111 * Make-maintainer.in: New file.
2114 * config-lang.in: New file.
2115 * config-make.in: New file.
2116 * configure.ac: New file.
2117 * gm2-compiler/CLexBuf.def: New file.
2118 * gm2-compiler/CLexBuf.mod: New file.
2119 * gm2-compiler/FifoQueue.def: New file.
2120 * gm2-compiler/FifoQueue.mod: New file.
2121 * gm2-compiler/Lists.def: New file.
2122 * gm2-compiler/Lists.mod: New file.
2123 * gm2-compiler/M2ALU.def: New file.
2124 * gm2-compiler/M2ALU.mod: New file.
2125 * gm2-compiler/M2AsmUtil.def: New file.
2126 * gm2-compiler/M2AsmUtil.mod: New file.
2127 * gm2-compiler/M2Base.def: New file.
2128 * gm2-compiler/M2Base.mod: New file.
2129 * gm2-compiler/M2BasicBlock.def: New file.
2130 * gm2-compiler/M2BasicBlock.mod: New file.
2131 * gm2-compiler/M2Batch.def: New file.
2132 * gm2-compiler/M2Batch.mod: New file.
2133 * gm2-compiler/M2Bitset.def: New file.
2134 * gm2-compiler/M2Bitset.mod: New file.
2135 * gm2-compiler/M2CaseList.def: New file.
2136 * gm2-compiler/M2CaseList.mod: New file.
2137 * gm2-compiler/M2Check.def: New file.
2138 * gm2-compiler/M2Check.mod: New file.
2139 * gm2-compiler/M2Code.def: New file.
2140 * gm2-compiler/M2Code.mod: New file.
2141 * gm2-compiler/M2ColorString.def: New file.
2142 * gm2-compiler/M2ColorString.mod: New file.
2143 * gm2-compiler/M2Comp.def: New file.
2144 * gm2-compiler/M2Comp.mod: New file.
2145 * gm2-compiler/M2Const.def: New file.
2146 * gm2-compiler/M2Const.mod: New file.
2147 * gm2-compiler/M2Debug.def: New file.
2148 * gm2-compiler/M2Debug.mod: New file.
2149 * gm2-compiler/M2DebugStack.def: New file.
2150 * gm2-compiler/M2DebugStack.mod: New file.
2151 * gm2-compiler/M2Defaults.def: New file.
2152 * gm2-compiler/M2Defaults.mod: New file.
2153 * gm2-compiler/M2DriverOptions.def: New file.
2154 * gm2-compiler/M2DriverOptions.mod: New file.
2155 * gm2-compiler/M2Emit.def: New file.
2156 * gm2-compiler/M2Emit.mod: New file.
2157 * gm2-compiler/M2Error.def: New file.
2158 * gm2-compiler/M2Error.mod: New file.
2159 * gm2-compiler/M2EvalSym.def: New file.
2160 * gm2-compiler/M2FileName.def: New file.
2161 * gm2-compiler/M2FileName.mod: New file.
2162 * gm2-compiler/M2GCCDeclare.def: New file.
2163 * gm2-compiler/M2GCCDeclare.mod: New file.
2164 * gm2-compiler/M2GenGCC.def: New file.
2165 * gm2-compiler/M2GenGCC.mod: New file.
2166 * gm2-compiler/M2Graph.def: New file.
2167 * gm2-compiler/M2Graph.mod: New file.
2168 * gm2-compiler/M2Lex.def: New file.
2169 * gm2-compiler/M2Lex.mod: New file.
2170 * gm2-compiler/M2LexBuf.def: New file.
2171 * gm2-compiler/M2LexBuf.mod: New file.
2172 * gm2-compiler/M2MetaError.def: New file.
2173 * gm2-compiler/M2MetaError.mod: New file.
2174 * gm2-compiler/M2Optimize.def: New file.
2175 * gm2-compiler/M2Optimize.mod: New file.
2176 * gm2-compiler/M2Options.def: New file.
2177 * gm2-compiler/M2Options.mod: New file.
2178 * gm2-compiler/M2Pass.def: New file.
2179 * gm2-compiler/M2Pass.mod: New file.
2180 * gm2-compiler/M2Preprocess.def: New file.
2181 * gm2-compiler/M2Preprocess.mod: New file.
2182 * gm2-compiler/M2Printf.def: New file.
2183 * gm2-compiler/M2Printf.mod: New file.
2184 * gm2-compiler/M2Quads.def: New file.
2185 * gm2-compiler/M2Quads.mod: New file.
2186 * gm2-compiler/M2Quiet.def: New file.
2187 * gm2-compiler/M2Quiet.mod: New file.
2188 * gm2-compiler/M2Range.def: New file.
2189 * gm2-compiler/M2Range.mod: New file.
2190 * gm2-compiler/M2Reserved.def: New file.
2191 * gm2-compiler/M2Reserved.mod: New file.
2192 * gm2-compiler/M2SSA.def: New file.
2193 * gm2-compiler/M2SSA.mod: New file.
2194 * gm2-compiler/M2Scaffold.def: New file.
2195 * gm2-compiler/M2Scaffold.mod: New file.
2196 * gm2-compiler/M2Scope.def: New file.
2197 * gm2-compiler/M2Scope.mod: New file.
2198 * gm2-compiler/M2Search.def: New file.
2199 * gm2-compiler/M2Search.mod: New file.
2200 * gm2-compiler/M2Size.def: New file.
2201 * gm2-compiler/M2Size.mod: New file.
2202 * gm2-compiler/M2StackAddress.def: New file.
2203 * gm2-compiler/M2StackAddress.mod: New file.
2204 * gm2-compiler/M2StackWord.def: New file.
2205 * gm2-compiler/M2StackWord.mod: New file.
2206 * gm2-compiler/M2Students.def: New file.
2207 * gm2-compiler/M2Students.mod: New file.
2208 * gm2-compiler/M2Swig.def: New file.
2209 * gm2-compiler/M2Swig.mod: New file.
2210 * gm2-compiler/M2System.def: New file.
2211 * gm2-compiler/M2System.mod: New file.
2212 * gm2-compiler/M2Version.def: New file.
2213 * gm2-compiler/NameKey.def: New file.
2214 * gm2-compiler/NameKey.mod: New file.
2215 * gm2-compiler/ObjectFiles.def: New file.
2216 * gm2-compiler/ObjectFiles.mod: New file.
2217 * gm2-compiler/Output.def: New file.
2218 * gm2-compiler/Output.mod: New file.
2219 * gm2-compiler/P0SymBuild.def: New file.
2220 * gm2-compiler/P0SymBuild.mod: New file.
2221 * gm2-compiler/P0SyntaxCheck.bnf: New file.
2222 * gm2-compiler/P0SyntaxCheck.def: New file.
2223 * gm2-compiler/P1Build.bnf: New file.
2224 * gm2-compiler/P1Build.def: New file.
2225 * gm2-compiler/P1SymBuild.def: New file.
2226 * gm2-compiler/P1SymBuild.mod: New file.
2227 * gm2-compiler/P2Build.bnf: New file.
2228 * gm2-compiler/P2Build.def: New file.
2229 * gm2-compiler/P2SymBuild.def: New file.
2230 * gm2-compiler/P2SymBuild.mod: New file.
2231 * gm2-compiler/P3Build.bnf: New file.
2232 * gm2-compiler/P3Build.def: New file.
2233 * gm2-compiler/P3SymBuild.def: New file.
2234 * gm2-compiler/P3SymBuild.mod: New file.
2235 * gm2-compiler/PCBuild.bnf: New file.
2236 * gm2-compiler/PCBuild.def: New file.
2237 * gm2-compiler/PCSymBuild.def: New file.
2238 * gm2-compiler/PCSymBuild.mod: New file.
2239 * gm2-compiler/PHBuild.bnf: New file.
2240 * gm2-compiler/PHBuild.def: New file.
2241 * gm2-compiler/README: New file.
2242 * gm2-compiler/Sets.def: New file.
2243 * gm2-compiler/Sets.mod: New file.
2244 * gm2-compiler/SymbolConversion.def: New file.
2245 * gm2-compiler/SymbolConversion.mod: New file.
2246 * gm2-compiler/SymbolKey.def: New file.
2247 * gm2-compiler/SymbolKey.mod: New file.
2248 * gm2-compiler/SymbolTable.def: New file.
2249 * gm2-compiler/SymbolTable.mod: New file.
2250 * gm2-compiler/bnflex.def: New file.
2251 * gm2-compiler/bnflex.mod: New file.
2252 * gm2-compiler/cflex.def: New file.
2253 * gm2-compiler/gm2.mod: New file.
2254 * gm2-compiler/gm2lcc.mod: New file.
2255 * gm2-compiler/gm2lgen.mod: New file.
2256 * gm2-compiler/gm2lorder.mod: New file.
2257 * gm2-compiler/m2flex.def: New file.
2258 * gm2-compiler/ppg.mod: New file.
2259 * gm2-gcc/README: New file.
2260 * gm2-gcc/dynamicstrings.h: New file.
2261 * gm2-gcc/gcc-consolidation.h: New file.
2262 * gm2-gcc/init.cc: New file.
2263 * gm2-gcc/init.def: New file.
2264 * gm2-gcc/init.h: New file.
2265 * gm2-gcc/m2assert.cc: New file.
2266 * gm2-gcc/m2assert.h: New file.
2267 * gm2-gcc/m2block.cc: New file.
2268 * gm2-gcc/m2block.def: New file.
2269 * gm2-gcc/m2block.h: New file.
2270 * gm2-gcc/m2builtins.cc: New file.
2271 * gm2-gcc/m2builtins.def: New file.
2272 * gm2-gcc/m2builtins.h: New file.
2273 * gm2-gcc/m2color.cc: New file.
2274 * gm2-gcc/m2color.def: New file.
2275 * gm2-gcc/m2color.h: New file.
2276 * gm2-gcc/m2configure.cc: New file.
2277 * gm2-gcc/m2configure.def: New file.
2278 * gm2-gcc/m2configure.h: New file.
2279 * gm2-gcc/m2convert.cc: New file.
2280 * gm2-gcc/m2convert.def: New file.
2281 * gm2-gcc/m2convert.h: New file.
2282 * gm2-gcc/m2decl.cc: New file.
2283 * gm2-gcc/m2decl.def: New file.
2284 * gm2-gcc/m2decl.h: New file.
2285 * gm2-gcc/m2except.cc: New file.
2286 * gm2-gcc/m2except.def: New file.
2287 * gm2-gcc/m2except.h: New file.
2288 * gm2-gcc/m2expr.cc: New file.
2289 * gm2-gcc/m2expr.def: New file.
2290 * gm2-gcc/m2expr.h: New file.
2291 * gm2-gcc/m2linemap.cc: New file.
2292 * gm2-gcc/m2linemap.def: New file.
2293 * gm2-gcc/m2linemap.h: New file.
2294 * gm2-gcc/m2misc.cc: New file.
2295 * gm2-gcc/m2misc.def: New file.
2296 * gm2-gcc/m2misc.h: New file.
2297 * gm2-gcc/m2options.h: New file.
2298 * gm2-gcc/m2range.h: New file.
2299 * gm2-gcc/m2search.h: New file.
2300 * gm2-gcc/m2statement.cc: New file.
2301 * gm2-gcc/m2statement.def: New file.
2302 * gm2-gcc/m2statement.h: New file.
2303 * gm2-gcc/m2top.cc: New file.
2304 * gm2-gcc/m2top.def: New file.
2305 * gm2-gcc/m2top.h: New file.
2306 * gm2-gcc/m2tree.cc: New file.
2307 * gm2-gcc/m2tree.def: New file.
2308 * gm2-gcc/m2tree.h: New file.
2309 * gm2-gcc/m2treelib.cc: New file.
2310 * gm2-gcc/m2treelib.def: New file.
2311 * gm2-gcc/m2treelib.h: New file.
2312 * gm2-gcc/m2type.cc: New file.
2313 * gm2-gcc/m2type.def: New file.
2314 * gm2-gcc/m2type.h: New file.
2315 * gm2-gcc/rtegraph.cc: New file.
2316 * gm2-gcc/rtegraph.h: New file.
2317 * gm2-ici/M2Emit.mod: New file.
2318 * gm2-ici/README: New file.
2319 * gm2-ici/m2linemap.c: New file.
2320 * gm2-internals.texi: New file.
2321 * gm2-lang.cc: New file.
2322 * gm2-lang.h: New file.
2323 * gm2-libiberty/README: New file.
2324 * gm2-libiberty/choosetemp.def: New file.
2325 * gm2-libiberty/pexecute.def: New file.
2326 * gm2-libs-ch/M2LINK.c: New file.
2327 * gm2-libs-ch/README: New file.
2328 * gm2-libs-ch/RTcodummy.c: New file.
2329 * gm2-libs-ch/RTintdummy.c: New file.
2330 * gm2-libs-ch/Selective.c: New file.
2331 * gm2-libs-ch/SysExceptions.c: New file.
2332 * gm2-libs-ch/UnixArgs.cc: New file.
2333 * gm2-libs-ch/cgetopt.c: New file.
2334 * gm2-libs-ch/choosetemp.c: New file.
2335 * gm2-libs-ch/dtoa.cc: New file.
2336 * gm2-libs-ch/errno.c: New file.
2337 * gm2-libs-ch/host.c: New file.
2338 * gm2-libs-ch/ldtoa.cc: New file.
2339 * gm2-libs-ch/m2rts.h: New file.
2340 * gm2-libs-ch/termios.c: New file.
2341 * gm2-libs-ch/tools.c: New file.
2342 * gm2-libs-ch/wrapc.c: New file.
2343 * gm2-libs-ch/xlibc.c: New file.
2344 * gm2-libs-coroutines/Debug.def: New file.
2345 * gm2-libs-coroutines/Debug.mod: New file.
2346 * gm2-libs-coroutines/Executive.def: New file.
2347 * gm2-libs-coroutines/Executive.mod: New file.
2348 * gm2-libs-coroutines/KeyBoardLEDs.def: New file.
2349 * gm2-libs-coroutines/README.texi: New file.
2350 * gm2-libs-coroutines/SYSTEM.def: New file.
2351 * gm2-libs-coroutines/SYSTEM.mod: New file.
2352 * gm2-libs-coroutines/TimerHandler.def: New file.
2353 * gm2-libs-coroutines/TimerHandler.mod: New file.
2354 * gm2-libs-iso/COROUTINES.def: New file.
2355 * gm2-libs-iso/COROUTINES.mod: New file.
2356 * gm2-libs-iso/ChanConsts.def: New file.
2357 * gm2-libs-iso/ChanConsts.h: New file.
2358 * gm2-libs-iso/ChanConsts.mod: New file.
2359 * gm2-libs-iso/CharClass.def: New file.
2360 * gm2-libs-iso/CharClass.mod: New file.
2361 * gm2-libs-iso/ClientSocket.def: New file.
2362 * gm2-libs-iso/ClientSocket.mod: New file.
2363 * gm2-libs-iso/ComplexMath.def: New file.
2364 * gm2-libs-iso/ComplexMath.mod: New file.
2365 * gm2-libs-iso/ConvStringLong.def: New file.
2366 * gm2-libs-iso/ConvStringLong.mod: New file.
2367 * gm2-libs-iso/ConvStringReal.def: New file.
2368 * gm2-libs-iso/ConvStringReal.mod: New file.
2369 * gm2-libs-iso/ConvTypes.def: New file.
2370 * gm2-libs-iso/ConvTypes.mod: New file.
2371 * gm2-libs-iso/EXCEPTIONS.def: New file.
2372 * gm2-libs-iso/EXCEPTIONS.mod: New file.
2373 * gm2-libs-iso/ErrnoCategory.def: New file.
2374 * gm2-libs-iso/GeneralUserExceptions.def: New file.
2375 * gm2-libs-iso/GeneralUserExceptions.mod: New file.
2376 * gm2-libs-iso/IOChan.def: New file.
2377 * gm2-libs-iso/IOChan.mod: New file.
2378 * gm2-libs-iso/IOConsts.def: New file.
2379 * gm2-libs-iso/IOConsts.mod: New file.
2380 * gm2-libs-iso/IOLink.def: New file.
2381 * gm2-libs-iso/IOLink.mod: New file.
2382 * gm2-libs-iso/IOResult.def: New file.
2383 * gm2-libs-iso/IOResult.mod: New file.
2384 * gm2-libs-iso/LongComplexMath.def: New file.
2385 * gm2-libs-iso/LongComplexMath.mod: New file.
2386 * gm2-libs-iso/LongConv.def: New file.
2387 * gm2-libs-iso/LongConv.mod: New file.
2388 * gm2-libs-iso/LongIO.def: New file.
2389 * gm2-libs-iso/LongIO.mod: New file.
2390 * gm2-libs-iso/LongMath.def: New file.
2391 * gm2-libs-iso/LongMath.mod: New file.
2392 * gm2-libs-iso/LongStr.def: New file.
2393 * gm2-libs-iso/LongStr.mod: New file.
2394 * gm2-libs-iso/LongWholeIO.def: New file.
2395 * gm2-libs-iso/LongWholeIO.mod: New file.
2396 * gm2-libs-iso/LowLong.def: New file.
2397 * gm2-libs-iso/LowLong.mod: New file.
2398 * gm2-libs-iso/LowReal.def: New file.
2399 * gm2-libs-iso/LowReal.mod: New file.
2400 * gm2-libs-iso/LowShort.def: New file.
2401 * gm2-libs-iso/LowShort.mod: New file.
2402 * gm2-libs-iso/M2EXCEPTION.def: New file.
2403 * gm2-libs-iso/M2EXCEPTION.mod: New file.
2404 * gm2-libs-iso/M2RTS.def: New file.
2405 * gm2-libs-iso/M2RTS.mod: New file.
2406 * gm2-libs-iso/MemStream.def: New file.
2407 * gm2-libs-iso/MemStream.mod: New file.
2408 * gm2-libs-iso/Preemptive.def: New file.
2409 * gm2-libs-iso/Preemptive.mod: New file.
2410 * gm2-libs-iso/Processes.def: New file.
2411 * gm2-libs-iso/Processes.mod: New file.
2412 * gm2-libs-iso/ProgramArgs.def: New file.
2413 * gm2-libs-iso/ProgramArgs.mod: New file.
2414 * gm2-libs-iso/README.texi: New file.
2415 * gm2-libs-iso/RTco.def: New file.
2416 * gm2-libs-iso/RTdata.def: New file.
2417 * gm2-libs-iso/RTdata.mod: New file.
2418 * gm2-libs-iso/RTentity.def: New file.
2419 * gm2-libs-iso/RTentity.mod: New file.
2420 * gm2-libs-iso/RTfio.def: New file.
2421 * gm2-libs-iso/RTfio.mod: New file.
2422 * gm2-libs-iso/RTgen.def: New file.
2423 * gm2-libs-iso/RTgen.mod: New file.
2424 * gm2-libs-iso/RTgenif.def: New file.
2425 * gm2-libs-iso/RTgenif.mod: New file.
2426 * gm2-libs-iso/RTio.def: New file.
2427 * gm2-libs-iso/RTio.mod: New file.
2428 * gm2-libs-iso/RandomNumber.def: New file.
2429 * gm2-libs-iso/RandomNumber.mod: New file.
2430 * gm2-libs-iso/RawIO.def: New file.
2431 * gm2-libs-iso/RawIO.mod: New file.
2432 * gm2-libs-iso/RealConv.def: New file.
2433 * gm2-libs-iso/RealConv.mod: New file.
2434 * gm2-libs-iso/RealIO.def: New file.
2435 * gm2-libs-iso/RealIO.mod: New file.
2436 * gm2-libs-iso/RealMath.def: New file.
2437 * gm2-libs-iso/RealMath.mod: New file.
2438 * gm2-libs-iso/RealStr.def: New file.
2439 * gm2-libs-iso/RealStr.mod: New file.
2440 * gm2-libs-iso/RndFile.def: New file.
2441 * gm2-libs-iso/RndFile.mod: New file.
2442 * gm2-libs-iso/SIOResult.def: New file.
2443 * gm2-libs-iso/SIOResult.mod: New file.
2444 * gm2-libs-iso/SLongIO.def: New file.
2445 * gm2-libs-iso/SLongIO.mod: New file.
2446 * gm2-libs-iso/SLongWholeIO.def: New file.
2447 * gm2-libs-iso/SLongWholeIO.mod: New file.
2448 * gm2-libs-iso/SRawIO.def: New file.
2449 * gm2-libs-iso/SRawIO.mod: New file.
2450 * gm2-libs-iso/SRealIO.def: New file.
2451 * gm2-libs-iso/SRealIO.mod: New file.
2452 * gm2-libs-iso/SShortIO.def: New file.
2453 * gm2-libs-iso/SShortIO.mod: New file.
2454 * gm2-libs-iso/SShortWholeIO.def: New file.
2455 * gm2-libs-iso/SShortWholeIO.mod: New file.
2456 * gm2-libs-iso/STextIO.def: New file.
2457 * gm2-libs-iso/STextIO.mod: New file.
2458 * gm2-libs-iso/SWholeIO.def: New file.
2459 * gm2-libs-iso/SWholeIO.mod: New file.
2460 * gm2-libs-iso/SYSTEM.def: New file.
2461 * gm2-libs-iso/SYSTEM.mod: New file.
2462 * gm2-libs-iso/Semaphores.def: New file.
2463 * gm2-libs-iso/Semaphores.mod: New file.
2464 * gm2-libs-iso/SeqFile.def: New file.
2465 * gm2-libs-iso/SeqFile.mod: New file.
2466 * gm2-libs-iso/ShortComplexMath.def: New file.
2467 * gm2-libs-iso/ShortComplexMath.mod: New file.
2468 * gm2-libs-iso/ShortIO.def: New file.
2469 * gm2-libs-iso/ShortIO.mod: New file.
2470 * gm2-libs-iso/ShortWholeIO.def: New file.
2471 * gm2-libs-iso/ShortWholeIO.mod: New file.
2472 * gm2-libs-iso/SimpleCipher.def: New file.
2473 * gm2-libs-iso/SimpleCipher.mod: New file.
2474 * gm2-libs-iso/StdChans.def: New file.
2475 * gm2-libs-iso/StdChans.mod: New file.
2476 * gm2-libs-iso/Storage.def: New file.
2477 * gm2-libs-iso/Storage.mod: New file.
2478 * gm2-libs-iso/StreamFile.def: New file.
2479 * gm2-libs-iso/StreamFile.mod: New file.
2480 * gm2-libs-iso/StringChan.def: New file.
2481 * gm2-libs-iso/StringChan.mod: New file.
2482 * gm2-libs-iso/Strings.def: New file.
2483 * gm2-libs-iso/Strings.mod: New file.
2484 * gm2-libs-iso/SysClock.def: New file.
2485 * gm2-libs-iso/SysClock.mod: New file.
2486 * gm2-libs-iso/TERMINATION.def: New file.
2487 * gm2-libs-iso/TERMINATION.mod: New file.
2488 * gm2-libs-iso/TermFile.def: New file.
2489 * gm2-libs-iso/TermFile.mod: New file.
2490 * gm2-libs-iso/TextIO.def: New file.
2491 * gm2-libs-iso/TextIO.mod: New file.
2492 * gm2-libs-iso/WholeConv.def: New file.
2493 * gm2-libs-iso/WholeConv.mod: New file.
2494 * gm2-libs-iso/WholeIO.def: New file.
2495 * gm2-libs-iso/WholeIO.mod: New file.
2496 * gm2-libs-iso/WholeStr.def: New file.
2497 * gm2-libs-iso/WholeStr.mod: New file.
2498 * gm2-libs-iso/wrapsock.c: New file.
2499 * gm2-libs-iso/wrapsock.def: New file.
2500 * gm2-libs-iso/wraptime.c: New file.
2501 * gm2-libs-iso/wraptime.def: New file.
2502 * gm2-libs-min/M2RTS.def: New file.
2503 * gm2-libs-min/M2RTS.mod: New file.
2504 * gm2-libs-min/SYSTEM.def: New file.
2505 * gm2-libs-min/SYSTEM.mod: New file.
2506 * gm2-libs-min/libc.c: New file.
2507 * gm2-libs-min/libc.def: New file.
2508 * gm2-libs-pim/BitBlockOps.def: New file.
2509 * gm2-libs-pim/BitBlockOps.mod: New file.
2510 * gm2-libs-pim/BitByteOps.def: New file.
2511 * gm2-libs-pim/BitByteOps.mod: New file.
2512 * gm2-libs-pim/BitWordOps.def: New file.
2513 * gm2-libs-pim/BitWordOps.mod: New file.
2514 * gm2-libs-pim/BlockOps.def: New file.
2515 * gm2-libs-pim/BlockOps.mod: New file.
2516 * gm2-libs-pim/Break.c: New file.
2517 * gm2-libs-pim/Break.def: New file.
2518 * gm2-libs-pim/CardinalIO.def: New file.
2519 * gm2-libs-pim/CardinalIO.mod: New file.
2520 * gm2-libs-pim/Conversions.def: New file.
2521 * gm2-libs-pim/Conversions.mod: New file.
2522 * gm2-libs-pim/DebugPMD.def: New file.
2523 * gm2-libs-pim/DebugPMD.mod: New file.
2524 * gm2-libs-pim/DebugTrace.def: New file.
2525 * gm2-libs-pim/DebugTrace.mod: New file.
2526 * gm2-libs-pim/Delay.def: New file.
2527 * gm2-libs-pim/Delay.mod: New file.
2528 * gm2-libs-pim/Display.def: New file.
2529 * gm2-libs-pim/Display.mod: New file.
2530 * gm2-libs-pim/ErrorCode.def: New file.
2531 * gm2-libs-pim/ErrorCode.mod: New file.
2532 * gm2-libs-pim/FileSystem.def: New file.
2533 * gm2-libs-pim/FileSystem.mod: New file.
2534 * gm2-libs-pim/FloatingUtilities.def: New file.
2535 * gm2-libs-pim/FloatingUtilities.mod: New file.
2536 * gm2-libs-pim/InOut.def: New file.
2537 * gm2-libs-pim/InOut.mod: New file.
2538 * gm2-libs-pim/Keyboard.def: New file.
2539 * gm2-libs-pim/Keyboard.mod: New file.
2540 * gm2-libs-pim/LongIO.def: New file.
2541 * gm2-libs-pim/LongIO.mod: New file.
2542 * gm2-libs-pim/NumberConversion.def: New file.
2543 * gm2-libs-pim/NumberConversion.mod: New file.
2544 * gm2-libs-pim/README.texi: New file.
2545 * gm2-libs-pim/Random.def: New file.
2546 * gm2-libs-pim/Random.mod: New file.
2547 * gm2-libs-pim/RealConversions.def: New file.
2548 * gm2-libs-pim/RealConversions.mod: New file.
2549 * gm2-libs-pim/RealInOut.def: New file.
2550 * gm2-libs-pim/RealInOut.mod: New file.
2551 * gm2-libs-pim/Strings.def: New file.
2552 * gm2-libs-pim/Strings.mod: New file.
2553 * gm2-libs-pim/Termbase.def: New file.
2554 * gm2-libs-pim/Termbase.mod: New file.
2555 * gm2-libs-pim/Terminal.def: New file.
2556 * gm2-libs-pim/Terminal.mod: New file.
2557 * gm2-libs-pim/TimeDate.def: New file.
2558 * gm2-libs-pim/TimeDate.mod: New file.
2559 * gm2-libs/ASCII.def: New file.
2560 * gm2-libs/ASCII.mod: New file.
2561 * gm2-libs/Args.def: New file.
2562 * gm2-libs/Args.mod: New file.
2563 * gm2-libs/Assertion.def: New file.
2564 * gm2-libs/Assertion.mod: New file.
2565 * gm2-libs/Break.def: New file.
2566 * gm2-libs/Break.mod: New file.
2567 * gm2-libs/Builtins.def: New file.
2568 * gm2-libs/Builtins.mod: New file.
2569 * gm2-libs/COROUTINES.def: New file.
2570 * gm2-libs/COROUTINES.mod: New file.
2571 * gm2-libs/CmdArgs.def: New file.
2572 * gm2-libs/CmdArgs.mod: New file.
2573 * gm2-libs/Debug.def: New file.
2574 * gm2-libs/Debug.mod: New file.
2575 * gm2-libs/DynamicStrings.def: New file.
2576 * gm2-libs/DynamicStrings.mod: New file.
2577 * gm2-libs/Environment.def: New file.
2578 * gm2-libs/Environment.mod: New file.
2579 * gm2-libs/FIO.def: New file.
2580 * gm2-libs/FIO.mod: New file.
2581 * gm2-libs/FormatStrings.def: New file.
2582 * gm2-libs/FormatStrings.mod: New file.
2583 * gm2-libs/FpuIO.def: New file.
2584 * gm2-libs/FpuIO.mod: New file.
2585 * gm2-libs/GetOpt.def: New file.
2586 * gm2-libs/GetOpt.mod: New file.
2587 * gm2-libs/IO.def: New file.
2588 * gm2-libs/IO.mod: New file.
2589 * gm2-libs/Indexing.def: New file.
2590 * gm2-libs/Indexing.mod: New file.
2591 * gm2-libs/LMathLib0.def: New file.
2592 * gm2-libs/LMathLib0.mod: New file.
2593 * gm2-libs/LegacyReal.def: New file.
2594 * gm2-libs/LegacyReal.mod: New file.
2595 * gm2-libs/M2Dependent.def: New file.
2596 * gm2-libs/M2Dependent.mod: New file.
2597 * gm2-libs/M2EXCEPTION.def: New file.
2598 * gm2-libs/M2EXCEPTION.mod: New file.
2599 * gm2-libs/M2LINK.def: New file.
2600 * gm2-libs/M2RTS.def: New file.
2601 * gm2-libs/M2RTS.mod: New file.
2602 * gm2-libs/MathLib0.def: New file.
2603 * gm2-libs/MathLib0.mod: New file.
2604 * gm2-libs/MemUtils.def: New file.
2605 * gm2-libs/MemUtils.mod: New file.
2606 * gm2-libs/NumberIO.def: New file.
2607 * gm2-libs/NumberIO.mod: New file.
2608 * gm2-libs/OptLib.def: New file.
2609 * gm2-libs/OptLib.mod: New file.
2610 * gm2-libs/PushBackInput.def: New file.
2611 * gm2-libs/PushBackInput.mod: New file.
2612 * gm2-libs/README.texi: New file.
2613 * gm2-libs/RTExceptions.def: New file.
2614 * gm2-libs/RTExceptions.mod: New file.
2615 * gm2-libs/RTint.def: New file.
2616 * gm2-libs/RTint.mod: New file.
2617 * gm2-libs/SArgs.def: New file.
2618 * gm2-libs/SArgs.mod: New file.
2619 * gm2-libs/SCmdArgs.def: New file.
2620 * gm2-libs/SCmdArgs.mod: New file.
2621 * gm2-libs/SEnvironment.def: New file.
2622 * gm2-libs/SEnvironment.mod: New file.
2623 * gm2-libs/SFIO.def: New file.
2624 * gm2-libs/SFIO.mod: New file.
2625 * gm2-libs/SMathLib0.def: New file.
2626 * gm2-libs/SMathLib0.mod: New file.
2627 * gm2-libs/SYSTEM.def: New file.
2628 * gm2-libs/SYSTEM.mod: New file.
2629 * gm2-libs/Scan.def: New file.
2630 * gm2-libs/Scan.mod: New file.
2631 * gm2-libs/Selective.def: New file.
2632 * gm2-libs/StdIO.def: New file.
2633 * gm2-libs/StdIO.mod: New file.
2634 * gm2-libs/Storage.def: New file.
2635 * gm2-libs/Storage.mod: New file.
2636 * gm2-libs/StrCase.def: New file.
2637 * gm2-libs/StrCase.mod: New file.
2638 * gm2-libs/StrIO.def: New file.
2639 * gm2-libs/StrIO.mod: New file.
2640 * gm2-libs/StrLib.def: New file.
2641 * gm2-libs/StrLib.mod: New file.
2642 * gm2-libs/StringConvert.def: New file.
2643 * gm2-libs/StringConvert.mod: New file.
2644 * gm2-libs/SysExceptions.def: New file.
2645 * gm2-libs/SysStorage.def: New file.
2646 * gm2-libs/SysStorage.mod: New file.
2647 * gm2-libs/TimeString.def: New file.
2648 * gm2-libs/TimeString.mod: New file.
2649 * gm2-libs/UnixArgs.def: New file.
2650 * gm2-libs/cbuiltin.def: New file.
2651 * gm2-libs/cgetopt.def: New file.
2652 * gm2-libs/config-host: New file.
2653 * gm2-libs/config-host.in: New file.
2654 * gm2-libs/cxxabi.def: New file.
2655 * gm2-libs/dtoa.def: New file.
2656 * gm2-libs/errno.def: New file.
2657 * gm2-libs/gdbif.def: New file.
2658 * gm2-libs/gdbif.mod: New file.
2659 * gm2-libs/gm2-libs-host.h.in: New file.
2660 * gm2-libs/ldtoa.def: New file.
2661 * gm2-libs/libc.def: New file.
2662 * gm2-libs/libm.def: New file.
2663 * gm2-libs/sckt.def: New file.
2664 * gm2-libs/termios.def: New file.
2665 * gm2-libs/wrapc.def: New file.
2666 * gm2config.h.in: New file.
2667 * gm2spec.cc: New file.
2668 * gm2version.h: New file.
2669 * init/README: New file.
2670 * init/mcinit: New file.
2671 * init/ppginit: New file.
2672 * lang-specs.h: New file.
2673 * lang.opt: New file.
2674 * m2-tree.def: New file.
2675 * m2-tree.h: New file.
2676 * m2.flex: New file.
2677 * m2pp.cc: New file.
2679 * mc-boot-ch/GBuiltins.c: New file.
2680 * mc-boot-ch/GM2LINK.c: New file.
2681 * mc-boot-ch/GRTco.c: New file.
2682 * mc-boot-ch/GSYSTEM.c: New file.
2683 * mc-boot-ch/GSelective.c: New file.
2684 * mc-boot-ch/GSysExceptions.c: New file.
2685 * mc-boot-ch/GUnixArgs.cc: New file.
2686 * mc-boot-ch/Gabort.c: New file.
2687 * mc-boot-ch/Gcbuiltin.c: New file.
2688 * mc-boot-ch/Gdtoa.c: New file.
2689 * mc-boot-ch/Gerrno.c: New file.
2690 * mc-boot-ch/Gldtoa.c: New file.
2691 * mc-boot-ch/Glibc.c: New file.
2692 * mc-boot-ch/Glibm.c: New file.
2693 * mc-boot-ch/Gmcrts.c: New file.
2694 * mc-boot-ch/Gmcrts.h: New file.
2695 * mc-boot-ch/Gnetwork.h: New file.
2696 * mc-boot-ch/Gtermios.cc: New file.
2697 * mc-boot-ch/Gwrapc.c: New file.
2698 * mc-boot-ch/README: New file.
2699 * mc-boot-ch/m2rts.h: New file.
2700 * mc-boot-ch/network.c: New file.
2701 * mc-boot/GASCII.c: New file.
2702 * mc-boot/GASCII.h: New file.
2703 * mc-boot/GArgs.c: New file.
2704 * mc-boot/GArgs.h: New file.
2705 * mc-boot/GAssertion.c: New file.
2706 * mc-boot/GAssertion.h: New file.
2707 * mc-boot/GBreak.c: New file.
2708 * mc-boot/GBreak.h: New file.
2709 * mc-boot/GCOROUTINES.h: New file.
2710 * mc-boot/GCmdArgs.c: New file.
2711 * mc-boot/GCmdArgs.h: New file.
2712 * mc-boot/GDebug.c: New file.
2713 * mc-boot/GDebug.h: New file.
2714 * mc-boot/GDynamicStrings.c: New file.
2715 * mc-boot/GDynamicStrings.h: New file.
2716 * mc-boot/GEnvironment.c: New file.
2717 * mc-boot/GEnvironment.h: New file.
2718 * mc-boot/GFIO.c: New file.
2719 * mc-boot/GFIO.h: New file.
2720 * mc-boot/GFormatStrings.c: New file.
2721 * mc-boot/GFormatStrings.h: New file.
2722 * mc-boot/GFpuIO.c: New file.
2723 * mc-boot/GFpuIO.h: New file.
2724 * mc-boot/GIO.c: New file.
2725 * mc-boot/GIO.h: New file.
2726 * mc-boot/GIndexing.c: New file.
2727 * mc-boot/GIndexing.h: New file.
2728 * mc-boot/GM2Dependent.c: New file.
2729 * mc-boot/GM2Dependent.h: New file.
2730 * mc-boot/GM2EXCEPTION.c: New file.
2731 * mc-boot/GM2EXCEPTION.h: New file.
2732 * mc-boot/GM2LINK.h: New file.
2733 * mc-boot/GM2RTS.c: New file.
2734 * mc-boot/GM2RTS.h: New file.
2735 * mc-boot/GMemUtils.c: New file.
2736 * mc-boot/GMemUtils.h: New file.
2737 * mc-boot/GNumberIO.c: New file.
2738 * mc-boot/GNumberIO.h: New file.
2739 * mc-boot/GPushBackInput.c: New file.
2740 * mc-boot/GPushBackInput.h: New file.
2741 * mc-boot/GRTExceptions.c: New file.
2742 * mc-boot/GRTExceptions.h: New file.
2743 * mc-boot/GRTco.h: New file.
2744 * mc-boot/GRTint.c: New file.
2745 * mc-boot/GRTint.h: New file.
2746 * mc-boot/GSArgs.c: New file.
2747 * mc-boot/GSArgs.h: New file.
2748 * mc-boot/GSFIO.c: New file.
2749 * mc-boot/GSFIO.h: New file.
2750 * mc-boot/GSYSTEM.h: New file.
2751 * mc-boot/GSelective.h: New file.
2752 * mc-boot/GStdIO.c: New file.
2753 * mc-boot/GStdIO.h: New file.
2754 * mc-boot/GStorage.c: New file.
2755 * mc-boot/GStorage.h: New file.
2756 * mc-boot/GStrCase.c: New file.
2757 * mc-boot/GStrCase.h: New file.
2758 * mc-boot/GStrIO.c: New file.
2759 * mc-boot/GStrIO.h: New file.
2760 * mc-boot/GStrLib.c: New file.
2761 * mc-boot/GStrLib.h: New file.
2762 * mc-boot/GStringConvert.c: New file.
2763 * mc-boot/GStringConvert.h: New file.
2764 * mc-boot/GSysExceptions.h: New file.
2765 * mc-boot/GSysStorage.c: New file.
2766 * mc-boot/GSysStorage.h: New file.
2767 * mc-boot/GTimeString.c: New file.
2768 * mc-boot/GTimeString.h: New file.
2769 * mc-boot/GUnixArgs.h: New file.
2770 * mc-boot/Galists.c: New file.
2771 * mc-boot/Galists.h: New file.
2772 * mc-boot/Gdecl.c: New file.
2773 * mc-boot/Gdecl.h: New file.
2774 * mc-boot/Gdtoa.h: New file.
2775 * mc-boot/Gerrno.h: New file.
2776 * mc-boot/Gkeyc.c: New file.
2777 * mc-boot/Gkeyc.h: New file.
2778 * mc-boot/Gldtoa.h: New file.
2779 * mc-boot/Glibc.h: New file.
2780 * mc-boot/Glibm.h: New file.
2781 * mc-boot/Glists.c: New file.
2782 * mc-boot/Glists.h: New file.
2783 * mc-boot/GmcComment.c: New file.
2784 * mc-boot/GmcComment.h: New file.
2785 * mc-boot/GmcComp.c: New file.
2786 * mc-boot/GmcComp.h: New file.
2787 * mc-boot/GmcDebug.c: New file.
2788 * mc-boot/GmcDebug.h: New file.
2789 * mc-boot/GmcError.c: New file.
2790 * mc-boot/GmcError.h: New file.
2791 * mc-boot/GmcFileName.c: New file.
2792 * mc-boot/GmcFileName.h: New file.
2793 * mc-boot/GmcLexBuf.c: New file.
2794 * mc-boot/GmcLexBuf.h: New file.
2795 * mc-boot/GmcMetaError.c: New file.
2796 * mc-boot/GmcMetaError.h: New file.
2797 * mc-boot/GmcOptions.c: New file.
2798 * mc-boot/GmcOptions.h: New file.
2799 * mc-boot/GmcPreprocess.c: New file.
2800 * mc-boot/GmcPreprocess.h: New file.
2801 * mc-boot/GmcPretty.c: New file.
2802 * mc-boot/GmcPretty.h: New file.
2803 * mc-boot/GmcPrintf.c: New file.
2804 * mc-boot/GmcPrintf.h: New file.
2805 * mc-boot/GmcQuiet.c: New file.
2806 * mc-boot/GmcQuiet.h: New file.
2807 * mc-boot/GmcReserved.c: New file.
2808 * mc-boot/GmcReserved.h: New file.
2809 * mc-boot/GmcSearch.c: New file.
2810 * mc-boot/GmcSearch.h: New file.
2811 * mc-boot/GmcStack.c: New file.
2812 * mc-boot/GmcStack.h: New file.
2813 * mc-boot/GmcStream.c: New file.
2814 * mc-boot/GmcStream.h: New file.
2815 * mc-boot/Gmcflex.h: New file.
2816 * mc-boot/Gmcp1.c: New file.
2817 * mc-boot/Gmcp1.h: New file.
2818 * mc-boot/Gmcp2.c: New file.
2819 * mc-boot/Gmcp2.h: New file.
2820 * mc-boot/Gmcp3.c: New file.
2821 * mc-boot/Gmcp3.h: New file.
2822 * mc-boot/Gmcp4.c: New file.
2823 * mc-boot/Gmcp4.h: New file.
2824 * mc-boot/Gmcp5.c: New file.
2825 * mc-boot/Gmcp5.h: New file.
2826 * mc-boot/GnameKey.c: New file.
2827 * mc-boot/GnameKey.h: New file.
2828 * mc-boot/Gpth.h: New file.
2829 * mc-boot/GsymbolKey.c: New file.
2830 * mc-boot/GsymbolKey.h: New file.
2831 * mc-boot/Gtermios.h: New file.
2832 * mc-boot/Gtop.c: New file.
2833 * mc-boot/Gvarargs.c: New file.
2834 * mc-boot/Gvarargs.h: New file.
2835 * mc-boot/Gwlists.c: New file.
2836 * mc-boot/Gwlists.h: New file.
2837 * mc-boot/Gwrapc.h: New file.
2838 * mc-boot/README: New file.
2839 * mc/Indexing.def: New file.
2840 * mc/Indexing.mod: New file.
2841 * mc/README: New file.
2842 * mc/alists.def: New file.
2843 * mc/alists.mod: New file.
2844 * mc/decl.def: New file.
2845 * mc/decl.mod: New file.
2846 * mc/decl.mod-extra: New file.
2847 * mc/keyc.def: New file.
2848 * mc/keyc.mod: New file.
2849 * mc/lists.def: New file.
2850 * mc/lists.mod: New file.
2851 * mc/m2flex.def: New file.
2852 * mc/mc.flex: New file.
2853 * mc/mcComment.def: New file.
2854 * mc/mcComment.h: New file.
2855 * mc/mcComment.mod: New file.
2856 * mc/mcComp.def: New file.
2857 * mc/mcComp.mod: New file.
2858 * mc/mcDebug.def: New file.
2859 * mc/mcDebug.mod: New file.
2860 * mc/mcError.def: New file.
2861 * mc/mcError.mod: New file.
2862 * mc/mcFileName.def: New file.
2863 * mc/mcFileName.mod: New file.
2864 * mc/mcLexBuf.def: New file.
2865 * mc/mcLexBuf.h: New file.
2866 * mc/mcLexBuf.mod: New file.
2867 * mc/mcMetaError.def: New file.
2868 * mc/mcMetaError.mod: New file.
2869 * mc/mcOptions.def: New file.
2870 * mc/mcOptions.mod: New file.
2871 * mc/mcPreprocess.def: New file.
2872 * mc/mcPreprocess.mod: New file.
2873 * mc/mcPretty.def: New file.
2874 * mc/mcPretty.mod: New file.
2875 * mc/mcPrintf.def: New file.
2876 * mc/mcPrintf.mod: New file.
2877 * mc/mcQuiet.def: New file.
2878 * mc/mcQuiet.mod: New file.
2879 * mc/mcReserved.def: New file.
2880 * mc/mcReserved.h: New file.
2881 * mc/mcReserved.mod: New file.
2882 * mc/mcSearch.def: New file.
2883 * mc/mcSearch.mod: New file.
2884 * mc/mcStack.def: New file.
2885 * mc/mcStack.mod: New file.
2886 * mc/mcStream.def: New file.
2887 * mc/mcStream.mod: New file.
2888 * mc/mcflex.def: New file.
2889 * mc/mcp1.bnf: New file.
2890 * mc/mcp1.def: New file.
2891 * mc/mcp2.bnf: New file.
2892 * mc/mcp2.def: New file.
2893 * mc/mcp3.bnf: New file.
2894 * mc/mcp3.def: New file.
2895 * mc/mcp4.bnf: New file.
2896 * mc/mcp4.def: New file.
2897 * mc/mcp5.bnf: New file.
2898 * mc/mcp5.def: New file.
2899 * mc/nameKey.def: New file.
2900 * mc/nameKey.mod: New file.
2901 * mc/symbolKey.def: New file.
2902 * mc/symbolKey.mod: New file.
2903 * mc/top.mod: New file.
2904 * mc/varargs.def: New file.
2905 * mc/varargs.mod: New file.
2906 * mc/wlists.def: New file.
2907 * mc/wlists.mod: New file.
2908 * pge-boot/GASCII.c: New file.
2909 * pge-boot/GASCII.h: New file.
2910 * pge-boot/GArgs.c: New file.
2911 * pge-boot/GArgs.h: New file.
2912 * pge-boot/GAssertion.c: New file.
2913 * pge-boot/GAssertion.h: New file.
2914 * pge-boot/GBreak.h: New file.
2915 * pge-boot/GBuiltins.c: New file.
2916 * pge-boot/GCmdArgs.h: New file.
2917 * pge-boot/GDebug.c: New file.
2918 * pge-boot/GDebug.h: New file.
2919 * pge-boot/GDynamicStrings.c: New file.
2920 * pge-boot/GDynamicStrings.h: New file.
2921 * pge-boot/GEnvironment.h: New file.
2922 * pge-boot/GFIO.c: New file.
2923 * pge-boot/GFIO.h: New file.
2924 * pge-boot/GFormatStrings.h: New file.
2925 * pge-boot/GFpuIO.h: New file.
2926 * pge-boot/GIO.c: New file.
2927 * pge-boot/GIO.h: New file.
2928 * pge-boot/GIndexing.c: New file.
2929 * pge-boot/GIndexing.h: New file.
2930 * pge-boot/GLists.c: New file.
2931 * pge-boot/GLists.h: New file.
2932 * pge-boot/GM2Dependent.c: New file.
2933 * pge-boot/GM2Dependent.h: New file.
2934 * pge-boot/GM2EXCEPTION.c: New file.
2935 * pge-boot/GM2EXCEPTION.h: New file.
2936 * pge-boot/GM2LINK.c: New file.
2937 * pge-boot/GM2LINK.h: New file.
2938 * pge-boot/GM2RTS.c: New file.
2939 * pge-boot/GM2RTS.h: New file.
2940 * pge-boot/GNameKey.c: New file.
2941 * pge-boot/GNameKey.h: New file.
2942 * pge-boot/GNumberIO.c: New file.
2943 * pge-boot/GNumberIO.h: New file.
2944 * pge-boot/GOutput.c: New file.
2945 * pge-boot/GOutput.h: New file.
2946 * pge-boot/GPushBackInput.c: New file.
2947 * pge-boot/GPushBackInput.h: New file.
2948 * pge-boot/GRTExceptions.c: New file.
2949 * pge-boot/GRTExceptions.h: New file.
2950 * pge-boot/GRTco.c: New file.
2951 * pge-boot/GSArgs.h: New file.
2952 * pge-boot/GSEnvironment.h: New file.
2953 * pge-boot/GSFIO.c: New file.
2954 * pge-boot/GSFIO.h: New file.
2955 * pge-boot/GSYSTEM.c: New file.
2956 * pge-boot/GSYSTEM.h: New file.
2957 * pge-boot/GScan.h: New file.
2958 * pge-boot/GSelective.c: New file.
2959 * pge-boot/GStdIO.c: New file.
2960 * pge-boot/GStdIO.h: New file.
2961 * pge-boot/GStorage.c: New file.
2962 * pge-boot/GStorage.h: New file.
2963 * pge-boot/GStrCase.c: New file.
2964 * pge-boot/GStrCase.h: New file.
2965 * pge-boot/GStrIO.c: New file.
2966 * pge-boot/GStrIO.h: New file.
2967 * pge-boot/GStrLib.c: New file.
2968 * pge-boot/GStrLib.h: New file.
2969 * pge-boot/GStringConvert.h: New file.
2970 * pge-boot/GSymbolKey.c: New file.
2971 * pge-boot/GSymbolKey.h: New file.
2972 * pge-boot/GSysExceptions.c: New file.
2973 * pge-boot/GSysExceptions.h: New file.
2974 * pge-boot/GSysStorage.c: New file.
2975 * pge-boot/GSysStorage.h: New file.
2976 * pge-boot/GTimeString.h: New file.
2977 * pge-boot/GUnixArgs.cc: New file.
2978 * pge-boot/GUnixArgs.h: New file.
2979 * pge-boot/Gabort.c: New file.
2980 * pge-boot/Gbnflex.c: New file.
2981 * pge-boot/Gbnflex.h: New file.
2982 * pge-boot/Gcbuiltin.c: New file.
2983 * pge-boot/Gdtoa.c: New file.
2984 * pge-boot/Gdtoa.h: New file.
2985 * pge-boot/Gerrno.c: New file.
2986 * pge-boot/Gerrno.h: New file.
2987 * pge-boot/Gldtoa.c: New file.
2988 * pge-boot/Gldtoa.h: New file.
2989 * pge-boot/Glibc.c: New file.
2990 * pge-boot/Glibc.h: New file.
2991 * pge-boot/Glibm.c: New file.
2992 * pge-boot/Glibm.h: New file.
2993 * pge-boot/Gmcrts.c: New file.
2994 * pge-boot/Gmcrts.h: New file.
2995 * pge-boot/Gnetwork.h: New file.
2996 * pge-boot/Gpge.c: New file.
2997 * pge-boot/Gtermios.cc: New file.
2998 * pge-boot/Gtermios.h: New file.
2999 * pge-boot/Gwrapc.c: New file.
3000 * pge-boot/Gwrapc.h: New file.
3001 * pge-boot/README: New file.
3002 * pge-boot/m2rts.h: New file.
3003 * pge-boot/main.c: New file.
3004 * pge-boot/network.c: New file.
3005 * plugin/README: New file.
3006 * plugin/m2rte.cc: New file.
3007 * tools-src/README: New file.
3008 * tools-src/boilerplate.py: New file.
3009 * tools-src/buildpg: New file.
3010 * tools-src/calcpath: New file.
3011 * tools-src/def2doc.py: New file.
3012 * tools-src/makeSystem: New file.
3013 * tools-src/mklink.c: New file.
3014 * tools-src/tidydates.py: New file.
3015 * images/LICENSE.IMG: New file.
3016 * images/gnupng: New file.
3017 * images/gnu.eps: New file.
3018 * version.c: New file.
3019 * configure: Rebuilt.
3020 * target-independent/Builtins.texi: New file.
3021 * target-independent/SYSTEM-iso.texi: New file.
3022 * target-independent/SYSTEM-pim.texi: New file.
3023 * target-independent/gm2-libs.texi: New file.
3024 * target-independent/readme.txt: New file.