* elf32-rx.c (rx_elf_object_p): Correct typo: lma->vma.
This commit is contained in:
parent
e0ce100545
commit
c52bd2321a
2 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue