From: John M. <ato...@gm...> - 2012-03-18 20:35:12
|
Hi Borja, On Mon, Mar 12, 2012 at 5:10 PM, Borja Ferrer <bor...@gm...> wrote: > I've started to work in adding support for storing data in flash memory. > As we discussed a year ago the best approach is to use named adress spaces > and clang and llvm supports them. During the weekend I've been working to > store the variables in the .progmem.data section. By default all static > variables are declared in assembly using the .comm directive, so I had to > change the way this works to save them in the mentioned section. > Unfortunately I couldn't find a way to do this without patching a file that > is target independent. > Can these patches be pushed back upstream to the LLVM trunk? --John |