Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1579876ybv; Sat, 8 Feb 2020 01:15:42 -0800 (PST) X-Google-Smtp-Source: APXvYqw0dmFaON4tHnaJ8iMAdclp/A6/49R81ATMmkfPn2YZokcTP65oo8vhHhyylSg/5XEQhlV/ X-Received: by 2002:aca:bc0a:: with SMTP id m10mr4903823oif.77.1581153342436; Sat, 08 Feb 2020 01:15:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581153342; cv=none; d=google.com; s=arc-20160816; b=xZwr/xbWBxi7/1/Fv+z7C6bgiTYynbPQYfcRHynpksgoPJib+FWVofReq3+9U05gF9 xYXK+UxQbGGKTIXAOfSfUWkdl4F7V8joUn5FPCf3MyDy6Wp2ieMYzGDU8Xpm35+F6QMD fiGWMXEfOt1XnyQJJnbtmToKrU8jLXpF3XeJZX+kmGjjlRoB9BD+rLB64aIOE2Bc6bq+ bvV5yB4r6CkBVtagYVAEyMMUHnHrXo/+LX2U9wgWv99wuwBv7vtMro0E0JPTlUnbyP6A rdS01rsRX2DmJ0fXHrZyfI/H52y1XVYvZSq9FwWZ7+wn+O6CVFXWbBxLNK8h18bORIXL nb3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=CoHhfIwiDbvtPfDFAwUN8VuBCX0irygnRTD29jqnMLs=; b=WeFHnulv5YYhUNwYK3VWXHnCYvHDozM3J6cwBmkvKPnouHngcxbJNGqjGGhg7E1e3o ZPT4T0Pkhe97Q5ydUcCFh7yVRIXIunV+xNYwQgU7xV3y4mnSe7hxEXtXknLAWY5hOWsK jZOR+Po+0JlN8HRJrDA5VUt+1gJoAL6K1wmfiKW+BgYYbGCToVH5hBcHqBgAas36Y3oA Hxyd6Z4HnY+mYIrs6GUnkSNC0HTEjbStFQ7HZ0QeUxTFqPXTyxIW4C9uLgjksnlRSDOZ /GG22PfgOYTyJOgshuTgVgYxeKQxg++sciYsvKnhSwEXz+6jF7JZLl9tV1L9SRrGo2HR R5KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fdZgQqcZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c5si1416814oto.74.2020.02.08.01.15.28; Sat, 08 Feb 2020 01:15:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fdZgQqcZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727059AbgBHJPU (ORCPT + 99 others); Sat, 8 Feb 2020 04:15:20 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:37450 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726714AbgBHJPU (ORCPT ); Sat, 8 Feb 2020 04:15:20 -0500 Received: by mail-wr1-f68.google.com with SMTP id w15so1637466wru.4 for ; Sat, 08 Feb 2020 01:15:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CoHhfIwiDbvtPfDFAwUN8VuBCX0irygnRTD29jqnMLs=; b=fdZgQqcZxmWzLEywyxQLKlw29+4QaJ1bzSivk5HBUO7egEfuX5HAFMx4KSmaDKzLRD KnohDr9N4uRL57Tx3dadfWDNg6PLGnh+4bhEuGeGTO7c91mnXHDifMmsjrxwxzrlMZAI Hm7vlybOLMEg0DPAVsO/DJUPr03IP6Fk0OoYH80E9WMniMr1bWgDT9wCOI+GQ4iDwznH pmWq8c5a7d0e0ya9DCL/gyIHCtgr4CeLjrfbnIghQQGuMD/KVBN7szH3L4P1SVj6LQI2 4jjstFccFZCw4jbUqJASLYxna/InQh2nwbGdOHUZPKBN6yenp7/8rMmd9fPaiah9nKSe 3qZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CoHhfIwiDbvtPfDFAwUN8VuBCX0irygnRTD29jqnMLs=; b=huM8GAlX/KHQth+gYGT7gtIpOPHHg1/L3ExpsP5DRRZ9aregABQi6dPkLVTL+oQlaW IwMy9kzKhIN7QMKBs3w7kautOShyJgogmDvL/DLbh9QM14cQUv0WpLa1UcPRUHk/n2qo tuXbP4VbRLiXjvfzgwo6FgeMV7SE9VjijglVS5RFgT7lBL3Rw6AMhGbMSPpKlg+oIFnO CiuyfQEpe1f9qvop4LtjPPQwxpbUAjVBLLVBBbXRevui232SoNGiFePeprNXvjYpCOBA D1so8jGW8/abzTfkAG8HbdtpPG0PQMvbkWelio2TR8pAXHIqmLtpkPxVFMXvesnIoccj dEeQ== X-Gm-Message-State: APjAAAXC52TLGUD9GzmtZYf4oQfWZN8hXLS6gPFw26a3W9We/B+h80q6 pln1XftAjTw+F8hrZK5C11Zsg13faIc85lBmsxjbZmyDE3P4Pu6i X-Received: by 2002:adf:8564:: with SMTP id 91mr4637019wrh.252.1581153316892; Sat, 08 Feb 2020 01:15:16 -0800 (PST) MIME-Version: 1.0 References: <202002080058.FD1DDB1@keescook> In-Reply-To: <202002080058.FD1DDB1@keescook> From: Ard Biesheuvel Date: Sat, 8 Feb 2020 09:15:05 +0000 Message-ID: Subject: Re: [PATCH] ARM: Remove unused .fixup section in boot stub To: Kees Cook Cc: Nicolas Pitre , Nick Desaulniers , Manoj Gupta , Nathan Chancellor , Russell King - ARM Linux , clang-built-linux , Linux ARM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 8 Feb 2020 at 09:04, Kees Cook wrote: > > The boot stub does not emit a .fixup section at all anymore, so remove > it. > > Suggested-by: Nick Desaulniers > Link: https://lore.kernel.org/lkml/CAKwvOdnRhx=SgtcUCyX2ZOGATM8OzG6hSOY9wGQZcwtp+P5WBQ@mail.gmail.com > Signed-off-by: Kees Cook Reviewed-by: Ard Biesheuvel I'd assume these are uncontroversial enough to go straight into the patch system. > --- > arch/arm/boot/compressed/vmlinux.lds.S | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/arm/boot/compressed/vmlinux.lds.S b/arch/arm/boot/compressed/vmlinux.lds.S > index fc7ed03d8b93..b247f399de71 100644 > --- a/arch/arm/boot/compressed/vmlinux.lds.S > +++ b/arch/arm/boot/compressed/vmlinux.lds.S > @@ -36,7 +36,6 @@ SECTIONS > *(.start) > *(.text) > *(.text.*) > - *(.fixup) > *(.gnu.warning) > *(.glue_7t) > *(.glue_7) > -- > 2.20.1 > > > -- > Kees Cook