g77 pic case vs. binutils & readelf

Nick Clifton nickc@cygnus.com
Fri Jun 4 11:39:00 GMT 1999


Hi Robert,

: Interestingly, this problem goes away if I change the _link_ of
: the testcase to not pick up ../i6*/pic/libf2c but instead to snare
: ../i6*/libf2c/ directly.  If we're somehow miscompliing pic/libf2c that
: would explain a lot.  OpenServer is the only x86 target that builds a
: pic version of libf2c, I think.  This would explain why the .s for the
: testcase looks identical to the .s for the targets that pass.

Could it be a case of REL vs RELA somewhere ?

In case it helps I have just checked into sourceware a patched version
of readelf which should detect bad symbol indcies and print a warning
message (and then carry on to display the rest of the relocs) rather
than just core dumping.

Cheers
	Nick


More information about the Gcc mailing list