aboutsummaryrefslogtreecommitdiff
path: root/gold/output.h
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2010-10-29 20:49:20 +0000
committerDoug Kwan <dougkwan@google.com>2010-10-29 20:49:20 +0000
commitd06fb4d1df16ab118624e9abd711005d044a176b (patch)
treeaa6a4a62b185dea10390a299c048c1e13a595b7e /gold/output.h
parentae6a0217c573fdf00a40820a325cb988a03271d2 (diff)
downloadgdb-d06fb4d1df16ab118624e9abd711005d044a176b.zip
gdb-d06fb4d1df16ab118624e9abd711005d044a176b.tar.gz
gdb-d06fb4d1df16ab118624e9abd711005d044a176b.tar.bz2
2010-10-29 Doug Kwan <dougkwan@google.com>
* arm.cc (Arm_outout_section::fix_exidx_coverage): Adjust call to Output_section::add_relaxed_input_section. * output.cc (Output_section::add_relaxed_input_section): Add new arguments LAYOUT and NAME. Set section order index. (Output_section::convert_input_sections_in_list_to_relaxed_sections): Copy section order index. * output.h (Output_section::add_relaxed_input_section): Add new arguments LAYOUT and NAME.
Diffstat (limited to 'gold/output.h')
-rw-r--r--gold/output.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gold/output.h b/gold/output.h
index d36d587..1bfb054 100644
--- a/gold/output.h
+++ b/gold/output.h
@@ -2542,9 +2542,12 @@ class Output_section : public Output_data
void
add_output_section_data(Output_section_data* posd);
- // Add a relaxed input section PORIS to this output section.
+ // Add a relaxed input section PORIS called NAME to this output section
+ // with LAYOUT.
void
- add_relaxed_input_section(Output_relaxed_input_section* poris);
+ add_relaxed_input_section(Layout* layout,
+ Output_relaxed_input_section* poris,
+ const std::string& name);
// Return the section name.
const char*