Re: mixed LTO support for 'ld -r'

2016-01-04 Thread Nicolas Pitre
On Mon, 4 Jan 2016, Adhemerval Zanella wrote: > Nicolas, I am about to start a new thread about ""ld -r" on mixed > IR/non-IR objects", asking current status from H.J. Lu, what is > preventing upstream merge, concerns and objections. > > First I would to know which the priority of this feature f

RE: mixed LTO support for 'ld -r'

2016-01-04 Thread Pinski, Andrew
, January 4, 2016 5:33 AM To: Pinski, Andrew ; Nicolas Pitre Cc: Jim Wilson ; Linaro Toolchain Mailman List Subject: Re: mixed LTO support for 'ld -r' These are orthogonal requests, let's track them independently. Also, although I noticed s390 work to add split-stack support, m

Re: mixed LTO support for 'ld -r'

2016-01-04 Thread Adhemerval Zanella
On 23-12-2015 15:41, Nicolas Pitre wrote: > On Wed, 23 Dec 2015, Adhemerval Zanella wrote: > >> >> >>> Em 22 de dez de 2015, às 14:22, Nicolas Pitre >>> escreveu: >>> On Mon, 21 Dec 2015, Jim Wilson wrote: I tracked the bulk of the patch back to April 2011, though some new

Re: mixed LTO support for 'ld -r'

2016-01-04 Thread Adhemerval Zanella
- > From: linaro-toolchain [mailto:linaro-toolchain-boun...@lists.linaro.org] On > Behalf Of Nicolas Pitre > Sent: Wednesday, December 23, 2015 9:41 AM > To: Adhemerval Zanella > Cc: Jim Wilson ; Linaro Toolchain Mailman List > > Subject: Re: mixed LTO support for 'ld -r

RE: mixed LTO support for 'ld -r'

2015-12-23 Thread Pinski, Andrew
To: Adhemerval Zanella Cc: Jim Wilson ; Linaro Toolchain Mailman List Subject: Re: mixed LTO support for 'ld -r' On Wed, 23 Dec 2015, Adhemerval Zanella wrote: > > > > Em 22 de dez de 2015, às 14:22, Nicolas Pitre > > escreveu: > > > >> On Mon,

Re: mixed LTO support for 'ld -r'

2015-12-23 Thread Nicolas Pitre
On Wed, 23 Dec 2015, Adhemerval Zanella wrote: > > > > Em 22 de dez de 2015, às 14:22, Nicolas Pitre > > escreveu: > > > >> On Mon, 21 Dec 2015, Jim Wilson wrote: > >> > >> I tracked the bulk of the patch back to April 2011, though some new > >> LTO related testsuite changes date back to Jan

Re: mixed LTO support for 'ld -r'

2015-12-23 Thread Adhemerval Zanella
> Em 22 de dez de 2015, às 14:22, Nicolas Pitre > escreveu: > >> On Mon, 21 Dec 2015, Jim Wilson wrote: >> >> I tracked the bulk of the patch back to April 2011, though some new >> LTO related testsuite changes date back to January 2011. The initial >> patch submission for the bulk of the pa

Re: mixed LTO support for 'ld -r'

2015-12-22 Thread Nicolas Pitre
On Mon, 21 Dec 2015, Jim Wilson wrote: > I tracked the bulk of the patch back to April 2011, though some new > LTO related testsuite changes date back to January 2011. The initial > patch submission for the bulk of the patch appears to be > https://sourceware.org/ml/binutils/2011-04/msg00275.

Re: mixed LTO support for 'ld -r'

2015-12-21 Thread Jim Wilson
On Mon, Dec 21, 2015 at 4:55 AM, Adhemerval Zanella wrote: >> This mix of LTO and non-LTO object files is not supported by upstream >> binutils unless a patch from H.J. Lu is applied. That patch has been >> available since 2013 and was last refreshed in his 2.25.51.0.4 branch >> last September. I

Re: mixed LTO support for 'ld -r'

2015-12-21 Thread Adhemerval Zanella
Hi Nicolas, On 18-12-2015 19:04, Nicolas Pitre wrote: > Hello toolchain gurus, > > In the course of Linaro's kernel tinification project, the ability to > compile the Linux kernel using LTO is a frequent requirement. However > the kernel makes heavy usage of 'ld -r' with .o files resulting from

mixed LTO support for 'ld -r'

2015-12-18 Thread Nicolas Pitre
Hello toolchain gurus, In the course of Linaro's kernel tinification project, the ability to compile the Linux kernel using LTO is a frequent requirement. However the kernel makes heavy usage of 'ld -r' with .o files resulting from LTO build of .c files as well as .o files resulting from pure a