Multiarchitecture linking

Erik Christiansen erik@dd.nec.com.au
Thu Jun 5 00:59:00 GMT 2003


On Wed, Jun 04, 2003 at 09:18:26AM -0700, Ken Rose wrote:
> I'm working on a platform with two different CPU types.  Does anyone
> have experience linking object files for different CPUs?  Can this be
> done with vanilla binutils sources?  

Ken,

   Are you describing two CPU types on one board, sharing memory, or one
   software product to be built for two distinct platforms?

   If the former, then it seems that you can share data memory, but not
   code. The problem then surely reduces to linker command script
   tweaking, to define the common area(s), and a few interlocks?

   Err..., you wouldn't be contemplating sharing lots of fine-grain
   symbols between the CPUs?

Regards,
Erik



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list