Re: [PATCH] MIPS: Allow R6 compact branch policy to be left unspecified

2016-05-11 Thread Maciej W. Rozycki
On Wed, 11 May 2016, Ralf Baechle wrote: > I was wondering if we should simply probe for the availability of the > GCC option and not use it, if using an older GCC, then change the > help text for the option accordingly. This approach would allow > make randconfig or similar to work as expected w

Re: [PATCH] MIPS: Allow R6 compact branch policy to be left unspecified

2016-05-11 Thread Ralf Baechle
I was wondering if we should simply probe for the availability of the GCC option and not use it, if using an older GCC, then change the help text for the option accordingly. This approach would allow make randconfig or similar to work as expected with older compilers. Ralf

Re: [PATCH] MIPS: Allow R6 compact branch policy to be left unspecified

2016-04-22 Thread James Hogan
On Fri, Apr 22, 2016 at 04:56:02PM +0100, Maciej W. Rozycki wrote: > On Fri, 22 Apr 2016, Paul Burton wrote: > > > It turns out that some toolchains which support MIPS R6 don't support > > the -mcompact-branches flag to specify compact branch behaviour. Default > > to not providing the -mcompact-b

Re: [PATCH] MIPS: Allow R6 compact branch policy to be left unspecified

2016-04-22 Thread Maciej W. Rozycki
On Fri, 22 Apr 2016, Paul Burton wrote: > It turns out that some toolchains which support MIPS R6 don't support > the -mcompact-branches flag to specify compact branch behaviour. Default > to not providing the -mcompact-branch option to the compiler such that > we can build with such toolchains.

[PATCH] MIPS: Allow R6 compact branch policy to be left unspecified

2016-04-22 Thread Paul Burton
It turns out that some toolchains which support MIPS R6 don't support the -mcompact-branches flag to specify compact branch behaviour. Default to not providing the -mcompact-branch option to the compiler such that we can build with such toolchains. Signed-off-by: Paul Burton Reported-by: kbuild t