SECT * p;
// Shamus: Expression lengths are voodoo ATM (variable "i"). Need to fix
// this.
-#warning "!!! AddFixup() is filled with VOODOO !!!"
+#ifndef _MSC_VER
+#pragma warning "!!! AddFixup() is filled with VOODOO !!!"
+#else
+#pragma WARNING(!!! AddFixup() is filled with VOODOO !!!)
+#endif
DEBUG printf("FIXUP@$%X: $%X\n", loc, attr);
// Compute length of expression (could be faster); determine if it's the
}
-//
-// Resolve all fixups
-//
-int ResolveAllFixups(void)
-{
- unsigned i;
- char buf[EBUFSIZ];
-
- // Make undefined symbols GLOBL
- if (glob_flag)
- ForceUndefinedSymbolsGlobal();
-
- DEBUG printf("Resolving TEXT sections...\n");
- ResolveFixups(TEXT);
- DEBUG printf("Resolving DATA sections...\n");
- ResolveFixups(DATA);
-
- return 0;
-}
-
-
//
// Resolve fixups in a section
//
WORD flags;
unsigned page_jump = 0;
unsigned address = 0;
- unsigned j;
- char buf[EBUFSIZ];
+ //unsigned j;
+ //char buf[EBUFSIZ];
SECT * sc = §[sno];
CHUNK * ch = sc->sffix;
return 0;
}
+//
+// Resolve all fixups
+//
+int ResolveAllFixups(void)
+{
+ //unsigned i;
+ //char buf[EBUFSIZ];
+
+ // Make undefined symbols GLOBL
+ if (glob_flag)
+ ForceUndefinedSymbolsGlobal();
+
+ DEBUG printf("Resolving TEXT sections...\n");
+ ResolveFixups(TEXT);
+ DEBUG printf("Resolving DATA sections...\n");
+ ResolveFixups(DATA);
+
+ return 0;
+}
+
+