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

2015-10-16 Thread jonathan at codesourcery dot com
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

[Bug binutils/19145] [regression] arm-none-eabi big-endian LTO broken

2015-10-16 Thread jonathan at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19145 Jonathan Roelofs changed: What|Removed |Added CC||hjl.tools at gmail dot com -- You

[Bug binutils/19145] [regression] arm-none-eabi big-endian LTO broken

2015-10-16 Thread jonathan at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19145 --- Comment #2 from Jonathan Roelofs --- Created attachment 8727 --> https://sourceware.org/bugzilla/attachment.cgi?id=8727&action=edit object file compiled from empty source file $ rm empty.c $ touch empty.c $ ./install/bin/arm-none-eabi-g

[Bug binutils/19145] [regression] arm-none-eabi big-endian LTO broken

2015-10-16 Thread jonathan at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19145 --- Comment #3 from Jonathan Roelofs --- Unfortunately, that doesn't fix it. My gcc and binutils configurations are described here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67871#c3 I've attached the object file that I get from compiling

[Bug binutils/19145] [regression] arm-none-eabi big-endian LTO broken

2015-10-18 Thread jonathan at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19145 --- Comment #5 from Jonathan Roelofs --- (In reply to H.J. Lu from comment #4) > There are 2 issues: > > 1. arm-none-eabi binutils only supports litte-endian. > 2. arm-none-eabi GCC only supports little-endian. > > To support big-endian, you

[Bug binutils/19145] [regression] arm-none-eabi big-endian LTO broken

2015-10-18 Thread jonathan at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19145 --- Comment #7 from Jonathan Roelofs --- $ arm-none-eabi-ld -V GNU ld (GNU Binutils) 2.25.51.20150929 Supported emulations: armelf -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/19145] [regression] arm-none-eabi big-endian LTO broken

2015-10-21 Thread jonathan at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19145 --- Comment #9 from Jonathan Roelofs --- Created attachment 8735 --> https://sourceware.org/bugzilla/attachment.cgi?id=8735&action=edit fix implementation (binutils) Ah, thanks. That will work. -- You are receiving this mail because: You

[Bug binutils/19145] [regression] arm-none-eabi big-endian LTO broken

2015-10-21 Thread jonathan at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19145 --- Comment #10 from Jonathan Roelofs --- Created attachment 8736 --> https://sourceware.org/bugzilla/attachment.cgi?id=8736&action=edit fix implementation (gcc) -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/19145] [regression] arm-none-eabi big-endian LTO broken

2015-10-21 Thread jonathan at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19145 --- Comment #11 from Jonathan Roelofs --- One of my coworkers reminds me that we've done the same thing for linux before: https://sourceware.org/ml/binutils/2006-10/msg00181.html -- You are receiving this mail because: You are on the CC lis

[Bug binutils/19145] [regression] arm-none-eabi big-endian LTO broken

2015-10-21 Thread jonathan at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19145 --- Comment #12 from Jonathan Roelofs --- https://sourceware.org/ml/binutils/2015-10/msg00181.html -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mail