From 405fb1a937f705403a28d5591a1bb530b4efe9ed Mon Sep 17 00:00:00 2001 From: Nikola Veljkovic Date: Wed, 6 Apr 2016 19:46:06 +0200 Subject: 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 --- binutils-2.25/bfd/ChangeLog | 6 ------ binutils-2.25/bfd/elfxx-mips.c | 2 +- 2 files changed, 1 insertion(+), 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 - - * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections) - : Add target address to host address - difference, not to host pointer. - 2015-04-01 Tejas Belagod Marcus Shawcroft Jiong Wang 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; -- cgit v1.2.3