diff options
author | Ian Lance Taylor <iant@google.com> | 2007-12-21 21:19:45 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-12-21 21:19:45 +0000 |
commit | a9a60db6891083f0afc4df6353a0c7ef80508874 (patch) | |
tree | 4a78b23b559b910d217cc25c71fbfea946f646cd /gold/ehframe.cc | |
parent | df1764b8ab18419eab855810f86419777d12925a (diff) | |
download | binutils-gdb-a9a60db6891083f0afc4df6353a0c7ef80508874.tar.gz |
Speed up relocations against local symbols in merged sections.
Diffstat (limited to 'gold/ehframe.cc')
-rw-r--r-- | gold/ehframe.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gold/ehframe.cc b/gold/ehframe.cc index b77148b4398..b2406b4f7e1 100644 --- a/gold/ehframe.cc +++ b/gold/ehframe.cc @@ -1041,6 +1041,15 @@ Eh_frame::do_output_offset(const Relobj* object, unsigned int shndx, return this->merge_map_.get_output_offset(object, shndx, offset, poutput); } +// Return whether this is the merge section for an input section. + +bool +Eh_frame::do_is_merge_section_for(const Relobj* object, + unsigned int shndx) const +{ + return this->merge_map_.is_merge_section_for(object, shndx); +} + // Write the data to the output file. void |