Fix incorrect byte counts.
[deliverable/binutils-gdb.git] / gold / object.cc
index e900864771263567f32d08ae2a1b92e0eacb196d..4110686ff3146b6b655faee144cc486a159388e6 100644 (file)
@@ -816,9 +816,9 @@ Sized_relobj_file<size, big_endian>::do_find_special_sections(
   return (this->has_eh_frame_
          || (!parameters->options().relocatable()
              && parameters->options().gdb_index()
-             && (memmem(names, sd->section_names_size, "debug_info", 12) == 0
-                 || memmem(names, sd->section_names_size, "debug_types",
-                           13) == 0)));
+             && (memmem(names, sd->section_names_size, "debug_info", 11) == 0
+                 || memmem(names, sd->section_names_size,
+                           "debug_types", 12) == 0)));
 }
 
 // Read the sections and symbols from an object file.
This page took 0.02656 seconds and 4 git commands to generate.