2009/7/7 :
>
> - Alistair Buxton wrote:
>
>> When I use my custom crt0, in the final binary, gsinit: is pointing to
>> GSFINAL instead of GSINIT.
>
> crt0 needs to be the first module in the list of modules you link.
> If it is not first, then the gsinit label will not be ahead of the stuff
>
- Alistair Buxton wrote:
> When I use my custom crt0, in the final binary, gsinit: is pointing to
> GSFINAL instead of GSINIT.
crt0 needs to be the first module in the list of modules you link.
If it is not first, then the gsinit label will not be ahead of the stuff
the compiler puts in th
Hi,
When I use my custom crt0, in the final binary, gsinit: is pointing to
GSFINAL instead of GSINIT. Therefore, global variables do not get
initialised. Also, GSINIT is placed into DATA which seems to be wrong.
Finally, since my device only has RAM and not ROM, I don't think I
need separate CODE