From 010a405a948e9bce62dcd27517a56f0cb607cb05 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 15 Dec 1995 17:07:00 +0000 Subject: * 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. --- bfd/coffcode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/coffcode.h') 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; -- cgit v1.1