From 3997c50f0bb2a254fe35f26506495204f87e432e Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Fri, 22 Aug 2025 07:33:13 +0200 Subject: x86_64: Use __seg_fs qualifiers in NPTL accessors Use __seg_fs named address space qualifiers to cast NPTL accessors to %fs: prefixed addresses. Use volatile access only where strictly necessary. Use existing assembly RSEQ_* accessors for x32 to work around the GCC bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121613 because negative value in __rseq_offset is used as an offset from %fs. Co-Authored-By: H.J. Lu Signed-off-by: H.J. Lu Signed-off-by: Uros Bizjak Reviewed-by: H.J. Lu Cc: Florian Weimer Cc: Carlos O'Donell --- sysdeps/unix/sysv/linux/x86_64/64/Implies | 1 + 1 file changed, 1 insertion(+) create mode 100644 sysdeps/unix/sysv/linux/x86_64/64/Implies (limited to 'sysdeps/unix/sysv/linux') diff --git a/sysdeps/unix/sysv/linux/x86_64/64/Implies b/sysdeps/unix/sysv/linux/x86_64/64/Implies new file mode 100644 index 0000000..f379d95 --- /dev/null +++ b/sysdeps/unix/sysv/linux/x86_64/64/Implies @@ -0,0 +1 @@ +x86_64/64/nptl -- cgit v1.1