diff options
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r-- | bfd/elf64-ppc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 886f987..52b3e62 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -10728,7 +10728,11 @@ ppc64_elf_relocate_section (bfd *output_bfd, a linker script. */ dodyn: if (r_symndx == 0) - break; + { + _bfd_clear_contents (ppc64_elf_howto_table[r_type], input_bfd, + contents + rel->r_offset); + break; + } /* Fall thru. */ dodyn2: |