aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@mips.com>2018-06-20 00:37:51 +0100
committerMaciej W. Rozycki <macro@mips.com>2018-06-20 00:37:51 +0100
commit6a382bceadc7228d20746079570a15f115e55d0c (patch)
treecc0d6892895c661e66213433ab13d9b6f7600899 /bfd/elfxx-mips.c
parenta4eb69274d3b220b6ec22d019a8994e136f9dce5 (diff)
downloadgdb-6a382bceadc7228d20746079570a15f115e55d0c.zip
gdb-6a382bceadc7228d20746079570a15f115e55d0c.tar.gz
gdb-6a382bceadc7228d20746079570a15f115e55d0c.tar.bz2
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.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c3
1 files changed, 2 insertions, 1 deletions
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