getting static local variable address with fromelf

Dear all.

I am trying to get all variable addresses of my ELF file. I am using this command:

fromelf -a --select=* --expandarrays foo.axf

While thing is working for global variables, I can not see any static local variable declared this way:

int foo()

{

static inst var;
[...]

}

Any ideas of how I can obtain this information? I have reading documentation and trying some commands but I can not figure out how to do it.

Thanks for your time

More questions in this forum