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 e84bd39580d698e674de33f79fb54b61bdf3d62c..79190e60f2bf3b40ce716bff90a08458b9b871ff 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