From: Noah Goldstein Date: Fri, 5 Jan 2024 22:00:30 +0000 (-0800) Subject: x86: Fixup some nits in longjmp asm implementation X-Git-Tag: glibc-2.39~106 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b96a2eba2fcca37deea221a18c998ee0084a5d21;p=thirdparty%2Fglibc.git x86: Fixup some nits in longjmp asm implementation Replace a stray `nop` with a `.p2align` directive. --- diff --git a/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S b/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S index 9aa24620b9f..9d9732afdce 100644 --- a/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S +++ b/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S @@ -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); \