]> git.eshelyaron.com Git - emacs.git/commit
Prevent unrelocated symbols with position from being dumped
authorPo Lu <luangruo@yahoo.com>
Thu, 17 Apr 2025 01:33:06 +0000 (09:33 +0800)
committerEshel Yaron <me@eshelyaron.com>
Thu, 17 Apr 2025 07:18:58 +0000 (09:18 +0200)
commitb53402c1331d84def1de2a9d176d7045b60a2c4e
tree533b5115d706eea8aba36960ffe5ff577c224076
parentcf0380b6a64cd3c831c5b6f92ec16175aad6d634
Prevent unrelocated symbols with position from being dumped

* src/pdumper.c (dump_builtin_symbol_p): Test BARE_SYMBOL_P
\(object) rather than SYMBOLP to avoid depending on the value of
symbols_with_pos_enabled or depositing non-relocated references
to vectorlikes in the dump file.  Clarify commentary.

(cherry picked from commit 0fc2fc9a4de3855cf14b6e1f548795831099981b)
src/pdumper.c