global offset table problem
Ben Hubbert
bighubb@stanford.edu
Fri Nov 10 00:50:00 GMT 2000
Hello,
I don't know what I am doing wrong but basically I am linking
files compiled at different times using gcc. I am running on a mips
machine. I have noticed that the symbol table does not match the global
offset table for some procedures. The is a difference of 12 or c. Do you
know what may be causing this?
I know this because I run elfdump -Dg to get the GOT table.
I run elfdump -t to get the symbol table.
symbol table has:
[ 357] matrix 0x00437df8 0 GLOBAL FUNC .text
Global Offset Table has:
[ 230]: 0x00437e04 -31832(gp), 0x100ef348 [matrix]
I would appreciate any help. Thanks!
-Ben
Ben Hubbert
3rd year Phd candidate
Computer Systems Lab Stanford University
BSEE University of Michigan, Ann Arbor
More information about the Gcc
mailing list