From: Weddington, E. <Eri...@at...> - 2010-11-04 16:39:54
|
> -----Original Message----- > From: sch...@kw... [mailto:sch...@kw...] > Sent: Thursday, November 04, 2010 9:50 AM > To: Borja Ferrer; avr...@li... > Subject: Re: [avr-llvm-devel] Load / Store > > On Thu, 4 Nov 2010 15:52:05 +0100, Borja Ferrer wrote > > i havent checked if clang supports named address spaces, i know gcc > > does, but at the end we should end up using only clang as > the frontend? > > Clang uses __attribute__((address_space(N))). In clang > attributes act like type > qualifiers, so this works correctly. These would presumably > be given pre-defined > macro names; I believe avr-gcc plans to follow IAR in naming > them __flash, > __eeprom, etc. I expect Eric can confirm. Confirmed. It's being worked on at the moment. |