# HG changeset patch # User Mychaela Falconia # Date 1582791131 0 # Node ID 7485e75d947709e25a468e50a80a5fae561102ec # Parent 46d17c3465114b9a9ebd8ff02272dc980c520b08 srec-regions: removed unnecessary prohibition against address going backward diff -r 46d17c346511 -r 7485e75d9477 miscutil/srec-regions.c --- a/miscutil/srec-regions.c Thu Feb 27 08:09:19 2020 +0000 +++ b/miscutil/srec-regions.c Thu Feb 27 08:12:11 2020 +0000 @@ -153,13 +153,7 @@ state = 2; continue; } - if (curaddr < region_end) { - fprintf(stderr, - "%s line %d: address going backwards\n", - infname, lineno); - exit(1); - } - if (curaddr > region_end) { + if (curaddr != region_end) { printf("0x%08lX to 0x%08lX (%lu bytes)\n", region_start, region_end, region_end - region_start);