mirror of
https://github.com/cc65/cc65.git
synced 2024-07-04 13:29:35 +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:
parent
abda26a309
commit
b8e7feb788
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user