Fix powerpc comment typo

* elf32-ppc.c (ppc_elf_relocate_section): Fix comment typo.
	* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
This commit is contained in:
Alan Modra 2017-10-02 16:57:06 +10:30
parent 7a0c60fea0
commit dcd2b8a014
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2017-10-02 Alan Modra <amodra@gmail.com>
* elf32-ppc.c (ppc_elf_relocate_section): Fix comment typo.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
2017-10-01 Alan Modra <amodra@gmail.com>
PR 21957

View File

@ -7951,7 +7951,7 @@ ppc_elf_relocate_section (bfd *output_bfd,
wrel->r_addend = 0;
/* For ld -r, remove relocations in debug sections against
sections defined in discarded sections. Not done for
symbols defined in discarded sections. Not done for
non-debug to preserve relocs in .eh_frame which the
eh_frame editing code expects to be present. */
if (bfd_link_relocatable (info)

View File

@ -13673,7 +13673,7 @@ ppc64_elf_relocate_section (bfd *output_bfd,
wrel->r_addend = 0;
/* For ld -r, remove relocations in debug sections against
sections defined in discarded sections. Not done for
symbols defined in discarded sections. Not done for
non-debug to preserve relocs in .eh_frame which the
eh_frame editing code expects to be present. */
if (bfd_link_relocatable (info)