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