aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <respindola@mozilla.com>2009-12-04 18:18:18 +0000
committerRafael Ávila de Espíndola <respindola@mozilla.com>2009-12-04 18:18:18 +0000
commit28e67f5d7578ff0e31087d70bbdf5701852e92c2 (patch)
treedae6554bbe1f4066169d2c84fb8121956690a38a
parentae10a101157396ee868e1006dc81c39f8be3f40b (diff)
downloadfsf-binutils-gdb-28e67f5d7578ff0e31087d70bbdf5701852e92c2.zip
fsf-binutils-gdb-28e67f5d7578ff0e31087d70bbdf5701852e92c2.tar.gz
fsf-binutils-gdb-28e67f5d7578ff0e31087d70bbdf5701852e92c2.tar.bz2
2009-12-04 Rafael Avila de Espindola <espindola@google.com>
* incremental.cc (Incremental_inputs::sized_create_inputs_section_data): Don't set the data_offset twice.
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/incremental.cc4
2 files changed, 5 insertions, 4 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index cd3d095..084bd91 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,5 +1,10 @@
2009-12-04 Rafael Avila de Espindola <espindola@google.com>
+ * incremental.cc (Incremental_inputs::sized_create_inputs_section_data):
+ Don't set the data_offset twice.
+
+2009-12-04 Rafael Avila de Espindola <espindola@google.com>
+
* testsuite/Makefile.in: Regenerate.
2009-12-03 Doug Kwan <dougkwan@google.com>
diff --git a/gold/incremental.cc b/gold/incremental.cc
index 63c2f18..bf02834 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);