summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-07-23 18:02:32 +0000
committerNick Clifton <nickc@redhat.com>2002-07-23 18:02:32 +0000
commit4455705d7605e5b81eb4c7569f216424b3f0b0d6 (patch)
tree6b17b9c1b4d03157f11c6a38fbe8e93f822f2bf0
parent55eab186a3644dda663ad01a6b2815a08d675e0e (diff)
downloadbinutils-4455705d7605e5b81eb4c7569f216424b3f0b0d6.tar.gz
binutils-4455705d7605e5b81eb4c7569f216424b3f0b0d6.tar.bz2
binutils-4455705d7605e5b81eb4c7569f216424b3f0b0d6.zip
fix typo introduced in previous delta
-rw-r--r--bfd/elf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index e84bd39580d..79190e60f2b 100644
--- 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