From 98fa85cb4244619f2ecc3cdfd7578a2602addf45 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 6 Jul 2009 23:11:21 +0000 Subject: * fileread.cc (File_read::get_mtime): New method. * fileread.h (Timespec): New structure. (File_read::get_mtime): New method. * incremental.cc (Incremental_inputs_entry_data::timestamp_usec): Renamed from timestamp_nsec. (Incremental_inputs_entry_write::timestamp_sec): Fix argument to Elf_Xword. (Incremental_inputs_entry_write::timestamp_usec): Renamed from timestamp_nsec. (Incremental_inputs::report_archive): Save mtime; style fix. (Incremental_inputs::report_obejct): Save mtime; style fix. (Incremental_inputs::report_script): Save mtime; style fix. (Incremental_inputs::finalize_inputs): Style fix. (Incremental_inputs::finalize): Style fix. (Incremental_inputs::create_input_section_data): Store inputs mtime. * incremental.h (Incremental_inputs::report_script): Add mtime argument. (Incremental_inputs::Input_info::Input_info): Intialize only one union member. (Incremental_inputs::Input_info::archive): Move to nameless union. (Incremental_inputs::Input_info::obejct): Move to nameless union. (Incremental_inputs::Input_info::script): Move to nameless union. (Incremental_inputs::mtime): New field. * script.cc (read_input_script): Pass file mtime to Incremental_input. * script.h (Script_info::inputs): Style fix. --- gold/script.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gold/script.h') diff --git a/gold/script.h b/gold/script.h index 781d24d..755bb79 100644 --- a/gold/script.h +++ b/gold/script.h @@ -397,7 +397,7 @@ class Script_info // Returns the input files included because of this script. Input_arguments* inputs() - { return inputs_; } + { return this->inputs_; } private: Input_arguments* inputs_; -- cgit v1.1