projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa9e575
)
Pacify GCC when compiling unexelf.c on Fedora 30
author
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 30 May 2019 22:06:39 +0000
(15:06 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 30 May 2019 22:29:50 +0000
(15:29 -0700)
* src/unexelf.c (unexec): Pacify GCC 9.
src/unexelf.c
patch
|
blob
|
history
diff --git
a/src/unexelf.c
b/src/unexelf.c
index c63a8d03c22135d8ca6707d48a9c6b7e063e0a91..6d19bf1fb9f9a4d66db9618a0203f9b79274b6de 100644
(file)
--- 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. */