summaryrefslogtreecommitdiff
path: root/gold/output.h
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2009-10-21 00:45:52 +0000
committerDoug Kwan <dougkwan@google.com>2009-10-21 00:45:52 +0000
commitd7ab3f3555b211a314422c06cf257241c18a45af (patch)
treec87289fa381dff98d217386b18dc4bd3d3876322 /gold/output.h
parent6bfaed2756d3f513cd5d09be74b0284cabb70d9e (diff)
downloadbinutils-redhat-d7ab3f3555b211a314422c06cf257241c18a45af.tar.gz
2009-10-20 Doug Kwan <dougkwan@google.com>
* object.cc (Sized_relobj::do_finalize_local_symbols): Handle section symbols of relaxed input sections. * output.h (Output_section::find_relaxed_input_section): Make method public.
Diffstat (limited to 'gold/output.h')
-rw-r--r--gold/output.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gold/output.h b/gold/output.h
index bc109509cf..7505ca8638 100644
--- a/gold/output.h
+++ b/gold/output.h
@@ -2585,6 +2585,11 @@ class Output_section : public Output_data
convert_input_sections_to_relaxed_sections(
const std::vector<Output_relaxed_input_section*>& sections);
+ // Find a relaxed input section to an input section in OBJECT
+ // with index SHNDX. Return NULL if none is found.
+ const Output_section_data*
+ find_relaxed_input_section(const Relobj* object, unsigned int shndx) const;
+
// Print merge statistics to stderr.
void
print_merge_stats();
@@ -3208,11 +3213,6 @@ class Output_section : public Output_data
Output_section_data*
find_merge_section(const Relobj* object, unsigned int shndx) const;
- // Find a relaxed input section to an input section in OBJECT
- // with index SHNDX. Return NULL if none is found.
- const Output_section_data*
- find_relaxed_input_section(const Relobj* object, unsigned int shndx) const;
-
// Build a relaxation map.
void
build_relaxation_map(