Update year range in copyright notice of binutils files
[deliverable/binutils-gdb.git] / gold / testsuite / testfile.cc
index bb5ff708c2b396d56fdc1879cedcd3559f2a8a52..f8ad3786b01eaa3d70042e5b8cf936034884b04f 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-2019 Free Software Foundation, Inc.
 // Written by Ian Lance Taylor <iant@google.com>.
 
 // This file is part of gold.
@@ -71,6 +71,14 @@ class Target_test : public Sized_target<size, big_endian>
                          const unsigned char*, Relocatable_relocs*)
   { ERROR("call to Target_test::scan_relocatable_relocs"); }
 
+  void
+  emit_relocs_scan(Symbol_table*, Layout*,
+                  Sized_relobj_file<size, big_endian>*, unsigned int,
+                  unsigned int, const unsigned char*,
+                  size_t, Output_section*, bool, size_t,
+                  const unsigned char*, Relocatable_relocs*)
+  { ERROR("call to Target_test::emit_relocs_scan"); }
+
   void
   relocate_relocs(const Relocate_info<size, big_endian>*,
                  unsigned int, const unsigned char*, size_t,
@@ -110,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.02467 seconds and 4 git commands to generate.