]> sourceware.org Git - glibc.git/commitdiff
x86: Fixup some nits in longjmp asm implementation
authorNoah Goldstein <goldstein.w.n@gmail.com>
Fri, 5 Jan 2024 22:00:30 +0000 (14:00 -0800)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Sat, 6 Jan 2024 02:00:38 +0000 (18:00 -0800)
Replace a stray `nop` with a `.p2align` directive.

sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S

index 9aa24620b9f068dd045f19619b001593ba1ef495..9d9732afdcef471c7e6852f1cebe025296da4d62 100644 (file)
@@ -57,8 +57,8 @@ longjmp_msg:
        cfi_def_cfa_offset(16);                                         \
        LOAD_MSG;                                                       \
        call    HIDDEN_JUMPTARGET(__fortify_fail);                      \
-       nop;                                                            \
        cfi_restore_state;                                              \
+       .p2align 3, 5;                                                          \
 .Lok2:                                                                 \
        movq    %r10, %rdi;                                             \
        cfi_restore (%rdi);                                             \
This page took 0.044934 seconds and 5 git commands to generate.