]> git.ipfire.org Git - thirdparty/glibc.git/commit
nptl: Add <thread_pointer.h> for microblaze
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 31 Jul 2024 21:34:54 +0000 (17:34 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Mon, 6 Jan 2025 18:33:28 +0000 (18:33 +0000)
commitf3e690ae84972b3f40cbe87f808721a8537942e1
tree43ec678e513bfbb83919723a0fe786d425b96560
parent2af56da855ddf46843df17d905bb29f375a2aa89
nptl: Add <thread_pointer.h> for microblaze

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/microblaze/nptl/thread_pointer.h [new file with mode: 0644]