]> git.eshelyaron.com Git - emacs.git/commit
ELF unexec: align section header
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 17 Nov 2015 01:48:08 +0000 (17:48 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 17 Nov 2015 01:48:52 +0000 (17:48 -0800)
commitc9fd597a4cffcae873b25381ee8cc755f0debe95
tree0c924c1268813c82c6a6863a2da9149efee45772
parent1cdddc1db6243cf90467e5736cc897718267f389
ELF unexec: align section header

This ports the recent unexelf.c changes to Fedora x86-64
when configured with GCC’s -fsanitize=undefined option.
* src/unexelf.c (unexec): Align new_data2_size to a multiple
of ElfW (Shdr)’s alignment, so that NEW_SECTION_H returns a
pointer aligned appropriately for its type.
src/unexelf.c