This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
ver_test_8_2.so
- From: David Miller <davem at davemloft dot net>
- To: binutils at sourceware dot org
- Cc: iant at google dot com
- Date: Mon, 19 May 2008 23:07:15 -0700 (PDT)
- Subject: ver_test_8_2.so
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_