Fix problem where mixed section types can cause internal error during a -r link.
[deliverable/binutils-gdb.git] / gold / testsuite / testfile.cc
index 4049e4ae831944812c9996c904f86f9b253b6d20..da83b3b4f4594e474c3226a5f3acddff5dc98a44 100644 (file)
@@ -1,6 +1,6 @@
 // testfile.cc -- Dummy ELF objects for testing purposes.
 
-// 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.
@@ -118,6 +118,7 @@ const Target::Target_info Target_test<size, big_endian>::test_target_info =
   NULL,                                        // attributes_vendor
   "_start",                            // entry_symbol_name
   32,                                  // hash_entry_size
+  elfcpp::SHT_PROGBITS,                        // unwind_section_type
 };
 
 // The test targets.
This page took 0.023929 seconds and 4 git commands to generate.