mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-13 23:36:03 +00:00
Clarify ORG error message a bit
its counterpart for absolute sections mentions the section type too.
This commit is contained in:
parent
2920e9f2f9
commit
78fb685e59
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user