[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 b2e44b4 2/5: Pacify GCC when compiling unexelf.c
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] emacs-26 b2e44b4 2/5: Pacify GCC when compiling unexelf.c on Fedora 30 |
Date: |
Thu, 30 May 2019 18:29:59 -0400 (EDT) |
branch: emacs-26
commit b2e44b42463bf80286063299dbb73d27a040372e
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Pacify GCC when compiling unexelf.c on Fedora 30
* src/unexelf.c (unexec): Pacify GCC 9.
---
src/unexelf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/unexelf.c b/src/unexelf.c
index c63a8d0..6d19bf1 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. */