From 6c33b018438ee799c29486f21d43d8100bdbd597 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 2 Feb 2022 22:37:20 +0100 Subject: Linux: Use ptrdiff_t for __rseq_offset This matches the data size initial-exec relocations use on most targets. Reviewed-by: Mathieu Desnoyers Reviewed-by: Carlos O'Donell --- manual/threads.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manual/threads.texi') diff --git a/manual/threads.texi b/manual/threads.texi index 4869f69d2c..48fd562923 100644 --- a/manual/threads.texi +++ b/manual/threads.texi @@ -1004,7 +1004,7 @@ The manual for the @code{rseq} system call can be found at @uref{https://git.kernel.org/pub/scm/libs/librseq/librseq.git/tree/doc/man/rseq.2}. @end deftp -@deftypevar {int} __rseq_offset +@deftypevar {ptrdiff_t} __rseq_offset @standards{Linux, sys/rseq.h} This variable contains the offset between the thread pointer (as defined by @code{__builtin_thread_pointer} or the thread pointer register for -- cgit 1.4.1