This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: porting to the SH7047
- From: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- To: John van Loon <john at controlintelligence dot com>
- Cc: newlib at sources dot redhat dot com
- Date: Thu, 07 Mar 2002 13:18:58 -0600
- Subject: Re: porting to the SH7047
- Organization: OAR Corporation
- References: <3C87BCBD.40700@controlintelligence.com>
John van Loon wrote:
>
> Hi,
> I am trying to get the GCC tool chain to compile for a SH7047
> (specialized SH2 for motor control). I am using newlib-1.10.0.
> The memory map is different for the SH7047 and I need to change it. Am I
> correct in thinking crt0.s has anything to do with this or should I
> continue looking at the linker scripts?
This should strictly be the job of the linker script. But I have
seen crt0.s files over the years that touched hardware to
initialize memeory controllers and other peripherals.
> Thanks for any help,
> John
>
> --
>
> John van Loon
> Control Intelligence
> http://www.controlintelligence.com
> john@controlintelligence.com
> (905) 521-5505
--
Joel Sherrill, Ph.D. Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985