Addr = NewAddr;
}
+ /* Relocate line information for this segment */
+ RelocLineInfo (S->Seg);
+
} else if (S->Load == M) {
/* Handle ALIGN_LOAD */
*/
if (DoWrite) {
unsigned long P = ftell (D->F);
- RelocLineInfo (S->Seg);
S->Seg->FillVal = M->FillVal;
SegWrite (D->F, S->Seg, BinWriteExpr, D);
PrintNumVal ("Wrote", (unsigned long) (ftell (D->F) - P));
/* Get the segment from the list node */
S = Seg [I];
+ /* Relocate line info for this segment */
+ RelocLineInfo (S->Seg);
+
/* Keep the user happy */
Print (stdout, 1, " Writing `%s'\n", GetString (S->Name));
/* Write this segment */
if (DoWrite) {
- RelocLineInfo (S->Seg);
SegWrite (D->F, S->Seg, O65WriteExpr, D);
}