vie, 10/7/09, Alistair Buxton escribió:
>
>> De: Alistair Buxton
>> Asunto: Re: [Sdcc-user] Z80 and custom crt0 - gsinit is pointing to GSFINAL
>> instead of GSINIT
>> Para: sdcc-user@lists.sourceforge.net
>> Fecha: viernes, 10 julio, 2009 11:3
--- El vie, 10/7/09, Alistair Buxton escribió:
> De: Alistair Buxton
> Asunto: Re: [Sdcc-user] Z80 and custom crt0 - gsinit is pointing to GSFINAL
> instead of GSINIT
> Para: sdcc-user@lists.sourceforge.net
> Fecha: viernes, 10 julio, 2009 11:31
> 2009/7/7 Alistair Bux
2009/7/7 Alistair Buxton :
> 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 la
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