diff options
author | Maciej W. Rozycki <macro@mips.com> | 2018-06-20 00:37:51 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@mips.com> | 2018-06-20 00:37:51 +0100 |
commit | 6a382bceadc7228d20746079570a15f115e55d0c (patch) | |
tree | cc0d6892895c661e66213433ab13d9b6f7600899 /bfd | |
parent | a4eb69274d3b220b6ec22d019a8994e136f9dce5 (diff) | |
download | gdb-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')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elfxx-mips.c | 3 |
2 files changed, 7 insertions, 1 deletions
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 |