This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH v2 03/14] arm: Introduce and use GET_TLS
On Fri, 1 Mar 2013, Richard Henderson wrote:
> Factor out the sequence needed to call kuser_get_tls, as we can't
> play subtract into pc games in thumb mode. Prepare for hard-tp,
> pulling the save of LR into the macro.
> ---
> * sysdeps/arm/sysdep.h (GET_TLS): New macro.
> * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_undefweak): Use it.
> (_dl_tlsdesc_dynamic): Likewise.
> * sysdeps/unix/arm/sysdep.S (__syscall_error): Likewise.
> * sysdeps/unix/sysv/linux/arm/sysdep.h (GET_TLS): New macro.
> * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
> * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S (SAVE_PID): Likewise.
> * sysdeps/unix/sysv/linux/arm/nptl/vfork.S (SAVE_PID): Likewise.
> * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h (SINGLE_THREAD_P):
> Likewise.
> * sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S (__aeabi_read_tp):
> Add thumb2 alternative.
OK.
--
Joseph S. Myers
joseph@codesourcery.com