public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] x86: Fixup some nits in longjmp asm implementation
@ 2024-01-06 2:01 Noah Goldstein
0 siblings, 0 replies; only message in thread
From: Noah Goldstein @ 2024-01-06 2:01 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b96a2eba2fcca37deea221a18c998ee0084a5d21
commit b96a2eba2fcca37deea221a18c998ee0084a5d21
Author: Noah Goldstein <goldstein.w.n@gmail.com>
Date: Fri Jan 5 14:00:30 2024 -0800
x86: Fixup some nits in longjmp asm implementation
Replace a stray `nop` with a `.p2align` directive.
Diff:
---
sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S b/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
index 9aa24620b9..9d9732afdc 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); \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-06 2:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-06 2:01 [glibc] x86: Fixup some nits in longjmp asm implementation Noah Goldstein
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).