[GOLD] Relocate::relocate() params
[binutils-gdb.git] / gold / reloc.h
index 559206eff7608d4add336defc0dabd63d397a46d..f325ae67c6493f5d487414143e025f9ae0c85ef0 100644 (file)
@@ -296,6 +296,14 @@ class Relocatable_relocs
     return static_cast<Reloc_strategy>(this->reloc_strategies_[i]);
   }
 
+  // Set the strategy for reloc I.
+  void
+  set_strategy(unsigned int i, Reloc_strategy strategy)
+  {
+    gold_assert(i < this->reloc_strategies_.size());
+    this->reloc_strategies_[i] = strategy;
+  }
+
   // Return the number of relocations to create in the output file.
   size_t
   output_reloc_count() const