Clarify ORG error message a bit

its counterpart for absolute sections mentions the section type too.
This commit is contained in:
Olaf Seibert 2018-11-10 16:52:17 +01:00
parent 2920e9f2f9
commit 78fb685e59

View File

@ -190,7 +190,7 @@ static int assemble(
section must = current. */
if (!express_sym_offset(value, &symb, &offset)) {
report(stack->top, "Illegal ORG\n");
report(stack->top, "Illegal ORG (for relocatable section)\n");
} else if ((symb->flags & (SYMBOLFLAG_GLOBAL | SYMBOLFLAG_DEFINITION)) == SYMBOLFLAG_GLOBAL) {
report(stack->top, "Can't ORG to external location\n");
} else if (symb->flags & SYMBOLFLAG_UNDEFINED) {