]> git.baikalelectronics.ru Git - kernel.git/commit
elf core dump: notes reorg
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:31:44 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:44 +0000 (13:31 +0100)
commitc9b9be4f4ad10e3adfe46428ae05cc4741fa0986
treef953d24b736fa9404ad1e8e6138c056f0717a297
parent538ba8c10fe79c8ae2669c3ac39cabe82dd8b5f3
elf core dump: notes reorg

This pulls out the code for writing the notes segment of an ELF core dump
into separate functions.  This cleanly isolates into one cluster of
functions everything that deals with the note formats and the hooks into
arch code to fill them.  The top-level elf_core_dump function itself now
deals purely with the generic ELF format and the memory segments.

This only moves code around into functions that can be inlined away.
It should not change any behavior at all.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
fs/binfmt_elf.c