summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--output/outbin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/output/outbin.c b/output/outbin.c
index 6925201d..47d55cac 100644
--- a/output/outbin.c
+++ b/output/outbin.c
@@ -1638,6 +1638,9 @@ static void do_output_srec(void)
etype = '7'; /* S7 = 32-bit end */
}
+ /* Write head record */
+ write_srecord(0, 2, 0, '0', NULL);
+
/* Write the progbits sections to the output file. */
for (s = sections; s; s = s->next) {
/* Skip non-progbits sections */