]> git.ipfire.org Git - people/ms/gcc.git/commit
[modula2] Bugfix local symbol names for -fm2-whole-program
authorGaius Mulley <gaiusmod2@gmail.com>
Fri, 17 Mar 2023 00:23:02 +0000 (00:23 +0000)
committerGaius Mulley <gaiusmod2@gmail.com>
Fri, 17 Mar 2023 00:23:02 +0000 (00:23 +0000)
commit6bf80413deb5c1eacbefd685e106c6351b75ecf2
treef9138b2c71c22f014b278f0e1e4d1fdb35170afb
parent5c389a5c36f1c82fef82115270109f19c1237eaa
[modula2] Bugfix local symbol names for -fm2-whole-program

Local symbols must be prefixed by the modulename if
-fm2-whole-program is used to avoid a name clash.

gcc/m2/ChangeLog:

* gm2-compiler/M2AsmUtil.mod (SymNeedsModulePrefix):
Re-implemented.
* gm2-libs/SysStorage.mod (enableTrace): Disable tracing.

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
gcc/m2/gm2-compiler/M2AsmUtil.mod
gcc/m2/gm2-libs/SysStorage.mod