mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 05:47:26 +08:00
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.
This commit is contained in:
@ -410,6 +410,7 @@ Layout::Layout(int number_of_input_files, Script_options* script_options)
|
||||
script_output_section_data_list_(),
|
||||
segment_states_(NULL),
|
||||
relaxation_debug_check_(NULL),
|
||||
section_order_map_(),
|
||||
input_section_position_(),
|
||||
input_section_glob_(),
|
||||
incremental_base_(NULL),
|
||||
|
Reference in New Issue
Block a user