• Roland McGrath's avatar
    [PATCH] fix vsyscall page in core dumps · fb16cbc2
    Roland McGrath authored
    My change to core dumps that was included with the vsyscall DSO
    implementation had a bug (braino on my part).  Core dumps don't include the
    full page of the vsyscall DSO, and so don't accurately represent the whole
    memory image of the process.  This patch fixes it.  I have tested it on
    x86, but not tested the same change to 32-bit core dumps on AMD64 (haven't
    even compiled on AMD64).
    
    I've also included the corresponding change for the IA64 code that was
    copied blindly from the x86 vsyscall implementation, which looks like more
    change than it is since I preserved the formatting of the copied code
    instead of arbitrarily diddling it along with the trivial symbol name
    changes.  I haven't compiled or tested on ia64.
    fb16cbc2
elf.h 10.5 KB