Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1098468pxu; Wed, 6 Jan 2021 12:12:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJwrR0zNwu0TbwWPjywP9GdJaxZbYGrzATQutZDE6hL4jwhx37i02DfMJvD5/G3IUHCwhxyw X-Received: by 2002:aa7:c886:: with SMTP id p6mr5266324eds.352.1609963940559; Wed, 06 Jan 2021 12:12:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609963940; cv=none; d=google.com; s=arc-20160816; b=urkg2KbNtodQjC5Vwgqm5hNFt1BYpppx2vGT1ZW8zKlmLdujPE8xSnzTLULwuMmToi 3tZUA0/iQ3QAqqWkDW/HkTFXTbpAtwe/fgFcUrVaBOCYHAWoKSCdUAqv8z3ZkabRIg5o ygspf5ZtqrBZerX7QEu9BcHs1Na01MBWB2O7g8/1/09H975enO6q8QqQFIZj6Yd7ZL9b laPnfG6uUzAKJ21MDB7PXPo0zrd6NxPIYgPmpcczhqkkTKuh31FXftEyMycGyZDmzeDz yZ/DV3frCgv/dAu0sY2TXtSmYsNZ7jQ9r9kR7NDCTzI8bNyCQ0XrryprOX9Kc16zdYAS OkRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:reply-to:cc:from:to :dkim-signature:date; bh=FmvdsZCHCCE79sjLAYIX/gq7paKAr3hB9iXFALHlrb4=; b=i+oTuX2GzjDI8CMRdJu72XyWLuiX3i6iIJXIz1Z2lQMLFOs19ViC23+UU/LvlyQDxg YFy5C/THaw2wvUsMKUqkP76fb51z65gsXx4NdYL0fEQ7hca8PQYznzBGljduf2xz2hYu PVHOuB4Y8h2nwr6LZGy/NOvLE5odyoAyUcFvxATfiKZvPsw0Z2qW6/bgF0KEzEDJqYRC 2hicgxKEcIuJHky/gKitRsUEs/986Mj4xB+z2SF3X8zNXBPUubORIv0l0uKeLAXS9iXg PJmHBSTNGuomVMig7V4ammmUGvPlEuTXAvk6f54s5PLcltlIGwRe3dK4MX7wuYciwKyq PMIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b=gt36kiA0; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g19si1293588edf.599.2021.01.06.12.11.57; Wed, 06 Jan 2021 12:12:20 -0800 (PST) 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=@pm.me header.s=protonmail header.b=gt36kiA0; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727220AbhAFUJh (ORCPT + 99 others); Wed, 6 Jan 2021 15:09:37 -0500 Received: from mail-40131.protonmail.ch ([185.70.40.131]:13407 "EHLO mail-40131.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725822AbhAFUJg (ORCPT ); Wed, 6 Jan 2021 15:09:36 -0500 Date: Wed, 06 Jan 2021 20:08:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1609963734; bh=FmvdsZCHCCE79sjLAYIX/gq7paKAr3hB9iXFALHlrb4=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=gt36kiA0CRoN8rChYplX9XqLtn9UKfAR9usnM1uWIFAHUshGzRBlLI+zwggTmGMTj JGbxJM4w/rbrz6YpzayyOgJDU3WL9EPMzb0fdstFh7URQ0qsVgdyosMuc8I2kr6ZLK N+/yCp4qh0juzn28oXa86sRonFMHbUw24GUwou1j1osqEgAqV/hnswyuNFZF9ksmvv JuaB+wbuFWd84McudMSzsxDvg5RiznS19PwJATCwjKJ2ltv4q/FhugFRPtJEl/7voc mV/t33M0CBHvU2KPJcsIFKdJ9yNmLzMYWgRX9Fym1bWK8jyjcr4d62mSdCFvcMKAyp 44mx+EOvo34pw== To: Thomas Bogendoerfer From: Alexander Lobakin Cc: Alexander Lobakin , Nathan Chancellor , Kees Cook , Fangrui Song , Jiaxun Yang , Alex Smith , Ralf Baechle , Markos Chandras , linux-mips@vger.kernel.org, stable@vger.kernel.org, linux-kernel@vger.kernel.org Reply-To: Alexander Lobakin Subject: [PATCH v2 mips-next 4/4] MIPS: select ARCH_WANT_LD_ORPHAN_WARN Message-ID: <20210106200801.31993-4-alobakin@pm.me> In-Reply-To: <20210106200801.31993-1-alobakin@pm.me> References: <20210106200713.31840-1-alobakin@pm.me> <20210106200801.31993-1-alobakin@pm.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now, after that all the sections are explicitly described and declared in vmlinux.lds.S, we can enable ld orphan warnings to prevent from missing any new sections in future. Signed-off-by: Alexander Lobakin --- arch/mips/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index d68df1febd25..d3e64cc0932b 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -18,6 +18,7 @@ config MIPS =09select ARCH_USE_QUEUED_SPINLOCKS =09select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT if MMU =09select ARCH_WANT_IPC_PARSE_VERSION +=09select ARCH_WANT_LD_ORPHAN_WARN =09select BUILDTIME_TABLE_SORT =09select CLONE_BACKWARDS =09select CPU_NO_EFFICIENT_FFS if (TARGET_ISA_REV < 1) --=20 2.30.0