|
From: | JD |
Subject: | Re: [Gm2] A success with a stand-alone application on the Raspberry, PI - after modifying the assembler (Gaius Mulley) |
Date: | Tue, 11 Nov 2014 21:22:10 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
On 10/11/14 17:00,
address@hidden wrote:
Gaius, That idea doesn't work, at least not straight off. The first ASM gets put in too late. I get: #APPbut this is part way through the code for the main module init (i.e. some way after _M2_BakingPi2_init:). The final two ASMs do not appear at all. Also I've moved on to having two modules separately compiled. The only way I have found to get them to link properly is to use -fm2-whole-program. As a consequence of this I get init sections for many run-time support modules (e.g. SYSTEM, RTS, RTExceptions) in the assembler, none of which I need at the moment, and as a result of these I can't seem to get the stack definition and use of it close enough together for the ARM instruction set to cope. That's probably fixable but I don't know the ARM architecture well enough to do it. Any thoughts on these issues? Regards, John |
[Prev in Thread] | Current Thread | [Next in Thread] |