diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-12-15 17:07:00 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-12-15 17:07:00 +0000 |
commit | 010a405a948e9bce62dcd27517a56f0cb607cb05 (patch) | |
tree | 33bcf799b0c62af6845e4f9b5a961474816f44f4 /bfd/coffcode.h | |
parent | 445604d7ebdf925290563617712f8e79fc53c29f (diff) | |
download | gdb-010a405a948e9bce62dcd27517a56f0cb607cb05.zip gdb-010a405a948e9bce62dcd27517a56f0cb607cb05.tar.gz gdb-010a405a948e9bce62dcd27517a56f0cb607cb05.tar.bz2 |
* 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.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r-- | bfd/coffcode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h index b7eeea4..75d00c2 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -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; |