bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/13387] New: Abort at elf32-hppa.c:3921 in elf32_hppa_relocate_se


From: danglin at gcc dot gnu.org
Subject: [Bug ld/13387] New: Abort at elf32-hppa.c:3921 in elf32_hppa_relocate_section
Date: Sat, 05 Nov 2011 16:43:07 +0000

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

             Bug #: 13387
           Summary: Abort at elf32-hppa.c:3921 in
                    elf32_hppa_relocate_section
           Product: binutils
           Version: 2.23 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: address@hidden
        ReportedBy: address@hidden
    Classification: Unclassified


Breakpoint 1, elf32_hppa_relocate_section (output_bfd=0xa21f0, info=0x8078c, 
    input_bfd=0x8a03430, input_section=0x8acac68, contents=0x4052c008 "", 
    relocs=0x8abe9d8, local_syms=0xced4478, local_sections=0xd9515c8)
    at ../../src/bfd/elf32-hppa.c:3921
3921            abort ();
(gdb) p *hh
$22 = {eh = {root = {root = {next = 0x0, 
        string = 0x8aa0679
"_ZN7WebCore35XMLHttpRequestProgressEventThrottleD1Ev", hash = 475821030}, type
= bfd_link_hash_defined, non_ir_ref = 0, u = {
        undef = {next = 0x8a87a98, abfd = 0x8ac8568}, def = {next = 0x8a87a98, 
          section = 0x8ac8568, value = 0}, i = {next = 0x8a87a98, 
          link = 0x8ac8568, warning = 0x0}, c = {next = 0x8a87a98, 
          p = 0x8ac8568, size = 0}}}, indx = -1, dynindx = -1, got = {
      refcount = -1, offset = 4294967295, glist = 0xffffffff, 
      plist = 0xffffffff}, plt = {refcount = -1, offset = 4294967295, 
      glist = 0xffffffff, plist = 0xffffffff}, size = 160, type = 2, 
    other = 2, target_internal = 0, ref_regular = 1, def_regular = 1, 
    ref_dynamic = 0, def_dynamic = 0, ref_regular_nonweak = 1, 
    dynamic_adjusted = 1, needs_copy = 0, needs_plt = 0, non_elf = 0, 
    hidden = 0, forced_local = 1, dynamic = 0, mark = 1, non_got_ref = 0, 
    dynamic_def = 0, dynamic_weak = 0, pointer_equality_needed = 0, 
    unique_global = 0, dynstr_index = 7049, u = {weakdef = 0x0, 
      elf_hash_value = 0}, verinfo = {verdef = 0x0, vertree = 0x0}, 
    vtable = 0x0}, hsh_cache = 0x0, dyn_relocs = 0x8abc4d8, 
  tls_type = GOT_UNKNOWN, plabel = 1}

Relocation is R_PARISC_PLABEL32.  Symbol visibility is STV_HIDDEN and
it has been forced local.  No space has been allocated in plt because
the plt refcount is -1.

Function is defined in .s:

        .section       
.text._ZN7WebCore35XMLHttpRequestProgressEventThrottleD1
Ev,"ax",@progbits
        .align 4
.globl _ZN7WebCore35XMLHttpRequestProgressEventThrottleD1Ev
        .hidden _ZN7WebCore35XMLHttpRequestProgressEventThrottleD1Ev
        .type   _ZN7WebCore35XMLHttpRequestProgressEventThrottleD1Ev, @function
.LFB3486:
        .cfi_startproc
        .cfi_personality 0x9b,DW.ref.__gxx_personality_v0
        .cfi_lsda 0x1b,.LLSDA3486
_ZN7WebCore35XMLHttpRequestProgressEventThrottleD1Ev:
        .PROC
        .CALLINFO FRAME=128,CALLS,SAVE_RP,ENTRY_GR=5
        .ENTRY
        stw %r2,-20(%r30)
        addil LT'_ZTVN7WebCore35XMLHttpRequestProgressEventThrottleE,%r19
        ldw RT'_ZTVN7WebCore35XMLHttpRequestProgressEventThrottleE(%r1),%r20
        ldo 8(%r20),%r20
        stwm %r5,128(%r30)

This is reference:

        .section       
.data.rel.ro._ZTVN7WebCore35XMLHttpRequestProgressEventT
hrottleE,"awG",@progbits,_ZTVN7WebCore35XMLHttpRequestProgressEventThrottleE,comdat
        .align 8
        .type   _ZTVN7WebCore35XMLHttpRequestProgressEventThrottleE, @object
        .size   _ZTVN7WebCore35XMLHttpRequestProgressEventThrottleE, 20
_ZTVN7WebCore35XMLHttpRequestProgressEventThrottleE:
        .word   0
        .word   _ZTIN7WebCore35XMLHttpRequestProgressEventThrottleE
        .word   P%_ZN7WebCore35XMLHttpRequestProgressEventThrottleD1Ev

Maybe this is a comdat issue.

The problem is present in earlier versions.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

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