1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-02 15:29:33 +00:00

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:
uz 2010-08-05 19:34:03 +00:00
parent abda26a309
commit b8e7feb788

View File

@ -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;