Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/objdump: symbolization of global variable doesn't work for shared objects #24712
What operating system and processor architecture are you using (
On linux the issue looks slightly different:
I don't know what's going on on darwin, but on linux the address isn't identified as the GLOBAL_OFFSET_TABLE because the size of the GLOBAL_OFFSET_TABLE symbol is zero. Also I don't know if there is a way to recover the original name of a GOT slot.
Thanks for looking into it.
I haven't looked into the detail about the names in GOT, but apparently Mac otool can tell the name:
Linux objdump also kind of knows, with an offset which I don't yet understand:
So I guess there is a way to tell (but I haven't looked into it).