]> git.eshelyaron.com Git - emacs.git/commit
Fix dumping on GNU/Linux ppc64le
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 12 Nov 2018 06:18:47 +0000 (22:18 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 12 Nov 2018 06:20:39 +0000 (22:20 -0800)
commitc14eab222c5208ec0650292c3771a3ee632fdb0d
treeca3ca2cd05505a7edcb1bb062e2a669f870255f5
parentb87c874aa1016939ccbee4cd3bd1384726cb2220
Fix dumping on GNU/Linux ppc64le

Problem reported by Thomas Fitzsimmons (Bug#33174).
* src/emacs.c (main): Adjust to sysdep.c changes.
* src/sysdep.c (exec_personality): New static var.
(disable_address_randomization): Remove, replacing with ...
(maybe_disable_address_randomization): ... this new function.
Do not set or use an environment variable; use a command-line
argument instead, and set the new static var.  Migrate the emacs.c
personality-change code to here, where it belongs.
(emacs_exec_file): Simplify by using new static var.
src/emacs.c
src/lisp.h
src/sysdep.c