bug-binutils
[Top][All Lists]
Advanced

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

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


From: Nick Clifton
Subject: Re: [Bug ld/7027] 64-bit libstdc++.so fails to link on Solaris 11/SPARC: could not read symbols: Bad value
Date: Mon, 17 Nov 2008 17:39:51 +0000
User-agent: Thunderbird 2.0.0.16 (X11/20080723)

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




reply via email to

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