diff options
author | Sriraman Tallam <tmsriram@google.com> | 2016-02-05 15:07:45 -0800 |
---|---|---|
committer | Sriraman Tallam <tmsriram@google.com> | 2016-02-05 15:07:45 -0800 |
commit | 84d543b7ed93bf6511cdf45791f4f0b717dfb718 (patch) | |
tree | 8eb2c3c3822f5ddf085835cf0f354c6130f49bab /gold/output.cc | |
parent | c34c98ed62f7f01fa19b1cfb174df942ee47127d (diff) | |
download | gdb-84d543b7ed93bf6511cdf45791f4f0b717dfb718.zip gdb-84d543b7ed93bf6511cdf45791f4f0b717dfb718.tar.gz gdb-84d543b7ed93bf6511cdf45791f4f0b717dfb718.tar.bz2 |
2016-02-05 Sriraman Tallam <tmsriram@google.com>
* icf.cc (get_rel_addend): New function.
(get_section_contents): Move merge section addend computation to a
new function. Ignore negative values for SHT_REL and SHT_RELA addends.
Fix bug to not read past the length of the section.
Fix bug related to addend computation for MERGE sections.
Diffstat (limited to 'gold/output.cc')
0 files changed, 0 insertions, 0 deletions