diff options
author | Alan Modra <amodra@gmail.com> | 2017-10-02 16:57:06 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-10-02 16:58:51 +1030 |
commit | dcd2b8a0144f4f5f81887861542609ef858a28c9 (patch) | |
tree | 9ee6addefc04ba6f1f41838615c450c9716136cb /bfd | |
parent | 7a0c60fea0f237b9de95e47a0f75200ac9ebaa28 (diff) | |
download | gdb-dcd2b8a0144f4f5f81887861542609ef858a28c9.zip gdb-dcd2b8a0144f4f5f81887861542609ef858a28c9.tar.gz gdb-dcd2b8a0144f4f5f81887861542609ef858a28c9.tar.bz2 |
Fix powerpc comment typo
* elf32-ppc.c (ppc_elf_relocate_section): Fix comment typo.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-ppc.c | 2 | ||||
-rw-r--r-- | bfd/elf64-ppc.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b51311e..9ef407c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index da4adea..eb8ba62 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -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) diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index ea49706..63c8984 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -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) |