From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <8efca694b803e9d55c75926d809a5bce@terzarima.net> To: 9fans@9fans.net From: Charles Forsyth Date: Mon, 31 Mar 2008 20:09:53 +0100 In-Reply-To: <20080331162530.C70ED1E8C3A@holo.morphisms.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] getcallerpc on arm7 Topicbox-Message-UUID: 85d59aec-ead3-11e9-9d60-3106f5b1d025 >It appears that 5c (the ARM compiler) saves the return PC >as the first word of the stack frame, which may be somewhat >hard to locate. it should be the same as the other risc machines, and seems all right when i test it with 5c/5l. gcc typically also uses a frame pointer, which might make it nearly as easy for that compiler.