fix typo introduced in previous delta
authorNick Clifton <nickc@redhat.com>
Tue, 23 Jul 2002 18:02:32 +0000 (18:02 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 23 Jul 2002 18:02:32 +0000 (18:02 +0000)
bfd/elf.c

index e84bd39..79190e6 100644 (file)
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -4816,6 +4816,7 @@ copy_private_bfd_data (ibfd, obfd)
                 correct value.  Note - some backends require that
                 p_paddr be left as zero.  */
              if (segment->p_paddr == 0
+                 && segment->p_vaddr != 0
                  && (! bed->want_p_paddr_set_to_zero)
                  && isec == 0
                  && output_section->lma != 0