[binutils-gdb] MIPS/BFD: Fix `loc' formatting in `_bfd_mips_elf_finish_dynamic_symbol'
Maciej W.Rozycki
macro@sourceware.org
Tue Jun 19 23:40:00 GMT 2018
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6a382bceadc7228d20746079570a15f115e55d0c
commit 6a382bceadc7228d20746079570a15f115e55d0c
Author: Maciej W. Rozycki <macro@mips.com>
Date: Wed Jun 20 00:37:51 2018 +0100
MIPS/BFD: Fix `loc' formatting in `_bfd_mips_elf_finish_dynamic_symbol'
Fix a formatting fallout in `_bfd_mips_elf_finish_dynamic_symbol' from
commit ce558b89b15a ("Delete duplicate target short-cuts to dynamic
sections").
bfd/
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Fix
formatting.
Diff:
---
bfd/ChangeLog | 5 +++++
bfd/elfxx-mips.c | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3677a05..b812fdc 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2018-06-19 Maciej W. Rozycki <macro@mips.com>
+
+ * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Fix
+ formatting.
+
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11.
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index f2c7e9e..d25f4ff 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -10603,7 +10603,8 @@ _bfd_mips_elf_finish_dynamic_symbol (bfd *output_bfd,
got_address_low = got_address & 0xffff;
/* Initially point the .got.plt entry at the PLT header. */
- loc = (htab->root.sgotplt->contents + got_index * MIPS_ELF_GOT_SIZE (dynobj));
+ loc = (htab->root.sgotplt->contents
+ + got_index * MIPS_ELF_GOT_SIZE (dynobj));
if (ABI_64_P (output_bfd))
bfd_put_64 (output_bfd, header_address, loc);
else
More information about the Binutils-cvs
mailing list