]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gold/output.h
Fix handling of RELA relative relocs against local symbols in merge
[thirdparty/binutils-gdb.git] / gold / output.h
index 42c53335cb1e090682ae666e36a29a4e83aeb36c..ac812a0ab19d560c0dcbdd89e42585db59ebe359 100644 (file)
@@ -839,10 +839,10 @@ class Output_reloc<elfcpp::SHT_REL, dynamic, size, big_endian>
   section_offset_type
   local_section_offset() const;
 
-  // Get the value of the symbol referred to by a Rel relocation.
-
+  // Get the value of the symbol referred to by a Rel relocation when
+  // we are adding the given ADDEND.
   Address
-  symbol_value() const;
+  symbol_value(Address addend) const;
 
   // Write the reloc entry to an output view.
   void