summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikola Veljkovic <Nikola.Veljkovic@imgtec.com>2016-04-06 19:46:06 +0200
committerNikola Veljkovic <Nikola.Veljkovic@imgtec.com>2016-04-06 19:46:06 +0200
commit405fb1a937f705403a28d5591a1bb530b4efe9ed (patch)
treea764bb99f8f999c610c4ae09ad5746740ba0d116
parent78eb6804689b812b374e2e5d248a96977f13ffd1 (diff)
downloadtoolchain_binutils-405fb1a937f705403a28d5591a1bb530b4efe9ed.tar.gz
toolchain_binutils-405fb1a937f705403a28d5591a1bb530b4efe9ed.tar.bz2
toolchain_binutils-405fb1a937f705403a28d5591a1bb530b4efe9ed.zip
Revert "Fix DT_MIPS_RLD_MAP_REL tag for n64 target and 32-bit host."
This reverts commit 7e80b87f7ff08c7c13f38d76a953b0cd753403aa. Conflicts: binutils-2.25/bfd/ChangeLog Change-Id: I1c0e3d5e9483001db6a4ffe807d6246c2f3ca126
-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 f124354c..ab62ce42 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 998549da..2f466028 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;