[K42-discussion] undefined symbol in k42sys.o
Patrick G. Bridges
bridges at cs.unm.edu
Tue Oct 2 08:24:41 EST 2007
On Sep 28, 2007, at 11:52 AM, Bryan S Rosenburg wrote:
>
> I haven't run into "_GLOBAL_OFFSET_TABLE_" before. It seems to be
> an internal artifact of the tool-chain, so if it works to ignore it
> until the final link step, go for it.
Yeah, that was my thinking. It's used for global addressing in
position independent code (it's a symbol in the middle of the .got
section that shared libraries put into a register to index off of in
shared libraries), so I'll have to sort it out with the linker
scripts that puts together the final linking of an executable, I
guess. I get to learn more about x86 dynamic linking than I ever
wanted. :)
-Patrick
More information about the K42-discussion
mailing list