My problem is now that I have variables which I define as a global variable (outside from any function) and this variables use the section "COMMON" and I don´t know how to handle such variables. I would like to have that all symbols (functions and objects) are defined in relative to a section. The same problem applies to variables I define global and want to use in another source file, but in scope of the same module.
I hope you get the point.
sample code:
Code: Select all
uint32t foo;
void bar() {
...
}