The symbol's evaluation by the assembler and linker was very inconsistent
This commit is contained in:
ISSOtm
2020-02-07 13:18:49 +01:00
parent 9687e6e1dd
commit ea52e45335
3 changed files with 12 additions and 31 deletions

View File

@@ -23,6 +23,9 @@ struct Expression {
uint32_t isReloc;
};
/* FIXME: Should be defined in `asmy.h`, but impossible with POSIX Yacc */
extern int32_t nPCOffset;
uint32_t rpn_isReloc(const struct Expression *expr);
void rpn_Symbol(struct Expression *expr, char *tzSym);
void rpn_Number(struct Expression *expr, uint32_t i);