]> git.ipfire.org Git - thirdparty/glibc.git/commit
nptl: Add <thread_pointer.h> for C-SKY
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 31 Jul 2024 21:51:16 +0000 (17:51 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Mon, 6 Jan 2025 18:33:28 +0000 (18:33 +0000)
commitddf0a10e6397d71efbf3853a5373240c740fcff0
tree0a7f04ad5f9386ab6aa5c431166f0714bffb0e87
parentf3e690ae84972b3f40cbe87f808721a8537942e1
nptl: Add <thread_pointer.h> for C-SKY

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: Florian Weimer <fweimer@redhat.com>
sysdeps/csky/nptl/thread_pointer.h [new file with mode: 0644]