]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* elf32-rx.c (rx_elf_object_p): Correct typo: lma->vma.
authorDJ Delorie <dj@redhat.com>
Tue, 22 Nov 2011 19:46:20 +0000 (19:46 +0000)
committerDJ Delorie <dj@redhat.com>
Tue, 22 Nov 2011 19:46:20 +0000 (19:46 +0000)
bfd/ChangeLog
bfd/elf32-rx.c

index 940afe5e240ba8792a0e37a522db43aa24c15616..df293781d1526bdb371e0467b05e1e1dc987b322 100644 (file)
@@ -1,3 +1,7 @@
+2011-11-22  Daniel Calcoen  <Daniel.Calcoen@cern.ch>
+
+       * elf32-rx.c (rx_elf_object_p): Correct typo: lma->vma.
+
 2011-11-22  Tristan Gingold  <gingold@adacore.com>
 
        * mach-o.c (bfd_mach_o_print_symbol): Display COM for common
index 99cffc0e0092f010652a4f605194a4efea2a9f4e..c21c7b1a39dab81cc42104d12fb4f6711d0bd5f5 100644 (file)
@@ -3073,7 +3073,7 @@ rx_elf_object_p (bfd * abfd)
       bsec = abfd->sections;
       while (bsec)
        {
-         if (phdr[i].p_vaddr <= bsec->lma
+         if (phdr[i].p_vaddr <= bsec->vma
              && bsec->vma <= phdr[i].p_vaddr + (phdr[i].p_filesz - 1))
            {
              bsec->lma = phdr[i].p_paddr + (bsec->vma - phdr[i].p_vaddr);