projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
599504a
)
; * src/unexelf.c (unexec): Fix compiler warning.
author
Po Lu
<luangruo@yahoo.com>
Thu, 23 May 2024 05:54:48 +0000
(13:54 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Thu, 23 May 2024 05:54:48 +0000
(13:54 +0800)
src/unexelf.c
patch
|
blob
|
history
diff --git
a/src/unexelf.c
b/src/unexelf.c
index feb26ffaeafc56514a7eaf3c6bcf2ea542277008..a9a8f2d6ce916e8e96588cca693b6a40abaf015b 100644
(file)
--- a/
src/unexelf.c
+++ b/
src/unexelf.c
@@
-306,6
+306,8
@@
unexec (const char *new_name, const char *old_name)
old_bss_seg = seg;
}
eassume (old_bss_seg);
+ if (!old_bss_seg)
+ emacs_abort ();
/* Note that old_bss_addr may be lower than the first bss section
address, since the section may need aligning. */