Hi,

First of all I would like to say thanks a lot for finally getting support for
SHF_ORDERED, SHF_EXCLUDE, SHN_BEFORE and SHN_AFTER included so that binutils can
link correctly with the funky libs in Solaris 10 and OpenSolaris.  There is one
slight problem though: This is only enabled on SPARC.

If you could remove the switch-case blocks that check for EM_SPARC*
(binutils/readelf.c, bfd/elf.c, bfd/elfcode.h) and replace them just a simple
#ifdef __sun, #endif, that would probably fix the problem.

The changes are simple enough but if you want me to come up with a patch just 
ask.

-- 
           Summary: Support for linking with Solaris libraries is only
                    enabled on SPARC!
           Product: binutils
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: andyjstormont at googlemail dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: i386-pc-solaris2.11
  GCC host triplet: i386-pc-solaris2.11
GCC target triplet: i386-pc-solaris2.11


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

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