_bfd_clear_contents bounds checking
[deliverable/binutils-gdb.git] / bfd / elf32-ppc.c
index 61f70de12e983121dfa779f128455f31275b4e79..c31e26efd79dd5b06d29b35579892da15267d2a1 100644 (file)
@@ -7090,7 +7090,7 @@ ppc_elf_relocate_section (bfd *output_bfd,
            howto = ppc_elf_howto_table[r_type];
 
          _bfd_clear_contents (howto, input_bfd, input_section,
-                              contents + rel->r_offset);
+                              contents, rel->r_offset);
          wrel->r_offset = rel->r_offset;
          wrel->r_info = 0;
          wrel->r_addend = 0;
This page took 0.025818 seconds and 4 git commands to generate.