From e12e7b2acca41ad2aff9ca111d34dce32ecd1c7a Mon Sep 17 00:00:00 2001 From: dbrotz <43593771+dbrotz@users.noreply.github.com> Date: Thu, 9 May 2019 15:01:06 -0700 Subject: [PATCH] Don't assign PC to macro symbols Macros have nothing to do with the current PC, so this doesn't make any sense. The value isn't ever used either. --- src/asm/symbol.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/asm/symbol.c b/src/asm/symbol.c index beea6d9a..fcfd704b 100644 --- a/src/asm/symbol.c +++ b/src/asm/symbol.c @@ -714,7 +714,6 @@ void sym_AddMacro(char *tzSym) struct sSymbol *nsym = createNonrelocSymbol(tzSym); if (nsym) { - nsym->nValue = nPC; nsym->nType |= SYMF_MACRO | SYMF_DEFINED; nsym->pScope = NULL; nsym->ulMacroSize = ulNewMacroSize;