bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/19145] New: [regression] arm-none-eabi big-endian LTO brok


From: jonathan at codesourcery dot com
Subject: [Bug binutils/19145] New: [regression] arm-none-eabi big-endian LTO broken
Date: Fri, 16 Oct 2015 20:37:40 +0000

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

            Bug ID: 19145
           Summary: [regression] arm-none-eabi big-endian LTO broken
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: jonathan at codesourcery dot com
  Target Milestone: ---

This is a continuation of: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67871

$ touch empty.c
$ arm-none-eabi-gcc -mbig-endian -flto empty.c
/tmp/ccUtMyOv.o: file not recognized: File format is ambiguous
/tmp/ccUtMyOv.o: matching formats: elf32-bigarm elf32-big
collect2: error: ld returned 1 exit status


I've git-bisected, keeping the gcc revision fixed to ToT, and following commit
seems to be the culprit:

commit 5ae0078cd2b6b69e6119864e20987c8724916b29
Author: H.J. Lu <address@hidden>
Date:   Wed Feb 11 05:01:03 2015 -0800

    Merge linker plugin handling into BFD plugin support

    Linker plugin_maybe_claim is the interface of linker plugin support.
    This patch extracts linker plugin_maybe_claim into plugin_object_p and
    makes it available to BFD via a new function:

    void register_ld_plugin_object_p (const bfd_target *(*) (bfd *));

    bfd_plugin_object_p calls plugin_object_p registered by linker first.  It
    adds an enum bfd_plugin_format field and a pointer to plugin dummy BFD so
    that plugin_object_p stores plugin dummy BFD to allow plugin_maybe_claim
    to retrieve it 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]