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