diff options
author | DJ Delorie <dj@redhat.com> | 2011-11-22 19:46:20 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2011-11-22 19:46:20 +0000 |
commit | c52bd2321a66a663eb59216abbb2be9ed27f841c (patch) | |
tree | e4f57f815aff21aca9066d21f832892a70a87a1b /bfd/elf32-rx.c | |
parent | e0ce1005459f02ba72edd1fb886ad6bd07cc4ab8 (diff) | |
download | gdb-c52bd2321a66a663eb59216abbb2be9ed27f841c.zip gdb-c52bd2321a66a663eb59216abbb2be9ed27f841c.tar.gz gdb-c52bd2321a66a663eb59216abbb2be9ed27f841c.tar.bz2 |
* elf32-rx.c (rx_elf_object_p): Correct typo: lma->vma.
Diffstat (limited to 'bfd/elf32-rx.c')
-rw-r--r-- | bfd/elf32-rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-rx.c b/bfd/elf32-rx.c index 99cffc0..c21c7b1 100644 --- a/bfd/elf32-rx.c +++ b/bfd/elf32-rx.c @@ -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); |