bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/5646] New: Crash in ppc64_elf_tls_optimize


From: schwab at suse dot de
Subject: [Bug ld/5646] New: Crash in ppc64_elf_tls_optimize
Date: 18 Jan 2008 17:37:57 -0000

0x00000400000b3bfc in ppc64_elf_tls_optimize (obfd=<value optimized out>, 
    info=0x100b7e80) at /cvs/binutils/bfd/elf64-ppc.c:7080
7080                          for (ent = htab->tls_get_addr->elf.plt.plist;
(gdb) p htab.tls_get_addr
$2 = (struct ppc_link_hash_entry *) 0x0

Introduced by:

        * elf64-ppc.c (ppc64_elf_check_relocs): Don't refcount tlsld_got here..
        (ppc64_elf_gc_sweep_hook): ..or here..
        (ppc64_elf_tls_optimize): ..or here.  Make two passes through the
        relocs, ensuring that tls_get_addr calls follow gd and ld relocs.
        (allocate_dynrelocs): Refcount tlsld_got here.
        (ppc64_elf_size_dynamic_sections): Allocate local got and call
        allocate_dynrelocs before allocating tlsld_got.
        (ppc64_elf_relocate_section): Remove check that a tls_get_addr
        call follows gd and ld relocs.

-- 
           Summary: Crash in ppc64_elf_tls_optimize
           Product: binutils
           Version: 2.19 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: schwab at suse dot de
                CC: amodra at bigpond dot net dot au,bug-binutils at gnu dot
                    org
GCC target triplet: powerpc64-linux


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

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