projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0ce100
)
* elf32-rx.c (rx_elf_object_p): Correct typo: lma->vma.
author
DJ Delorie
<dj@redhat.com>
Tue, 22 Nov 2011 19:46:20 +0000
(19:46 +0000)
committer
DJ Delorie
<dj@redhat.com>
Tue, 22 Nov 2011 19:46:20 +0000
(19:46 +0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf32-rx.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index
940afe5
..
df29378
100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-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
diff --git
a/bfd/elf32-rx.c
b/bfd/elf32-rx.c
index
99cffc0
..
c21c7b1
100644
(file)
--- 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->
l
ma
+ if (phdr[i].p_vaddr <= bsec->
v
ma
&& bsec->vma <= phdr[i].p_vaddr + (phdr[i].p_filesz - 1))
{
bsec->lma = phdr[i].p_paddr + (bsec->vma - phdr[i].p_vaddr);