where to put code and data in ROM

Simpkins, Andy Andy.Simpkins@Transcomm.uk.com
Thu Aug 23 08:25:00 GMT 2001


Hi there,

The GCC manual tells us :

	extern void foobar (void) __attribute__ ((section ("bar")));

puts the function foobar in the bar section. 


How do I define 

	unsigned char globalArchive[] = {0x04, 0x18, 0x00, 0x00, 0x81};

such that this is stored in the bar section as well?


Andy


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



More information about the crossgcc mailing list