2010-02-20 Sriraman Tallam <tmsriram@google.com>
authorSriraman Tallam <tmsriram@google.com>
Sun, 21 Feb 2010 00:57:59 +0000 (00:57 +0000)
committerSriraman Tallam <tmsriram@google.com>
Sun, 21 Feb 2010 00:57:59 +0000 (00:57 +0000)
commitb487ad64e5aa3da0c80b8648f7079b5415c45a3a
treedb254f4182cc73c2abc52dc46c266b495265654f
parent307d2493b8685a7f69b85dc48db0df13921f0665
2010-02-20  Sriraman Tallam  <tmsriram@google.com>

* gc.h (gc_process_relocs): Change vectors to point to the new list.
Add reloc offset information.
* icf.cc (get_section_contents): Change iterators to point to the new
vectors. Add reloc offset information to the contents.
* icf.h (Icf::Sections_reachable_info): New typedef.
(Icf::Sections_reachable_list): New typedef.
(Icf::Offset_info): New typedef.
(Icf::Reloc_info): New struct typedef.
(Icf::Reloc_info_list): New typedef.
(Icf::symbol_reloc_list): Delete method.
(Icf::addend_reloc_list): Delete method.
(Icf::section_reloc_list): Delete method.
(Icf::reloc_info_list): New method.
(Icf::reloc_info_list_): New member.
gold/ChangeLog
gold/gc.h
gold/icf.cc
gold/icf.h