Hi, This patch fixes section ordering with the --section-ordering-file option in gold. The existing code drops section order indices when converting normal input sections into relaxed input sections. The patch adds back code to maintain the indices in relaxed sections as well. -Doug 2010-10-27 Doug Kwan * 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.