Add test for fetching TLS from core file
[deliverable/binutils-gdb.git] / gold / object.cc
index cedc6abfcded5ab3ecc31de0ccf0e18386a889b5..4110686ff3146b6b655faee144cc486a159388e6 100644 (file)
@@ -1,6 +1,6 @@
 // object.cc -- support for an object file for linking in gold
 
-// Copyright (C) 2006-2016 Free Software Foundation, Inc.
+// Copyright (C) 2006-2017 Free Software Foundation, Inc.
 // Written by Ian Lance Taylor <iant@google.com>.
 
 // This file is part of gold.
@@ -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.02419 seconds and 4 git commands to generate.