_bfd_clear_contents bounds checking
[deliverable/binutils-gdb.git] / bfd / elf32-metag.c
index efe95bddff574395427df046b1b61d2c0662f538..7f96246e5dd08ddef2c1d1da3c56522c317fc310 100644 (file)
@@ -1396,7 +1396,7 @@ metag_final_link_relocate (reloc_howto_type *howto,
                                              rel, relend, howto, contents) \
   {                                                                    \
     _bfd_clear_contents (howto, input_bfd, input_section,              \
-                        contents + rel->r_offset);                     \
+                        contents, rel->r_offset);                      \
                                                                        \
     if (bfd_link_relocatable (info)                                    \
        && (input_section->flags & SEC_DEBUGGING))                      \
This page took 0.023119 seconds and 4 git commands to generate.