This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: porting to the SH7047




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]