]> git.ipfire.org Git - thirdparty/glibc.git/commit
nptl: Add <thread_pointer.h> for m68k
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 9 Dec 2024 20:24:26 +0000 (20:24 +0000)
committerMichael Jeanson <mjeanson@efficios.com>
Mon, 9 Dec 2024 20:24:26 +0000 (20:24 +0000)
commit9e08698e4caec73a83be1bf22074b58b59c2cb18
treed73e9a25360280866a10d9af071d80fe5b81625a
parent8dd15887940e9a6a4304fe360c7bd7569fe9ba21
nptl: Add <thread_pointer.h> for m68k

This will be required by the rseq extensible ABI implementation on all
Linux architectures exposing the '__rseq_size' and '__rseq_offset'
symbols to set the initial value of the 'cpu_id' field which can be used
by applications to test if rseq is available and registered. As long as
the symbols are exposed it is valid for an application to perform this
test even if rseq is not yet implemented in libc for this architecture.

Compile tested with build-many-glibcs.py but I don't have access to any
hardware to run the tests.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Reviewed-by: Arjun Shankar <arjun@redhat.com>
sysdeps/m68k/nptl/thread_pointer.h [new file with mode: 0644]