Hi all
Why the .a (static library) still need a .got (global offset
table) session?
I think the static library will linked to the target, all the global
variable will have a place to live in, why need relocation?
I can see no reason why there should be a global offset table emitted during compilation of a static library using GCC. It will be emitted for a shared library. What flags are you using during compilation and packaging of the library? *curious*