summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikola Veljkovic <Nikola.Veljkovic@imgtec.com>2016-04-20 14:44:45 (GMT)
committerandroid-build-merger <android-build-merger@google.com>2016-04-20 14:44:45 (GMT)
commit5200634678cedc14f5df394d94b48d9109ded34a (patch)
treea764bb99f8f999c610c4ae09ad5746740ba0d116
parent3a9e39083fd33ed694b12b33f7f7371321bd77f0 (diff)
parent3186005e6155741a42bd686442ea312504f8f9be (diff)
downloadtoolchain_binutils-5200634678cedc14f5df394d94b48d9109ded34a.zip
toolchain_binutils-5200634678cedc14f5df394d94b48d9109ded34a.tar.gz
toolchain_binutils-5200634678cedc14f5df394d94b48d9109ded34a.tar.bz2
Revert "Fix DT_MIPS_RLD_MAP_REL tag for n64 target and 32-bit host." am: 405fb1a am: 825d123
am: 3186005 * commit '3186005e6155741a42bd686442ea312504f8f9be': Revert "Fix DT_MIPS_RLD_MAP_REL tag for n64 target and 32-bit host." Change-Id: Ic2d78e4e1316c6e96e2d024dea0fd603448c75b0
-rw-r--r--binutils-2.25/bfd/ChangeLog6
-rw-r--r--binutils-2.25/bfd/elfxx-mips.c2
2 files changed, 1 insertions, 7 deletions
diff --git a/binutils-2.25/bfd/ChangeLog b/binutils-2.25/bfd/ChangeLog
index f124354..ab62ce4 100644
--- a/binutils-2.25/bfd/ChangeLog
+++ b/binutils-2.25/bfd/ChangeLog
@@ -6,12 +6,6 @@
float only when Tag_ABI_VFP_args is 1, using new enum value
AEABI_VFP_args_vfp to check that.
-2015-07-23 Joseph Myers <joseph@codesourcery.com>
-
- * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections)
- <DT_MIPS_RLD_MAP_REL>: Add target address to host address
- difference, not to host pointer.
-
2015-04-01 Tejas Belagod <tejas.belagod@arm.com>
Marcus Shawcroft <marcus.shawcroft@arm.com>
Jiong Wang <jiong.wang@arm.com>
diff --git a/binutils-2.25/bfd/elfxx-mips.c b/binutils-2.25/bfd/elfxx-mips.c
index 998549d..2f46602 100644
--- a/binutils-2.25/bfd/elfxx-mips.c
+++ b/binutils-2.25/bfd/elfxx-mips.c
@@ -11515,7 +11515,7 @@ _bfd_mips_elf_finish_dynamic_sections (bfd *output_bfd,
s = h->root.u.def.section;
dt_addr = (sdyn->output_section->vma + sdyn->output_offset
- + (b - sdyn->contents));
+ + b - sdyn->contents);
rld_addr = (s->output_section->vma + s->output_offset
+ h->root.u.def.value);
dyn.d_un.d_ptr = rld_addr - dt_addr;