• Ulrich Drepper's avatar
    [PATCH] unwinding for vsyscall code · e60ef815
    Ulrich Drepper authored
    Now that the kernel provides code user programs are executing directly
    (I mean the vsyscall code on x86) it is necessary to add unwind
    information for that code as well.  The unwind information is used not
    only in C++ code.
    
    This patch adds a AT_SYSINFO_EH_FRAME ELF aux-table value that points to
    the unwinding block description for the sysinfo frame, and makes sure
    the AT_* value is passed to applications.  It defines the static data
    for the unwind blocks (two, one for int80 and the other for sysenter),
    and finally adds code to copy the data in place.
    e60ef815
elf.h 4.19 KB