Re: [PATCH] MIPS: vmlinuz: Fix compiler intrinsics location and build directly

2018-04-06 Thread James Hogan
On Thu, Apr 05, 2018 at 10:42:19PM +0100, James Hogan wrote: > On Thu, Apr 05, 2018 at 11:13:14AM +0100, Matt Redfearn wrote: > > Actually, this patch would be better inserted as patch 3 in the series > > since it can pull in the generic ashldi3 before the MIPS one is removed > > in the final pat

Re: [PATCH] MIPS: vmlinuz: Fix compiler intrinsics location and build directly

2018-04-05 Thread James Hogan
On Thu, Apr 05, 2018 at 11:13:14AM +0100, Matt Redfearn wrote: > Actually, this patch would be better inserted as patch 3 in the series > since it can pull in the generic ashldi3 before the MIPS one is removed > in the final patch. Here's an updated commit message: Thanks Matt, applied. Cheers

Re: [PATCH] MIPS: vmlinuz: Fix compiler intrinsics location and build directly

2018-04-05 Thread Matt Redfearn
Hi James, Actually, this patch would be better inserted as patch 3 in the series since it can pull in the generic ashldi3 before the MIPS one is removed in the final patch. Here's an updated commit message: MIPS: vmlinuz: Use generic ashldi3 and build directly In preparation for removing

[PATCH] MIPS: vmlinuz: Fix compiler intrinsics location and build directly

2018-04-04 Thread Matt Redfearn
Since commit "MIPS: use generic GCC library routines from lib/", MIPS now uses the generic lib/ashldi3.c, but bswapsi.c still comes from arch/mips/lib. The rules for including these into vmlinuz need updating to reflect these locations. Both objects need to be built with different CFLAGS for inclus