• Roland McGrath's avatar
    x86 vDSO: canonicalize sysenter .eh_frame · cadd5164
    Roland McGrath authored
    Some assembler versions automagically optimize .eh_frame contents,
    changing their size.  The CFI in sysenter.S was not using optimal
    formatting, so it would be changed by newer/smarter assemblers.
    This ran afoul of the wired constant for padding out the other vDSO
    images to match its size.  This changes the original hand-coded
    source to use the optimal format encoding for its operations.  That
    leaves nothing more for a fancy assembler to do, so the sizes will
    match the wired-in expected size regardless of the assembler version.
    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>
    cadd5164
syscall.S 2.01 KB