Hi Rainer,

unfortunately, ld SEGVs now here:

#0  0x0008d19c in _bfd_sparc_elf_check_relocs (abfd=0x1dc518, info=0x19d980, 
sec=0x1f6a28, relocs=0x1fdc18) at 
/vol/gnu/src/binutils/binutils-dist/bfd/elfxx-sparc.c:1348

Doh.  Thinko in the patch.  Please change:

  case R_SPARC_WPLT30:
    /* The Solaris native assembler will generate a WPLT30
       reloc for a local symbol if you assemble a call from
       one section to another when using -K pic.  We treat
       it as WDISP30.  */
    break;

to:

  case R_SPARC_WPLT30:
    /* The Solaris native assembler will generate a WPLT30
       reloc for a local symbol if you assemble a call from
       one section to another when using -K pic.  We treat
       it as WDISP30.  */
    return TRUE;

(Only the last line has changed).

Cheers
  Nick


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

Reply via email to