Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp499996pxa; Fri, 21 Aug 2020 12:46:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2ymKYK/mZo5nXduDY23/NK01J/1rabxAQ2Cf36mw3rVaCg7XEYAlbxtWE/u0tRw94cCAE X-Received: by 2002:a17:906:4755:: with SMTP id j21mr3599011ejs.422.1598039194735; Fri, 21 Aug 2020 12:46:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598039194; cv=none; d=google.com; s=arc-20160816; b=Fz6K/qrawiHFWAHGJW5hEmqmhe53pDMWeShBsKnmKYVzbinlNYgQPz0lgyO2nJ7G7u nwvzuLaClfCKLAVC17eRZBe/67ewtZlpugErgw0NmhZXefMxsoGs6k8z1SfgMiNwy1Uu UZwl3ZbkCoM689S2qbz3maBN4yv1dvuZqy4YVp3foOvHM+Qn8dhx4kfrsOYX6gkEvyOA FSgrwNlyTZgqJjI07GEI8HpkNUBWLVPZ/dPS4vh92TyelHFw0x2ZDSsGs8jYAixHOV9C CfqrNS8giRJltYwZoBN8hgfPtTGAKlkJ4lPWYfw7gbuan4/xR8dpDUfkHkemJcfzBjQk PUHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Iyu1hqfWZF/Rprc+orVpuMlUtMs4mrBdsJ6TcxbP7dg=; b=ieeHd7GndKPcvd7XmE4Hz5SG6pMDHTtdJIghxDpMyoa5RWawdsot4LAfLwzBYWrkJj DBNSFLOFa+jBlHg5IONyoxjT+i696KyNj7Q9EXMygpRWBeNT4cxsi9GyB+HYqdwpyCfp yzIvVjLNL+EnO8E9ChdaCq1LCUR0DfdwWstMvcoFtj4KeBeQdE+qERcp3T5V+LX/ThLp bqK3FTJ7q8qiQPxAr3Isnq4kunpHiighWElDJtWu7fogPnwHym3hPEy03CkyjjCbiPyS UwRO5NybGcpl2mf91YzvdeFP7uLWCHEFm10WiOfg79O1u1BjhS7iyrLo7a2T+V60/od+ koKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="cEhj/1dX"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f19si1884527eds.21.2020.08.21.12.46.11; Fri, 21 Aug 2020 12:46:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="cEhj/1dX"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726688AbgHUTpO (ORCPT + 99 others); Fri, 21 Aug 2020 15:45:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726801AbgHUToo (ORCPT ); Fri, 21 Aug 2020 15:44:44 -0400 Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E719C061387 for ; Fri, 21 Aug 2020 12:44:30 -0700 (PDT) Received: by mail-pj1-x1042.google.com with SMTP id kr4so1263469pjb.2 for ; Fri, 21 Aug 2020 12:44:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Iyu1hqfWZF/Rprc+orVpuMlUtMs4mrBdsJ6TcxbP7dg=; b=cEhj/1dXziGzNz3rzCPAyy+0VKr4B6ufAh5DgKVx30rzDGb14ve/eXfOAOHLNwWMoJ CdTN2XCZlucbNHybqLceeWOXF09o+ktLiVPykM1lpIJxxYeBbq0GUTQ6Y8QnLr5f8mJp 2Oh+xOILfK2AkARlkRq0fbM9ZA6auqArJxZb8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Iyu1hqfWZF/Rprc+orVpuMlUtMs4mrBdsJ6TcxbP7dg=; b=HqQrRn6aJYFa7RxI9NVDJutmhwqTgxIgVuffjULAMQBAqdZQ6oYQ7dgdrkqx5TRgof qM4795s68zI1gxyf+mctEE82Pl/9BlAd652Iwmbq9appfeQMC3L44iJY4ytnMW8h5eKk 28GkMwxcYda4qRGM1KQ//x8PeHvR5EkJxjGaZZSlPe2Ud5i4DKt6wfN7zq1iNj7lwRkZ rtqccl8wQspy9a4Q+I8gQ869VRK3LTZqIpqiqsckEFRSjufUz1JyB4fGoEB6dwhjvwuI lNa7pEmCG8zewDq0mx78jd4FS5u8dPci/b0ImBQhqiTU4/AAIdGHjXcxWfmmPz6Pc+J9 8HLA== X-Gm-Message-State: AOAM532cpUl9abj6X+MsQskXxjEergzdmDKmUiPocwRR6EMLrObOqwip CEBgJqtOjHahyqvMiYF1M33Dsg== X-Received: by 2002:a17:90a:9d83:: with SMTP id k3mr3788859pjp.19.1598039070005; Fri, 21 Aug 2020 12:44:30 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id z9sm3224171pfn.59.2020.08.21.12.44.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2020 12:44:25 -0700 (PDT) From: Kees Cook To: Ingo Molnar Cc: Kees Cook , Catalin Marinas , Mark Rutland , Ard Biesheuvel , Peter Collingbourne , James Morse , Borislav Petkov , Ingo Molnar , Russell King , Masahiro Yamada , Arvind Sankar , Nick Desaulniers , Nathan Chancellor , Arnd Bergmann , x86@kernel.org, clang-built-linux@googlegroups.com, linux-arch@vger.kernel.org, linux-efi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 12/29] arm64/build: Add missing DWARF sections Date: Fri, 21 Aug 2020 12:42:53 -0700 Message-Id: <20200821194310.3089815-13-keescook@chromium.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200821194310.3089815-1-keescook@chromium.org> References: <20200821194310.3089815-1-keescook@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Explicitly include DWARF sections when they're present in the build. Signed-off-by: Kees Cook --- arch/arm64/kernel/vmlinux.lds.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/kernel/vmlinux.lds.S b/arch/arm64/kernel/vmlinux.lds.S index 082e9efa2b43..16eb2ef806cd 100644 --- a/arch/arm64/kernel/vmlinux.lds.S +++ b/arch/arm64/kernel/vmlinux.lds.S @@ -239,6 +239,7 @@ SECTIONS _end = .; STABS_DEBUG + DWARF_DEBUG ELF_DETAILS HEAD_SYMBOLS -- 2.25.1