[committed] MIPS/BFD: Fix `loc' formatting in `_bfd_mips_elf_finish_dynamic_symbol'

Maciej W. Rozycki macro@mips.com
Tue Jun 19 23:42:00 GMT 2018


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.
---
 bfd/elfxx-mips.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

binutils-mips-bfd-finish-dynamic-symbol-loc-format.diff
Index: binutils/bfd/elfxx-mips.c
===================================================================
--- binutils.orig/bfd/elfxx-mips.c	2018-06-19 22:16:05.023606752 +0100
+++ binutils/bfd/elfxx-mips.c	2018-06-19 22:16:38.014443968 +0100
@@ -10603,7 +10603,8 @@ _bfd_mips_elf_finish_dynamic_symbol (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 mailing list