[PATCH v2 0/3] Define TLS_TP_OFFSET on all architectures
Michael Jeanson
mjeanson@efficios.com
Tue Jan 7 22:13:12 GMT 2025
On 2025-01-07 13:40, Florian Weimer wrote:
> Repost with the fix suggested Michael Jeanson. I had missed that I
> incorrectly moved sysdeps/generic/thread_pointer.h to
> sysdeps/thread_pointer.h. This gets rid of one commit. No other
> changes.
>
> Thanks,
> Florian
I tested the whole patchset on amd64 and ppc64el with success,
it all looks good to me.
Reviewed-by: Michael Jeanson <mjeanson@efficios.com>
Cheers,
Michael
>
> Florian Weimer (3):
> Move <thread_pointer.h> to kernel-independent sysdeps directories
> x86: Add missing #include <features.h> to <thread_pointer.h>
> elf: Always define TLS_TP_OFFSET
>
> elf/Makefile | 1 +
> elf/tst-tls_tp_offset.c | 57 +++++++++++++++++++
> sysdeps/csky/{nptl => }/thread_pointer.h | 0
> sysdeps/generic/dl-tls.h | 3 +
> sysdeps/{nptl => generic}/thread_pointer.h | 0
> sysdeps/hppa/{nptl => }/thread_pointer.h | 0
> sysdeps/i386/dl-tls.h | 3 +
> sysdeps/loongarch/{nptl => }/thread_pointer.h | 0
> sysdeps/m68k/{nptl => }/thread_pointer.h | 0
> .../microblaze/{nptl => }/thread_pointer.h | 0
> sysdeps/or1k/{nptl => }/thread_pointer.h | 0
> sysdeps/powerpc/{nptl => }/thread_pointer.h | 0
> sysdeps/riscv/{nptl => }/thread_pointer.h | 0
> sysdeps/s390/dl-tls.h | 3 +
> sysdeps/sparc/{nptl => }/thread_pointer.h | 0
> sysdeps/x86/{nptl => }/thread_pointer.h | 2 +
> sysdeps/x86_64/x32/dl-tls.h | 3 +
> 17 files changed, 72 insertions(+)
> create mode 100644 elf/tst-tls_tp_offset.c
> rename sysdeps/csky/{nptl => }/thread_pointer.h (100%)
> rename sysdeps/{nptl => generic}/thread_pointer.h (100%)
> rename sysdeps/hppa/{nptl => }/thread_pointer.h (100%)
> rename sysdeps/loongarch/{nptl => }/thread_pointer.h (100%)
> rename sysdeps/m68k/{nptl => }/thread_pointer.h (100%)
> rename sysdeps/microblaze/{nptl => }/thread_pointer.h (100%)
> rename sysdeps/or1k/{nptl => }/thread_pointer.h (100%)
> rename sysdeps/powerpc/{nptl => }/thread_pointer.h (100%)
> rename sysdeps/riscv/{nptl => }/thread_pointer.h (100%)
> rename sysdeps/sparc/{nptl => }/thread_pointer.h (100%)
> rename sysdeps/x86/{nptl => }/thread_pointer.h (98%)
>
>
> base-commit: 706209867f1ba89c458033408d419e92d8055f58
More information about the Libc-alpha
mailing list