From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28639 invoked by alias); 7 Feb 2014 12:38:54 -0000 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 Received: (qmail 28626 invoked by uid 89); 7 Feb 2014 12:38:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qc0-f179.google.com Received: from mail-qc0-f179.google.com (HELO mail-qc0-f179.google.com) (209.85.216.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 07 Feb 2014 12:38:52 +0000 Received: by mail-qc0-f179.google.com with SMTP id e16so5661680qcx.24 for ; Fri, 07 Feb 2014 04:38:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Oqi2d4JVLO5V6tPz4Nl1+nBXqowY6q3ivfIXufG5jPI=; b=dYs9doePmkWCGL07QCCmIBRf4n8YJKFZl14cC6xwFTsPHBziR1rsaQu74SwE2YA8vR kRvEJEkfoeC1slIuDZxqCgxG4R1yGpI1Dj+UVKhnbYxl652liswt4micxAgYqvtRD6H8 SRH6pW1l1ygk73S3iHRyL0F7u68MAgg5kkYbiboDt7xFD9DuTzIJ7iAqxaOX6KHZ1By9 78FZEHtV1NnlO3va7cJpliCX1LaLTOPFVfwPjxy0I67uR1EEKKikfx9OLyGN+1XRCeLr aepGWeJHHxwyfXWQGFhBR+kpCK2hdGm//m6bLvUHfU8dHmHXxpSFQ/GAmoHt4W2EN2WB rH7A== X-Gm-Message-State: ALoCoQnLtnBpG7s3IIzA6vYkEnBX2pz9RVo58WZ/MeSoRdIDegxT0fW0XlxBmuXdNpPwHsX7r4Bm MIME-Version: 1.0 X-Received: by 10.140.29.139 with SMTP id b11mr20224125qgb.48.1391776729831; Fri, 07 Feb 2014 04:38:49 -0800 (PST) Received: by 10.96.121.40 with HTTP; Fri, 7 Feb 2014 04:38:49 -0800 (PST) In-Reply-To: <20140206221127.6E28974443@topped-with-meat.com> References: <1391594162-22269-1-git-send-email-will.newton@linaro.org> <20140206221127.6E28974443@topped-with-meat.com> Date: Fri, 07 Feb 2014 12:38:00 -0000 Message-ID: Subject: Re: [PATCH v2] ARM: Add SystemTap probes to longjmp and setjmp. From: Will Newton To: Roland McGrath Cc: "libc-ports@sourceware.org" , Patch Tracking Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00012.txt.bz2 On 6 February 2014 22:11, Roland McGrath wrote: > Can you clarify why you want to change the jmp_buf layout? > I don't see why any change you might want to make would necessitate that. In order to have the correct registers live I need to free up a temp register which involves loading lr and sp earlier than the call-preserved register set. I could do this by offsetting into the jmpbuf but it seems more natural just to move lr and sp to the front of the jmp_buf and load registers in ascending order. As far as I am aware the layout of jmp_buf is completely opaque so I don't see why this would cause any problems? -- Will Newton Toolchain Working Group, Linaro