]> git.ipfire.org Git - thirdparty/glibc.git/commit
nptl: Add <thread_pointer.h> for or1k
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 1 Nov 2024 19:23:24 +0000 (15:23 -0400)
committerStafford Horne <shorne@gmail.com>
Fri, 13 Dec 2024 07:20:32 +0000 (07:20 +0000)
commitf2acd75b0ea8141efaf41664cf5ffaa9db8b8074
tree4da57ab7cad5ba9a7fb925c165bfd5faabc4b44d
parent3374de90386f1814cec58567248d43a4632b16f0
nptl: Add <thread_pointer.h> for or1k

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>
Signed-off-by: Stafford Horne <shorne@gmail.com>
sysdeps/or1k/nptl/thread_pointer.h [new file with mode: 0644]