Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13777872pxu; Mon, 4 Jan 2021 04:21:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJwANUhOXcgO6nt8duUYXAY+NZzMkfnl5R3pWFvwiJLvwQaSU+Nv6gZtkpLvIKrZ3+qERtKT X-Received: by 2002:a17:907:101c:: with SMTP id ox28mr62730564ejb.201.1609762888392; Mon, 04 Jan 2021 04:21:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609762888; cv=none; d=google.com; s=arc-20160816; b=0wxot6dOzlers6pt5uM2cUhCs5RPzV2t1pkm+j9MYpdkRxR3D3yscFD5vm0Yn9i9lz 6p9+O/F2iZk1mGnzHEy2CQ6WcGL4sw1eQ9C4dtXCY/F2s92Vh9Tor1UmcClnnAdQhdSh oFjuLyx3txL2C75EJMXrPQS70Qnrbz+KVrdckVmR6kzPjtHgdV7jX2Bbo1bIomyYavC7 Mn3ojVRJCuJamfJF9Q2YXFDwq2+yY4yf10YY9fVitKtH2Rab5Nb3KNOXeNsm0zmDai5h XrsqfiGMqELxhW/qbLTf2Dp6AIcaehEFtCApzrwbT3yGyJP4j6n34n67vBtXBinxmzl1 bryA== 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 :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=QT+sTrOHmzw/IEhK4TpbxVslGv1eZAC9MAiDIkeRbwc=; b=ruvBljfCS7FwHGj5I53S2nOHQc8qp2RAjAKojsIt9iFBRiN+Dk3ho3NkuyONg+XuJK VSD9jqtHXSyIu7S/t120F2d/1422lsA5zdlotijipoluwghRjKxVtb2e0g+vCWAZcK1E zsGJdFoaSi0a/FQcKpID48l/meVhatrCZM19AFW2M+yKnF/Fak86OtZW1mWJxtTsqxfM rn7lXBOIL80noBwuAXchEDAa2HApcw3qxlqlzgPt4LVegd26bTOBYYni+yCJjxChV1Z/ M0v99LE6a+JvNBNOV/83iSK20Xm+2Qdu1kbUojG/99Fy7ORLJR/sS6Q1OO/XFLGpRqzQ svWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b=BmkAZgu6; 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 ck10si31614064edb.568.2021.01.04.04.21.05; Mon, 04 Jan 2021 04:21:28 -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=BmkAZgu6; 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 S1726602AbhADMS5 (ORCPT + 99 others); Mon, 4 Jan 2021 07:18:57 -0500 Received: from mail-40136.protonmail.ch ([185.70.40.136]:28209 "EHLO mail-40136.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726586AbhADMS5 (ORCPT ); Mon, 4 Jan 2021 07:18:57 -0500 Date: Mon, 04 Jan 2021 12:18:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1609762694; bh=QT+sTrOHmzw/IEhK4TpbxVslGv1eZAC9MAiDIkeRbwc=; h=Date:To:From:Cc:Reply-To:Subject:From; b=BmkAZgu6mvqIpaVT+KnbmBJsJL9ZQ8DxHQ8q9EMg+zxUSml7YCs2/v5Qm4vuImBjs HMixK0no6LXT5zZ7U4YUlATCsuOG8UjDXeF515RIFfmOOoa4HUBN6NVdLKx70ozBGG uXxcwDBeaNc4Y3pwQo8hxNF/qwOnLWRpL3f7mJciYMBNaX+HmdT32MvdbgzlylyIJ4 KqtQf4ww8efE7GEHgNuE0d23x435gn31SODZyGgwOHnmXJAwbFTEuAAPECgBrurht7 WiFgdAkRN67hl8Qelt+phwJEV3fBuRWF5re/8Q7ad38WP75N4K1BpXnrztCFqnBWTg xl/TJM3zR39UQ== To: Thomas Bogendoerfer From: Alexander Lobakin Cc: Alexander Lobakin , Kees Cook , Ingo Molnar , Fangrui Song , Jiaxun Yang , Ralf Baechle , Alex Smith , Markos Chandras , linux-mips@vger.kernel.org, stable@vger.kernel.org, linux-kernel@vger.kernel.org Reply-To: Alexander Lobakin Subject: [PATCH mips-next 0/4] MIPS: vmlinux.lds.S sections fix & cleanup Message-ID: <20210104121729.46981-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 This series hunts the problems discovered after manual enabling of ARCH_WANT_LD_ORPHAN_WARN, notably the missing PAGE_ALIGNED_DATA() section affecting VDSO placement (marked for stable). Compile and runtime tested on MIPS32R2 CPS board with no issues. Alexander Lobakin (4): MIPS: vmlinux.lds.S: add missing PAGE_ALIGNED_DATA() section MIPS: vmlinux.lds.S: add ".rel.dyn" to DISCARDS MIPS: vmlinux.lds.S: add ".gnu.attributes" to DISCARDS MIPS: select ARCH_WANT_LD_ORPHAN_WARN arch/mips/Kconfig | 1 + arch/mips/kernel/vmlinux.lds.S | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) --=20 2.30.0