summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikola Veljkovic <Nikola.Veljkovic@imgtec.com>2016-04-20 14:29:40 (GMT)
committerandroid-build-merger <android-build-merger@google.com>2016-04-20 14:29:40 (GMT)
commit825d1232afbeae29a9026393cfc0234624577c52 (patch)
treea764bb99f8f999c610c4ae09ad5746740ba0d116
parent61706fca24d6eaef96d1957071f9fb81d747143e (diff)
parent405fb1a937f705403a28d5591a1bb530b4efe9ed (diff)
downloadtoolchain_binutils-825d1232afbeae29a9026393cfc0234624577c52.zip
toolchain_binutils-825d1232afbeae29a9026393cfc0234624577c52.tar.gz
toolchain_binutils-825d1232afbeae29a9026393cfc0234624577c52.tar.bz2
Revert "Fix DT_MIPS_RLD_MAP_REL tag for n64 target and 32-bit host."
am: 405fb1a * commit '405fb1a937f705403a28d5591a1bb530b4efe9ed': Revert "Fix DT_MIPS_RLD_MAP_REL tag for n64 target and 32-bit host." Change-Id: Ie72f1cf7d19e516bae147b53279fe43f2a898775
-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;