Make output views accessible to Target during do_relocate().
authorCary Coutant <ccoutant@gmail.com>
Fri, 11 Dec 2015 22:01:22 +0000 (14:01 -0800)
committerCary Coutant <ccoutant@gmail.com>
Fri, 11 Dec 2015 22:23:58 +0000 (14:23 -0800)
commit6b2353a53a621680dc839366f4b2b4f96eccb6da
treea28e925b00e104787ffcb6d2945ac8076fb72020
parentf1637ebed142eabd96cbc009edda8ec903c71fd6
Make output views accessible to Target during do_relocate().

gold/
* object.cc (Sized_relobj_file::Sized_relobj_file): Initialize
output_views_.
* object.h (Object::get_output_view): New function.
(Object::do_get_output_view): New function.
(Sized_relobj_file::do_get_output_view): New function.
(Sized_relobj_file::output_views_): New data member.
* reloc.cc: (Sized_relobj_file::do_relocate): Store pointer to
output views in class object.
(Sized_relobj_file::do_get_output_view): New function.
gold/ChangeLog
gold/object.cc
gold/object.h
gold/reloc.cc