Symbol weirdness on SCO OSR5
Jim Wilson
wilson@chestnut.cygnus.com
Mon Sep 8 15:04:00 GMT 1997
I took a look at this, and I noticed in the egcs.reloc file, in the .text
section you have:
00000824 R_386_32 __ctype
I believe that this is not a valid relocation type for the text section.
This relocation seems to be the only one that has the wrong type.
I can't tell what is wrong from looking at the egcs.od file. It seems
to be a relocation in this instruction, but that doesn't tell me anything
useful.
822: f0 bf 01 00 00 lock movl $0x1,%edi
You might try looking at the .s file produced from compiling the file Panner.c.
There will probably be something obviously wrong here if you know what to
look for. I think that references to globals are all supposed to have
@GOT/@GOTOFF/@PLT appended to the end of the symbol name, so if you find
a reference to __ctype that is missing this suffix, then that is the problem.
Jim
More information about the Gcc
mailing list