According to

http://www.iagu.net/docs/dec/AA-PS31D-TET1_html/asm10.html

DT_MIPS_UNREFEXTNO holds an index into the dynamic symbol table. The index is
the entry of the first external symbol that is not referenced within the object.
But MIPS/ELF does:

            case DT_MIPS_UNREFEXTNO:
              /* The index into the dynamic symbol table which is the
                 entry of the first external symbol that is not
                 referenced within the same object.  */
              dyn.d_un.d_val = bfd_count_sections (output_bfd) + 1;

I have no ideas what it is trying to do. I posted a patch:

http://sourceware.org/ml/binutils/2005-03/msg00459.html

But I am not very familiar with MIPS/ELF.

-- 
           Summary: MIPS/ELF doesn't set DT_MIPS_UNREFEXTNO correctly
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: hjl at lucon dot org
                CC: bug-binutils at gnu dot org
GCC target triplet: mips-linux


http://sources.redhat.com/bugzilla/show_bug.cgi?id=846

------- 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