diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2024-01-05 14:00:30 -0800 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2024-01-05 18:00:38 -0800 |
commit | b96a2eba2fcca37deea221a18c998ee0084a5d21 (patch) | |
tree | f7dd3fba7f1d4b391ab64bee82c2f87d3d41038a /sysdeps | |
parent | 48ef5aeb1b75991e1f92c9756e73ddbbe96b1bee (diff) | |
download | glibc-b96a2eba2fcca37deea221a18c998ee0084a5d21.zip glibc-b96a2eba2fcca37deea221a18c998ee0084a5d21.tar.gz glibc-b96a2eba2fcca37deea221a18c998ee0084a5d21.tar.bz2 |
x86: Fixup some nits in longjmp asm implementation
Replace a stray `nop` with a `.p2align` directive.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S b/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S index 9aa2462..9d9732a 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); \ |