This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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_


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]