powerpc: Dump dynamic relocation info to the map file
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 6 Oct 2017 01:09:07 +0000 (18:09 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 6 Oct 2017 01:09:19 +0000 (18:09 -0700)
commit0caf6c82ab23ece570d14499ed02653968cd8abd
treeafa01439a13f6a76567da94d19065053520e446e
parent46e31de783dd29036370f2a1a233bd0e65ab2dd0
powerpc: Dump dynamic relocation info to the map file

Dump dynamic relocation info to the map file when generating dynamic
relocation in read-only section relocations if -Map is used.

* elf32-ppc.c (readonly_dynrelocs): Add a link_info argument.
Dump dynamic relocation in read-only section with minfo if
needed.
(ppc_elf_adjust_dynamic_symbol): Pass NULL to readonly_dynrelocs.
(maybe_set_textrel): Likewise.
(ppc_elf_size_dynamic_sections): Dump dynamic relocation in
read-only section with minfo.
bfd/ChangeLog
bfd/elf32-ppc.c