2009-12-04 Rafael Avila de Espindola <espindola@google.com>
authorRafael Ávila de Espíndola <respindola@mozilla.com>
Fri, 4 Dec 2009 18:18:18 +0000 (18:18 +0000)
committerRafael Ávila de Espíndola <respindola@mozilla.com>
Fri, 4 Dec 2009 18:18:18 +0000 (18:18 +0000)
* incremental.cc (Incremental_inputs::sized_create_inputs_section_data):
Don't set the data_offset twice.

gold/ChangeLog
gold/incremental.cc

index cd3d0950a3364a0ffd85d272b987b045aa03a98d..084bd91ca6badef961ff5b14853707b66da01287 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 63c2f1803779b3519f2ce666f8075d0077120a12..bf028349ef1cc12a3d40ad3aa4937147f0289237 100644 (file)
@@ -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);