diff options
author | Ian Lance Taylor <iant@google.com> | 2008-03-16 23:51:19 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-03-16 23:51:19 +0000 |
commit | d1f003c610e39314803fa3fd4f311230729d3616 (patch) | |
tree | 221e357d029f9eb1bbd14c02ffbdf37cf5d2d8e0 /gold/output.h | |
parent | da6b876ee6e7599e1fd07514b77f1c4a6ae7dca6 (diff) | |
download | gdb-d1f003c610e39314803fa3fd4f311230729d3616.zip gdb-d1f003c610e39314803fa3fd4f311230729d3616.tar.gz gdb-d1f003c610e39314803fa3fd4f311230729d3616.tar.bz2 |
Fix handling of RELA relative relocs against local symbols in merge
sections.
Diffstat (limited to 'gold/output.h')
-rw-r--r-- | gold/output.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/output.h b/gold/output.h index 42c5333..ac812a0 100644 --- a/gold/output.h +++ b/gold/output.h @@ -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 |