From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BBCE3C433E7 for ; Tue, 1 Sep 2020 14:55:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 914EB2067C for ; Tue, 1 Sep 2020 14:55:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="DhXOAlmi"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="u+RMplDi" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727943AbgIAOzt (ORCPT ); Tue, 1 Sep 2020 10:55:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727818AbgIALs0 (ORCPT ); Tue, 1 Sep 2020 07:48:26 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0267FC061247; Tue, 1 Sep 2020 04:47:58 -0700 (PDT) Date: Tue, 01 Sep 2020 11:47:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1598960876; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VDXsuCFrOgmoOmqotoYKyOTm6TstOUFaJmJpLqvnKco=; b=DhXOAlmiwdTvr/EDTcy+wt0y/4I9sJIdJRIWg5lkroK1vnBcMIUqvrnpoyjPKiT7G54jHV +cU4X1s3x+i6xRP8uARtwbAcN5gPoRAJFHDCZ40P6WK37xqNm+lWrAGUbSVkThrR9Kxn87 pxggevnBQw7SJ5C6Hn906AE8Cn9MpEBtc6ohdlI1R33v8AVMKSMBBgAikBYPy8adoo02gO tP8+j+x+nL+DSdPMxhSUpUwul2/TsM0TYGTZCKMEEi2LliYnvB3bc3T3pMjTKvv+xGQWYG U6zPuf+rVuskK6V5aIMdaffmEWdVCB+uLc7o8bFrJievY9F9zXQFN8qBJ+Rjjg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1598960876; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VDXsuCFrOgmoOmqotoYKyOTm6TstOUFaJmJpLqvnKco=; b=u+RMplDifyhg/RG6ZoEDEsL2Sx2lR3qrh0OG9ThRL5kpF9b3C9p4h7HZYcx71wyYM5Amjx XofNPSzgIM+XMABA== From: "tip-bot2 for Kees Cook" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: core/build] arm/build: Add missing sections Cc: Kees Cook , Ingo Molnar , Nick Desaulniers , Russell King , x86 , LKML In-Reply-To: <20200821194310.3089815-18-keescook@chromium.org> References: <20200821194310.3089815-18-keescook@chromium.org> MIME-Version: 1.0 Message-ID: <159896087553.20229.4455935021131259649.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the core/build branch of tip: Commit-ID: 512dd2eebe5585893412e0c8bec8dbfe2dead6c8 Gitweb: https://git.kernel.org/tip/512dd2eebe5585893412e0c8bec8dbfe2dead6c8 Author: Kees Cook AuthorDate: Fri, 21 Aug 2020 12:42:58 -07:00 Committer: Ingo Molnar CommitterDate: Tue, 01 Sep 2020 10:03:18 +02:00 arm/build: Add missing sections Add missing text stub sections .vfp11_veneer and .v4_bx, as well as missing DWARF sections, when present in the build. Signed-off-by: Kees Cook Signed-off-by: Ingo Molnar Reviewed-by: Nick Desaulniers Cc: Russell King Link: https://lore.kernel.org/r/20200821194310.3089815-18-keescook@chromium.org --- arch/arm/include/asm/vmlinux.lds.h | 4 +++- arch/arm/kernel/vmlinux-xip.lds.S | 1 + arch/arm/kernel/vmlinux.lds.S | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/vmlinux.lds.h b/arch/arm/include/asm/vmlinux.lds.h index c4af518..6624dd9 100644 --- a/arch/arm/include/asm/vmlinux.lds.h +++ b/arch/arm/include/asm/vmlinux.lds.h @@ -59,7 +59,9 @@ #define ARM_STUBS_TEXT \ *(.gnu.warning) \ *(.glue_7) \ - *(.glue_7t) + *(.glue_7t) \ + *(.vfp11_veneer) \ + *(.v4_bx) #define ARM_TEXT \ IDMAP_TEXT \ diff --git a/arch/arm/kernel/vmlinux-xip.lds.S b/arch/arm/kernel/vmlinux-xip.lds.S index 57fcbf5..11ffa79 100644 --- a/arch/arm/kernel/vmlinux-xip.lds.S +++ b/arch/arm/kernel/vmlinux-xip.lds.S @@ -150,6 +150,7 @@ SECTIONS _end = .; STABS_DEBUG + DWARF_DEBUG ARM_DETAILS } diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S index 1d3d3b5..dc672fe 100644 --- a/arch/arm/kernel/vmlinux.lds.S +++ b/arch/arm/kernel/vmlinux.lds.S @@ -149,6 +149,7 @@ SECTIONS _end = .; STABS_DEBUG + DWARF_DEBUG ARM_DETAILS }