From 28e67f5d7578ff0e31087d70bbdf5701852e92c2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafael=20=C3=81vila=20de=20Esp=C3=ADndola?= Date: Fri, 4 Dec 2009 18:18:18 +0000 Subject: [PATCH] 2009-12-04 Rafael Avila de Espindola * incremental.cc (Incremental_inputs::sized_create_inputs_section_data): Don't set the data_offset twice. --- gold/ChangeLog | 5 +++++ gold/incremental.cc | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index cd3d0950a33..084bd91ca6b 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2009-12-04 Rafael Avila de Espindola + + * incremental.cc (Incremental_inputs::sized_create_inputs_section_data): + Don't set the data_offset twice. + 2009-12-04 Rafael Avila de Espindola * testsuite/Makefile.in: Regenerate. diff --git a/gold/incremental.cc b/gold/incremental.cc index 63c2f180377..bf028349ef1 100644 --- a/gold/incremental.cc +++ b/gold/incremental.cc @@ -509,10 +509,6 @@ Incremental_inputs::sized_create_inputs_section_data() default: gold_unreachable(); } - // TODO: add per input data and timestamp. Currently we store - // an out-of-bounds offset for future version of gold to reject - // such an incremental_inputs section. - entry.put_data_offset(0xffffffff); entry.put_timestamp_sec(it->second.mtime.seconds); entry.put_timestamp_nsec(it->second.mtime.nanoseconds); entry.put_input_type(it->second.type); -- 2.30.2