Support 64-bit entry size in SHT_HASH (for s390).
[deliverable/binutils-gdb.git] / gold / testsuite / testfile.cc
index e963d4d4fbee253f4987d7fbc903a8a6c6264a6b..2e7f40c57b9b57af848bee584c053327fae6c160 100644 (file)
@@ -1,6 +1,6 @@
 // testfile.cc -- Dummy ELF objects for testing purposes.
 
-// Copyright 2006, 2007, 2008, 2009, 2011, 2012 Free Software Foundation, Inc.
+// Copyright (C) 2006-2015 Free Software Foundation, Inc.
 // Written by Ian Lance Taylor <iant@google.com>.
 
 // This file is part of gold.
@@ -72,14 +72,14 @@ class Target_test : public Sized_target<size, big_endian>
   { ERROR("call to Target_test::scan_relocatable_relocs"); }
 
   void
-  relocate_for_relocatable(const Relocate_info<size, big_endian>*,
-                          unsigned int, const unsigned char*, size_t,
-                          Output_section*, off_t, const Relocatable_relocs*,
-                          unsigned char*,
-                          typename elfcpp::Elf_types<size>::Elf_Addr,
-                          section_size_type, unsigned char*,
-                          section_size_type)
-  { ERROR("call to Target_test::relocate_for_relocatable"); }
+  relocate_relocs(const Relocate_info<size, big_endian>*,
+                 unsigned int, const unsigned char*, size_t,
+                 Output_section*, typename elfcpp::Elf_types<size>::Elf_Off,
+                  const Relocatable_relocs*, unsigned char*,
+                 typename elfcpp::Elf_types<size>::Elf_Addr,
+                 section_size_type, unsigned char*,
+                 section_size_type)
+  { ERROR("call to Target_test::relocate_relocs"); }
 
   static const Target::Target_info test_target_info;
 };
@@ -107,7 +107,9 @@ const Target::Target_info Target_test<size, big_endian>::test_target_info =
   0,                                   // small_common_section_flags
   0,                                   // large_common_section_flags
   NULL,                                        // attributes_section
-  NULL                                 // attributes_vendor
+  NULL,                                        // attributes_vendor
+  "_start",                            // entry_symbol_name
+  32,                                  // hash_entry_size
 };
 
 // The test targets.
This page took 0.027542 seconds and 4 git commands to generate.