Hi
Sometime ago I saw somewhere that it is possible to have two variables with same name in two different sections .BSS and .Data inside one ELF binary file. The trick was to declare variables as extern/static,perhaps initialized and uninitialized. I really don't remember how to achieve similar results.
I can't find article about that, maybe someone of you has some detail, perhaps, can point me to the that.
Sometime ago I saw somewhere that it is possible to have two variables with same name in two different sections .BSS and .Data inside one ELF binary file. The trick was to declare variables as extern/static,perhaps initialized and uninitialized. I really don't remember how to achieve similar results.
I can't find article about that, maybe someone of you has some detail, perhaps, can point me to the that.