1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-26 05:29:30 +00:00

Always put goto stack-adjustments in the RODATA segment.

This commit is contained in:
Greg King 2018-10-02 23:19:38 -04:00
parent 88d1d20cd0
commit f11ae87ada

View File

@ -728,6 +728,7 @@ SymEntry* AddLabelSym (const char* Name, unsigned Flags)
/* We're processing a label, let's update all gotos encountered /* We're processing a label, let's update all gotos encountered
** so far ** so far
*/ */
g_userodata();
g_defdatalabel (DOR->LateSP_Label); g_defdatalabel (DOR->LateSP_Label);
g_defdata (CF_CONST | CF_INT, StackPtr - DOR->StackPtr, 0); g_defdata (CF_CONST | CF_INT, StackPtr - DOR->StackPtr, 0);