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

See the CrossGCC FAQ for lots more information.


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: Multiarchitecture linking


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


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