• Roland McGrath's avatar
    elf core dump: notes reorg · 3aba481f
    Roland McGrath authored
    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: default avatarRoland McGrath <roland@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    3aba481f
binfmt_elf.c 51.7 KB