gold: Handle DW_AT_high_pc as offset from DW_AT_low_pc in gdb-index.cc.
[binutils-gdb.git] / gold / plugin.h
index 8f1db67d288d247d1587b3af3efd9a4ef35aa3eb..1891d6ba402e5a4f04c5f59b0f0e0fd929b5bb12 100644 (file)
@@ -243,7 +243,7 @@ class Plugin_manager
   // and we are still in the initial input phase.
   bool
   should_defer_layout() const
-  { return !this->objects_.empty() && !this->in_replacement_phase_; }
+  { return this->any_claimed_ && !this->in_replacement_phase_; }
 
   // Add a regular object to the deferred layout list.  These are
   // objects whose layout has been deferred until after the
@@ -393,7 +393,9 @@ class Pluginobj : public Object
 
   // Fill in the symbol resolution status for the given plugin symbols.
   ld_plugin_status
-  get_symbol_resolution_info(int nsyms, ld_plugin_symbol* syms) const;
+  get_symbol_resolution_info(int nsyms,
+                            ld_plugin_symbol* syms,
+                            int version) const;
 
   // Store the incoming symbols from the plugin for later processing.
   void
@@ -491,8 +493,9 @@ class Sized_pluginobj : public Pluginobj
   do_section_name(unsigned int shndx);
 
   // Return a view of the contents of a section.
-  Object::Location
-  do_section_contents(unsigned int shndx);
+  const unsigned char*
+  do_section_contents(unsigned int shndx, section_size_type* plen,
+                     bool cache);
 
   // Return section flags.
   uint64_t