ver_test_8_2.so
David Miller
davem@davemloft.net
Tue May 20 06:07:00 GMT 2008
The command line that builds this in the testsuite fails on sparc
because it tries to link CRT files into a shared library. That
doesn't work because R_SPARC_PC22 et al. are not valid dynamic
relocations.
I suspect that bringing the CRT files into this shared library
link is unintentional, and that we need to add something like
"-nostartfiles" to the gold testsuite build command lines for
such testcases.
But even with that fixed, two_file_test_2_pic.o also has relocations
that cannot end up being dynamic on sparc. It's the same problem as
that hit in the CRT files, R_SPARC_PC22 relocs against
_GLOBAL_OFFSET_TABLE_
More information about the Binutils
mailing list