From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3007 invoked by alias); 5 Mar 2013 01:45:06 -0000 Received: (qmail 2995 invoked by uid 22791); 5 Mar 2013 01:45:05 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 05 Mar 2013 01:45:02 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1UCgwA-00063y-0C from joseph_myers@mentor.com ; Mon, 04 Mar 2013 17:45:02 -0800 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 4 Mar 2013 17:45:01 -0800 Received: from digraph.polyomino.org.uk (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.1.289.1; Tue, 5 Mar 2013 01:44:59 +0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.76) (envelope-from ) id 1UCgw6-0001Hg-K8; Tue, 05 Mar 2013 01:44:58 +0000 Date: Tue, 05 Mar 2013 01:45:00 -0000 From: "Joseph S. Myers" To: Richard Henderson CC: Subject: Re: [PATCH v2 03/14] arm: Introduce and use GET_TLS In-Reply-To: <1362159320-5934-4-git-send-email-rth@twiddle.net> Message-ID: References: <1362159320-5934-1-git-send-email-rth@twiddle.net> <1362159320-5934-4-git-send-email-rth@twiddle.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2013-03/txt/msg00029.txt.bz2 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