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 <[email protected]>
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.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils