//
if (prg_flag)
{
- if ((flags & MLONG) == 0)
- error("illegal word relocatable (in .PRG mode)");
+ //if ((flags & MLONG) == 0)
+ // error("illegal word relocatable (in .PRG mode)");
if (symbol != NULL)
errors("illegal external reference (in .PRG mode) to '%s'",
continue;
#ifdef DEBUG_IMAGE_MARKING
-printf(" validsegment: raddr = $%08X\n", raddr);
+printf(" validsegment: raddr = $%08X\n", loc);
#endif
uint32_t rflag = 0x00000040; // Absolute relocation
else
r_type = 1; // R_68K_32
- if (symbol != NULL)
- r_addend = symbol->svalue; // Mark offset into section
- else
- r_addend = GETBE32(secBuf + r_offset, 0);
+ r_addend = GETBE32(secBuf + r_offset, 0);
// Deposit the relocation record
D_long(r_offset);