aboutsummaryrefslogtreecommitdiff
path: root/backendC/CleanCompilerSources/instructions.c
diff options
context:
space:
mode:
Diffstat (limited to 'backendC/CleanCompilerSources/instructions.c')
-rw-r--r--backendC/CleanCompilerSources/instructions.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/backendC/CleanCompilerSources/instructions.c b/backendC/CleanCompilerSources/instructions.c
index 2daa27f..459f0f7 100644
--- a/backendC/CleanCompilerSources/instructions.c
+++ b/backendC/CleanCompilerSources/instructions.c
@@ -3044,15 +3044,21 @@ void GenConstructorFunctionDescriptorAndExportNodeAndDescriptor (SymbDef sdef)
} else {
if (ExportLocalLabels){
put_directive_ (Dexport);
+ FPrintF (OutFile,"e_%s_" D_PREFIX "%s",CurrentModule,name);
+ put_directive_ (Dexport);
FPrintF (OutFile,"e_%s_" N_PREFIX "%s",CurrentModule,name);
}
put_directive_ (Ddescn);
- if (DoDebug)
- FPrintF (OutFile, D_PREFIX "%s ", name);
- else
- FPrintF (OutFile, LOCAL_D_PREFIX "%u ", sdef->sdef_number);
+ if (ExportLocalLabels)
+ FPrintF (OutFile,"e_%s_" D_PREFIX "%s ",CurrentModule,name);
+ else {
+ if (DoDebug)
+ FPrintF (OutFile, D_PREFIX "%s ", name);
+ else
+ FPrintF (OutFile, LOCAL_D_PREFIX "%u ", sdef->sdef_number);
+ }
if (ExportLocalLabels)
FPrintF (OutFile,"e_%s_" N_PREFIX "%s ",CurrentModule,name);