summarylogtreecommitdiffstats
path: root/coe.patch
blob: e3bfe24f65208aa55b219f0937125bd49bb76de2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/srecord/output/file/coe.cc b/srecord/output/file/coe.cc
index 8e5995e..53bedb3 100644
--- a/srecord/output/file/coe.cc
+++ b/srecord/output/file/coe.cc
@@ -205,6 +205,7 @@ srecord::output_file_coe::write(const srecord::record &record)
             )
                 fatal_alignment_error(width_in_bytes);
 
+            address += len;
             for (unsigned j = 0; j < len; ++j)
             {
                 if (got_data && (j % width_in_bytes) == 0)