From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <2b34921287722b84f7f694b134d326e3@proxima.alt.za> To: 9fans@9fans.net Date: Sun, 15 Nov 2009 19:55:36 +0200 From: lucio@proxima.alt.za In-Reply-To: <4AFDB66F.80505@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] MIPS LSB compiler Topicbox-Message-UUID: 9bfea49c-ead5-11e9-9d60-3106f5b1d025 > correct me if i am wrong. but isn't the usual MIPS calling convention to > store the return pc in R31? > Almost certainly. > you may just want to look at your compiler output. mips has various > "branch and link" commands that do a branch and put the returning pc > into R31, which is the usual calling convention. As I mentioned, the function isn't even used, so its exact implementation doesn't matter. What matters is knowing that the implementation is accurate and my problem is that I don't even know whether the 64-bit version should be different from the 32-bit version, I don't understand what differentiates the two alternatives within the toolchain: how does one choose which version should be used. Or, if you feel brave, show me what I should submit to Russ for release. I will happily provide you with a set of patches that works perfectly happily on my gNewSense, MIPS-64 notebook. ++L