* incremental-dump.cc (find_input_containing_global): Replace
authorCary Coutant <ccoutant@google.com>
Tue, 24 Apr 2012 22:05:28 +0000 (22:05 +0000)
committerCary Coutant <ccoutant@google.com>
Tue, 24 Apr 2012 22:05:28 +0000 (22:05 +0000)
commitf038d49652c08bc36a5f606879d59c2a8270ad4a
tree6821ff1df888d9a49b665dbbec4863cb735984f5
parent6321c22a8c33b07349532156764fecf9a01a2396
* incremental-dump.cc (find_input_containing_global): Replace
magic number with symbolic constant.
(dump_incremental_inputs): Update version number.
* incremental.cc (Output_section_incremental_inputs): Update version
number; import symbolic constants from Incremental_inputs_reader.
(Incremental_inputs::create_data_sections): Align relocations
section correctly for 64-bit targets.
(Output_section_incremental_inputs::set_final_data_size): Use symbolic
constants; add padding.
(Output_section_incremental_inputs::write_header): Add assert for
header_size.
(Output_section_incremental_inputs::write_input_files): Add assert
for input_entry_size.
(Output_section_incremental_inputs::write_info_blocks): Add padding;
add assert for object_info_size, input_section_entry_size,
global_sym_entry_size.
* incremental.h (Incremental_inputs_reader): Add symbolic constants
for data structure sizes; use them.
(Incremental_input_entry_reader): Import symbolic constants from
Incremental_inputs_reader; use them.
gold/ChangeLog
gold/incremental-dump.cc
gold/incremental.cc
gold/incremental.h