From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:48809 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752913AbbIWE7J (ORCPT ); Wed, 23 Sep 2015 00:59:09 -0400 Subject: Patch "powerpc/boot: Specify ABI v2 when building an LE boot wrapper" has been added to the 4.1-stable tree To: benh@kernel.crashing.org, gregkh@linuxfoundation.org, mpe@ellerman.id.au Cc: , From: Date: Tue, 22 Sep 2015 21:59:05 -0700 Message-ID: <1442984345204217@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled powerpc/boot: Specify ABI v2 when building an LE boot wrapper to the 4.1-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: powerpc-boot-specify-abi-v2-when-building-an-le-boot-wrapper.patch and it can be found in the queue-4.1 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From 655471f54c2e395ba29ae4156ba0f49928177cc1 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Tue, 15 Sep 2015 11:24:17 +1000 Subject: powerpc/boot: Specify ABI v2 when building an LE boot wrapper From: Benjamin Herrenschmidt commit 655471f54c2e395ba29ae4156ba0f49928177cc1 upstream. The kernel does it, not the boot wrapper, which breaks with some cross compilers that still default to ABI v1. Fixes: 147c05168fc8 ("powerpc/boot: Add support for 64bit little endian wrapper") Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Michael Ellerman Signed-off-by: Greg Kroah-Hartman --- arch/powerpc/boot/Makefile | 3 +++ 1 file changed, 3 insertions(+) --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile @@ -28,6 +28,9 @@ BOOTCFLAGS += -m64 endif ifdef CONFIG_CPU_BIG_ENDIAN BOOTCFLAGS += -mbig-endian +else +BOOTCFLAGS += -mlittle-endian +BOOTCFLAGS += $(call cc-option,-mabi=elfv2) endif BOOTAFLAGS := -D__ASSEMBLY__ $(BOOTCFLAGS) -traditional -nostdinc Patches currently in stable-queue which might be from benh@kernel.crashing.org are queue-4.1/powerpc-boot-specify-abi-v2-when-building-an-le-boot-wrapper.patch