OSDN Git Service

2010-02-20 Sriraman Tallam <tmsriram@google.com>
authortmsriram <tmsriram>
Sun, 21 Feb 2010 09:57:59 +0000 (09:57 +0000)
committertmsriram <tmsriram>
Sun, 21 Feb 2010 09:57:59 +0000 (09:57 +0000)
commit2653106ddb6ec8111b18b70cc85f67a9b287854a
treeb7511babd6d70273e3e76472ea518da955ba8007
parentd5f011ae1a3859d612e68849f6a09bcccbe55de6
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