]> sourceware.org Git - glibc.git/commit
nptl: Add <thread_pointer.h> for LoongArch
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 23 Oct 2024 20:18:06 +0000 (16:18 -0400)
committercaiyinyu <caiyinyu@loongson.cn>
Fri, 1 Nov 2024 02:41:20 +0000 (10:41 +0800)
commit3d24fb25efd957f564e0cda8bb278a54db28665f
tree0579a3b85e8fd815610f12f8ddfbd471a6fd74e8
parent9c0903fb7388f645d23b26160ed3669a116189fe
nptl: Add <thread_pointer.h> for LoongArch

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.

Both code paths are 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/loongarch/nptl/thread_pointer.h [new file with mode: 0644]
This page took 0.039851 seconds and 5 git commands to generate.