Upstream fix committed here:
commit f35c4853cc5b0e51d8a460be390f7a20cd44ba44 Author: Cary Coutant <email address hidden> Date: Mon Jul 7 10:14:45 2014 -0700
Fix internal error with LTO on ARM.
This prevents the target-specific do_read_symbols methods from being called twice when do_layout_deferred_sections needs to layout an .eh_frame section.
gold/ PR gold/15639 * dynobj.h (Sized_dynobj::base_read_symbols): New method. * dynobj.cc (Sized_dynobj::do_read_symbols): Move body to... (Sized_dynobj::base_read_symbols): ...new method. * object.h (Sized_relobj_file::base_read_symbols): New method. * object.cc (Sized_relobj_file::do_read_symbols): Move body to... (Sized_relobj_file::base_read_symbols): ...new method. * arm.cc (Arm_relobj::do_read_symbols): Call base_read_symbols. * mips.cc: (Mips_relobj::do_read_symbols): Likewise. * powerpc.cc (Powerpc_dynobj::do_read_symbols): Likewise.
Upstream fix committed here:
commit f35c4853cc5b0e5 1d8a460be390f7a 20cd44ba44
Author: Cary Coutant <email address hidden>
Date: Mon Jul 7 10:14:45 2014 -0700
Fix internal error with LTO on ARM.
This prevents the target-specific do_read_symbols methods from being called deferred_ sections needs to layout an .eh_frame section.
twice when do_layout_
gold/ dynobj: :base_read_ symbols) : New method. dynobj: :do_read_ symbols) : Move body to...
(Sized_ dynobj: :base_read_ symbols) : ...new method. relobj_ file::base_ read_symbols) : New method. relobj_ file::do_ read_symbols) : Move body to...
(Sized_ relobj_ file::base_ read_symbols) : ...new method. :do_read_ symbols) : Call base_read_symbols. :do_read_ symbols) : Likewise. dynobj: :do_read_ symbols) : Likewise.
PR gold/15639
* dynobj.h (Sized_
* dynobj.cc (Sized_
* object.h (Sized_
* object.cc (Sized_
* arm.cc (Arm_relobj:
* mips.cc: (Mips_relobj:
* powerpc.cc (Powerpc_