MIPS/BFD: Factor out relocated field storing
authorMaciej W. Rozycki <macro@mips.com>
Fri, 14 Sep 2018 19:22:56 +0000 (20:22 +0100)
committerMaciej W. Rozycki <macro@linux-mips.org>
Fri, 14 Sep 2018 19:22:56 +0000 (20:22 +0100)
commit98e10ffadbeb42c5adef14c1d5dd4093d57d57a1
tree60a8c0dafb9a713771656999059a791fa7d85d16
parent6057dc97e4df5ca9692ddd948798eaa543c74cc7
MIPS/BFD: Factor out relocated field storing

Move code used to store the contents of a relocated field in output into
a separate function, `mips_elf_store_contents', complementing existing
`mips_elf_obtain_contents'.

bfd/
* elfxx-mips.c (mips_elf_store_contents): New function...
(mips_elf_perform_relocation): ... factored out from here.
bfd/ChangeLog
bfd/elfxx-mips.c