summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-05-30 15:06:39 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-05-30 15:29:50 -0700
commitb2e44b42463bf80286063299dbb73d27a040372e (patch)
treefe94b2990aeca15a76805f67818a28ad9c0ddcd4
parentfa9e575c1d2af5102a59b84f691839b35dac7f5c (diff)
downloademacs-b2e44b42463bf80286063299dbb73d27a040372e.tar.gz
Pacify GCC when compiling unexelf.c on Fedora 30
* src/unexelf.c (unexec): Pacify GCC 9.
-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. */