The attached test-case exposes a BFD_ASSERT "covering" a short-cut: instead of
merging the lists of sections with pc-relative relocs (that have to be copied)
when creating shared libraries, the list was just copied over to the direct
symbol.  Originally this failed when the shared library being created, contained
a non-pic pc-relative reference to abort, which in glibc is versioned, thus
being an indirect symbol to the linker.

-- 
           Summary: assertion fail /home/hp/binutils/src/bfd/elf32-
                    cris.c:3109 elf_cris_copy_indirect_symbol
           Product: binutils
           Version: 2.21 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: hp at sourceware dot org
        ReportedBy: hp at sourceware dot org
                CC: bug-binutils at gnu dot org
GCC target triplet: cris-*-* and crisv32-*-*


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

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


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to