From 78fb685e59e73e9fb7816b24f8f5227814f178c6 Mon Sep 17 00:00:00 2001 From: Olaf Seibert Date: Sat, 10 Nov 2018 16:52:17 +0100 Subject: [PATCH] Clarify ORG error message a bit its counterpart for absolute sections mentions the section type too. --- assemble.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assemble.c b/assemble.c index 60e2e83..b9fbf60 100644 --- a/assemble.c +++ b/assemble.c @@ -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) {