• Chris Metcalf's avatar
    arch/tile: Fix a couple of issues with the COMPAT code for TILE-Gx. · 32020eff
    Chris Metcalf authored
    First, the siginfo preamble wasn't quite right; we need to indicate
    that we are padding up to 4 ints of preamble for 64-bit code, and
    then for compat mode we need to pad differently, using only 3 ints.
    
    Second, the C ABI requires a save area of two registers, not two
    pointers, since in compat mode we have 64-bit registers all of which
    we need to save, even though we only have 32-bit VAs.
    Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
    32020eff
siginfo.h 999 Bytes