_bfd_clear_contents bounds checking
[deliverable/binutils-gdb.git] / bfd / elf32-arc.c
index 7a1b3042aec45c6bb842a295d82d5cfeb7058e55..30f47a5b220fbae2174cad8a3e3b50749d0613c3 100644 (file)
@@ -1568,7 +1568,7 @@ elf_arc_relocate_section (bfd *                     output_bfd,
       if (sec != NULL && discarded_section (sec))
        {
          _bfd_clear_contents (howto, input_bfd, input_section,
-                              contents + rel->r_offset);
+                              contents, rel->r_offset);
          rel->r_info = 0;
          rel->r_addend = 0;
 
This page took 0.024238 seconds and 4 git commands to generate.