bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/7027] 64-bit libstdc++.so fails to link on Solaris 11/SPARC: cou


From: ian at airs dot com
Subject: [Bug ld/7027] 64-bit libstdc++.so fails to link on Solaris 11/SPARC: could not read symbols: Bad value
Date: 16 Nov 2008 18:33:44 -0000

------- Additional Comments From ian at airs dot com  2008-11-16 18:33 -------
I didn't write the code in question.  The code I added was simple: if there is a
R_SPARC_WPLT30 reloc against a symbol for which no PLT entry was created, we
handle it as a R_SPARC_WDISP30 reloc.  That is straightforward and obviously
correct.  It is correct whether the object file is 32-bit or 64-bit.  I haven't
looked at the 64-bit SPARC ELF format, and I'm not sure what all the relocs in
that case are.  But it seems clear that
    if (h == NULL && ELFXX_R_TYPE (rel->r_info) == R_SPARC_WPLT30))
_bfd_sparc_elf_check_relocs should simply return TRUE.

The same case must also be handled in _bfd_sparc_elf_relocate_section.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=7027

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]