summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/unexelf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unexelf.c b/src/unexelf.c
index c63a8d03c22..6d19bf1fb9f 100644
--- a/src/unexelf.c
+++ b/src/unexelf.c
@@ -304,6 +304,7 @@ unexec (const char *new_name, const char *old_name)
|| seg->p_vaddr > old_bss_seg->p_vaddr))
old_bss_seg = seg;
}
+ eassume (old_bss_seg);
/* Note that old_bss_addr may be lower than the first bss section
address, since the section may need aligning. */