]> git.eshelyaron.com Git - emacs.git/commit
ELF unexec: Tidy code
authorAlan Modra <amodra@gmail.com>
Sun, 8 Nov 2015 17:28:59 +0000 (09:28 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 8 Nov 2015 18:00:59 +0000 (10:00 -0800)
commit856f4eaba8a76953e0bbcfc7ebb0ca4f2e3cf351
tree000e2b8044bc1eb30fc4abb57a4ee33353662de2
parent0bcd08ef052bca9b8d08696068c2a0c387d0dd56
ELF unexec: Tidy code

Separate out some of the more mechanical changes so following patches
are smaller.

* unexelf.c (unexec): Rearrange initialisation of program
header vars.  Use pointer vars in loops rather than indexing
section header array via macros.  Simplify _OBJC_ sym code
and reloc handling code.
src/unexelf.c