mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-30 21:44:19 +08:00
* elf32-rx.c (rx_elf_object_p): Correct typo: lma->vma.
This commit is contained in:
parent
e0ce100545
commit
c52bd2321a
@ -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
|
||||
|
@ -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…
Reference in New Issue
Block a user