gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gold / incremental.h
index 20ae772886763496a6b306bfef367f4541a88582..e072b96fcb29fb7fe17fbdd46360b60e37bd92ca 100644 (file)
@@ -1,6 +1,6 @@
 // inremental.h -- incremental linking support for gold   -*- C++ -*-
 
-// Copyright 2009, 2010, 2011 Free Software Foundation, Inc.
+// Copyright (C) 2009-2020 Free Software Foundation, Inc.
 // Written by Mikolaj Zalewski <mikolajz@google.com>.
 
 // This file is part of gold.
@@ -304,10 +304,10 @@ class Incremental_script_entry : public Incremental_input_entry
 {
  public:
   Incremental_script_entry(Stringpool::Key filename_key,
-                          unsigned int arg_serial, Script_info* script,
+                          unsigned int arg_serial, Script_info* /*script*/,
                           Timespec mtime)
     : Incremental_input_entry(filename_key, arg_serial, mtime),
-      script_(script), objects_()
+      objects_()
   { }
 
   // Add a member object to the archive.
@@ -341,8 +341,6 @@ class Incremental_script_entry : public Incremental_input_entry
   { return this; }
 
  private:
-  // Information about the script file.
-  Script_info* script_;
   // Objects that have been included by this script.
   std::vector<Incremental_input_entry*> objects_;
 };
@@ -1342,9 +1340,9 @@ class Incremental_got_plt_reader
 class Incremental_binary
 {
  public:
-  Incremental_binary(Output_file* output, Target* target)
+  Incremental_binary(Output_file* output, Target* /*target*/)
     : input_args_map_(), library_map_(), script_map_(),
-      output_(output), target_(target)
+      output_(output)
   { }
 
   virtual
@@ -1370,6 +1368,9 @@ class Incremental_binary
     Input_reader()
     { }
 
+    Input_reader(const Input_reader&)
+    { }
+
     virtual
     ~Input_reader()
     { }
@@ -1582,8 +1583,6 @@ class Incremental_binary
  private:
   // Edited output file object.
   Output_file* output_;
-  // Target of the output file.
-  Target* target_;
 };
 
 template<int size, bool big_endian>
@@ -1712,6 +1711,10 @@ class Sized_incremental_binary : public Incremental_binary
       : Input_reader(), reader_(r)
     { }
 
+    Sized_input_reader(const Sized_input_reader& r)
+      : Input_reader(), reader_(r.reader_)
+    { }
+
     virtual
     ~Sized_input_reader()
     { }
@@ -1905,7 +1908,7 @@ class Sized_relobj_incr : public Sized_relobj<size, big_endian>
 
   // Get the name of a section.
   std::string
-  do_section_name(unsigned int shndx);
+  do_section_name(unsigned int shndx) const;
 
   // Return a view of the contents of a section.
   const unsigned char*
@@ -1962,6 +1965,10 @@ class Sized_relobj_incr : public Sized_relobj<size, big_endian>
   do_local_plt_offset(unsigned int) const
   { gold_unreachable(); }
 
+  bool
+  do_local_is_tls(unsigned int) const
+  { gold_unreachable(); }
+
   // Return the number of local symbols.
   unsigned int
   do_local_symbol_count() const
@@ -2112,7 +2119,7 @@ class Sized_incr_dynobj : public Dynobj
 
   // Get the name of a section.
   std::string
-  do_section_name(unsigned int shndx);
+  do_section_name(unsigned int shndx) const;
 
   // Return a view of the contents of a section.
   const unsigned char*
This page took 0.037711 seconds and 4 git commands to generate.