bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/17739] Assertion fail ../../bfd/elf32-sh.c:4504 on sh4 when comp


From: sourceware-bugzilla at mkarcher dot dialup.fu-berlin.de
Subject: [Bug ld/17739] Assertion fail ../../bfd/elf32-sh.c:4504 on sh4 when compiling Qt5
Date: Wed, 04 Feb 2015 23:15:20 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=17739

--- Comment #4 from Michael Karcher <sourceware-bugzilla at mkarcher dot 
dialup.fu-berlin.de> ---
Thanks for your comment, which seems to be spot-on. It allowed me to create a
minimal example that exhibits the same assertation failure if linked with
--gc-sections:

        .section data.kept
        .globl  foo
foo:
        .long   address@hidden

        .section data.omitted
        .long   address@hidden

It seems like sh_elf_gc_sweep_hook should not decrement the refcount for GOTOFF
and GOTPC relocation types. Patch with testcase incoming later

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