From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27855 invoked by alias); 7 Feb 2014 14:16:14 -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 27845 invoked by uid 89); 7 Feb 2014 14:16:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: mail-out.m-online.net Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 07 Feb 2014 14:16:11 +0000 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3fLJTN22Yhz3hhyb; Fri, 7 Feb 2014 15:16:07 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3fLJTL3y3Vzbbg9; Fri, 7 Feb 2014 15:16:06 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id rpLqiqSjylpP; Fri, 7 Feb 2014 15:16:05 +0100 (CET) X-Auth-Info: tnQdSMkXa1D/u2FMIEMd9AUlPnfimtg8z5U001gg77o= Received: from igel.home (ppp-88-217-37-154.dynamic.mnet-online.de [88.217.37.154]) by mail.mnet-online.de (Postfix) with ESMTPA; Fri, 7 Feb 2014 15:16:05 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id F317C2C05AA; Fri, 7 Feb 2014 15:16:04 +0100 (CET) From: Andreas Schwab To: Will Newton Cc: Roland McGrath , "libc-ports\@sourceware.org" , Patch Tracking Subject: Re: [PATCH v2] ARM: Add SystemTap probes to longjmp and setjmp. References: <1391594162-22269-1-git-send-email-will.newton@linaro.org> <20140206221127.6E28974443@topped-with-meat.com> X-Yow: I'm having fun HITCHHIKING to CINCINNATI or FAR ROCKAWAY!! Date: Fri, 07 Feb 2014 14:16:00 -0000 In-Reply-To: (Will Newton's message of "Fri, 7 Feb 2014 12:38:49 +0000") Message-ID: <8761orknyz.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2014-02/txt/msg00013.txt.bz2 Will Newton writes: > 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? According to ports/sysdeps/arm/bits/setjmp.h the layout of jmp_buf is part of the ABI. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."