diff --git a/util/lar/stream.c b/util/lar/stream.c index 0b9f766189..7de58da65e 100644 --- a/util/lar/stream.c +++ b/util/lar/stream.c @@ -148,6 +148,7 @@ int output_elf_segments(struct lar *lar, char *name, char *filebuf, continue; } thisalgo = zeroes; + thisalgo = algo; if (verbose()) fprintf(stderr, "New section addr %#x size %#x\n", (u32)shdr[i].sh_addr, (u32)shdr[i].sh_size);