//
#include "object.h"
+#include "6502.h"
#include "error.h"
#include "mark.h"
#include "riscasm.h"
#include "sect.h"
#include "symbol.h"
-
//#define DEBUG_ELF
uint32_t symsize = 0; // Size of BSD/ELF symbol table
//
-// Add entry to symbol table
+// Add entry to symbol table (in ALCYON mode)
// If 'globflag' is 1, make the symbol global
// If in .PRG mode, adjust symbol values for fake link
//
free(strtable);
}
}
+ else if (obj_format == XEX)
+ {
+ // Just write the object file
+ m6502obj(fd);
+ }
return 0;
}