aboutsummaryrefslogtreecommitdiff
path: root/gold/output.h
diff options
context:
space:
mode:
authorSriraman Tallam <tmsriram@google.com>2011-09-29 23:45:57 +0000
committerSriraman Tallam <tmsriram@google.com>2011-09-29 23:45:57 +0000
commitf0558624db8e79622bb71ea5279ec6b5f8c9bc79 (patch)
treed197f7cab34bbcca71419dd08cdc05e47d661d0d /gold/output.h
parenta7dac15368485853f4bd463352afb9b49517b624 (diff)
downloadgdb-f0558624db8e79622bb71ea5279ec6b5f8c9bc79.zip
gdb-f0558624db8e79622bb71ea5279ec6b5f8c9bc79.tar.gz
gdb-f0558624db8e79622bb71ea5279ec6b5f8c9bc79.tar.bz2
2011-09-29 Sriraman Tallam <tmsriram@google.com>
* layout.h (section_order_map_): New member. (get_section_order_map): New member function. * output.cc (Output_section::add_input_section): Check for patterns only when --section-ordering-file is specified. * gold.cc (queue_middle_tasks): Delay updating order of sections till output_sections have been formed. * layout.cc (Layout_Layout): Initialize section_order_map_. * plugin.cc (update_section_order): Store order in order_map. Do not update the order. * testsuite/Makefile.am: Add test case for plugin_final_layout. * testsuite/Makefile.in: Regenerate. * testsuite/plugin_section_order.c: New file. * testsuite/plugin_final_layout.cc: New file. * testsuite/plugin_final_layout.sh: New file.
Diffstat (limited to 'gold/output.h')
-rw-r--r--gold/output.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/output.h b/gold/output.h
index 1bec2c0..cabec5c 100644
--- a/gold/output.h
+++ b/gold/output.h
@@ -2761,7 +2761,7 @@ class Output_section : public Output_data
typedef std::map<Section_id, unsigned int> Section_layout_order;
void
- update_section_layout(const Section_layout_order& order_map);
+ update_section_layout(const Section_layout_order* order_map);
// Update the output section flags based on input section flags.
void