aboutsummaryrefslogtreecommitdiff
path: root/bfd/ecoff.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-12-15 17:07:00 +0000
committerIan Lance Taylor <ian@airs.com>1995-12-15 17:07:00 +0000
commit010a405a948e9bce62dcd27517a56f0cb607cb05 (patch)
tree33bcf799b0c62af6845e4f9b5a961474816f44f4 /bfd/ecoff.c
parent445604d7ebdf925290563617712f8e79fc53c29f (diff)
downloadgdb-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/ecoff.c')
-rw-r--r--bfd/ecoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/ecoff.c b/bfd/ecoff.c
index 5c04b1b..e4acd83 100644
--- a/bfd/ecoff.c
+++ b/bfd/ecoff.c
@@ -2499,7 +2499,7 @@ _bfd_ecoff_write_object_contents (abfd)
else
section.s_vaddr = vma;
- section.s_paddr = vma;
+ section.s_paddr = current->lma;
section.s_size = bfd_get_section_size_before_reloc (current);
/* If this section is unloadable then the scnptr will be 0. */