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:
parent
abda26a309
commit
b8e7feb788
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ static void AddCodeRange (LineInfo* LI, unsigned long Offs, unsigned long Size)
|
|||
void RelocLineInfo (Segment* S)
|
||||
/* Relocate the line info for a segment. */
|
||||
{
|
||||
unsigned long Offs = 0;
|
||||
unsigned long Offs = S->PC;
|
||||
|
||||
/* Loop over all sections in this segment */
|
||||
Section* Sec = S->SecRoot;
|
||||
|
|
Loading…
Add table
Reference in a new issue