forked from Imagelibrary/binutils-gdb
Mark Salter <msalter@cygnus.com>
* coffcode.h (coff_set_alignment_hook): Set lma from s_vaddr if
COFF_WITH_PE defined.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user