Re: [Sdcc-user] How do I get _GSINIT into code section? (z80)

2007-09-22 Thread bobrob
I figured out what I was doing wrong! I was putting my example.o file (with main() in it) first in my link command. When I put crt0.o first, and example.o second, _GSINIT landed in the code section!!! :-) The sdcc manual, in section 3.1.3 says: The file containing the main() function

Re: [Sdcc-user] How do I get _GSINIT into code section? (z80)

2007-09-17 Thread Peter Kuhar
.area GSINIT (CODE) On 9/17/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Philipp Klaus Krause wrote: Place another .area _CODE before the .area _GSINIT? OK, I tried that, but it didn't make any difference, _GSINIT is still in RAM. But thanks for trying! Randy

Re: [Sdcc-user] How do I get _GSINIT into code section? (z80)

2007-09-17 Thread Philipp Klaus Krause
[EMAIL PROTECTED] schrieb: Philipp Klaus Krause wrote: Place another .area _CODE before the .area _GSINIT? OK, I tried that, but it didn't make any difference, _GSINIT is still in RAM. But thanks for trying! Randy Umm, sorry, works fine here though. Looking at crt0.map I see that

Re: [Sdcc-user] How do I get _GSINIT into code section? (z80)

2007-09-16 Thread Philipp Klaus Krause
Place another .area _CODE before the .area _GSINIT? Philipp - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/