forked from Imagelibrary/binutils-gdb
* coffgen.c (make_a_section_from_file): Set lma to s_paddr, not
s_vaddr. * coffcode.h (coff_write_object_contents): Set s_paddr to lma, not vma. * ecoff.c (_bfd_ecoff_write_object_contents): Likewise.
This commit is contained in:
@@ -2222,7 +2222,7 @@ coff_write_object_contents (abfd)
|
||||
section.s_vaddr = 0;
|
||||
else
|
||||
#endif
|
||||
section.s_vaddr = current->lma;
|
||||
section.s_vaddr = current->vma;
|
||||
section.s_paddr = current->lma;
|
||||
section.s_size = current->_raw_size;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user