Fix relocation of line infos.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4781 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -152,7 +152,7 @@ static void AddCodeRange (LineInfo* LI, unsigned long Offs, unsigned long Size)
|
|||||||
void RelocLineInfo (Segment* S)
|
void RelocLineInfo (Segment* S)
|
||||||
/* Relocate the line info for a segment. */
|
/* Relocate the line info for a segment. */
|
||||||
{
|
{
|
||||||
unsigned long Offs = 0;
|
unsigned long Offs = S->PC;
|
||||||
|
|
||||||
/* Loop over all sections in this segment */
|
/* Loop over all sections in this segment */
|
||||||
Section* Sec = S->SecRoot;
|
Section* Sec = S->SecRoot;
|
||||||
|
|||||||
Reference in New Issue
Block a user