-// Resolve all Fixups
-//
-int ResolveAllFixups(void)
-{
- unsigned i;
- char buf[EBUFSIZ];
-
- // Make undefined symbols GLOBL
- if (glob_flag)
- syg_fix();
-
- DEBUG printf("Resolving TEXT sections...\n");
- ResolveFixups(TEXT);
- DEBUG printf("Resolving DATA sections...\n");
- ResolveFixups(DATA);
-
-//No, no we don't.
-#if 0
- // We need to do a final check of forward 'jump' destination addresses that
- // are external
- for(i=0; i<MAXFWDJUMPS; i++)
- {
- if (fwdjump[i])
- {
- err_setup();
- sprintf(buf, "* \'jump\' at $%08X - destination address is external to this source file and cannot have its aligment validated", fwdjump[i]);
-
- if (listing > 0)
- ship_ln(buf);
-
- if (err_flag)
- write(err_fd, buf, (LONG)strlen(buf));
- else
- printf("%s\n", buf);
- }
- }
-#endif
-
- return 0;
-}
-
-
-//
-// Resolve Fixups in a Section