* coffcode.h (coff_set_alignment_hook): Set lma from s_vaddr if
        COFF_WITH_PE defined.
This commit is contained in:
Richard Henderson
1999-06-02 15:36:48 +00:00
parent c9fca91dfb
commit 9d8cefa978
2 changed files with 8 additions and 0 deletions

View File

@@ -1228,6 +1228,9 @@ coff_set_alignment_hook (abfd, section, scnhdr)
}
#endif
#ifdef COFF_WITH_PE
section->lma = hdr->s_vaddr;
#endif
}
#undef ALIGN_SET
#undef ELIFALIGN_SET