From 6a382bceadc7228d20746079570a15f115e55d0c Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Wed, 20 Jun 2018 00:37:51 +0100 Subject: [PATCH] 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. --- 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 + + * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Fix + formatting. + 2018-06-19 Simon Marchi * 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 -- 2.7.4