Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2295158pxb; Tue, 23 Feb 2021 03:39:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQUEilsx0+m4JE87s2sx0crIDcic1vUkJAj/b6Sfq1vEQl77O/MBJyDicId6nqwtsLgk6Z X-Received: by 2002:aa7:cf0b:: with SMTP id a11mr15855289edy.244.1614080366603; Tue, 23 Feb 2021 03:39:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614080366; cv=none; d=google.com; s=arc-20160816; b=pqaaSlp+xgzHTLJ/O6urmCXFCXhzSQ60TgzPdaOItWBbSf9Qagv+KLRvVfiZTp2pYi 7emS55ULPgObW/Pb3m8AOq+kWwNePGpT/wyzrwgoNUUccpP/pbzCRga1/vuey4zG+i6c bqM+rYfrZb3hM9sZFeI6MZT451WiMRvrpoiPi9nBdjwrF76jjqzBBMWnby0NUSAGVxeD o0RaJatx1KS7uOr9L2d8E/iaPH1y9UyJ/tglF6gXnbqu96grkiLDRO/8P1Bv2wrZvhr2 4pdGob6i0idJ1trN3QGqFfUTH5V7XaCjBXMqYdjCiA6Qt/W3Ntc0FIciHjR2rogmjYfz faQg== 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=LDXrE7sDxyCpuz5Jas1c16xbqsT/JI3J42ibOHIRvzo=; b=FG1nC/D8xIpCHGPN+fgeWVrEhoYv0nPI7xiTGJ1wHEGbF1mI0US23QoGjDblDM3ovr upGbCmXQz56LMOAj0jr1/QeVHQF8lnGZvcr/qAz4efonsk8j+CF4D4xHdzjYcUcxgQWG JE06uPbQyJrHquwdXI9GZxPdu3Ug3BEq+23aVjYW8osLsmVmRfnIoziijWu3gHmSpafa Z5jolm80zCHzhYo2LYHgHS73iyepYiEFECcIP4bklZeWrL+DNqXPYTHNiMrrmfdQ2kxK aWfunf62aeuc2td61Hoa4ngWrh+PekQffIHqNspGBF/K6/k7cZI1N9sDLtQmh5d0/6GI rcmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b=Ji7fa0uV; 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 gt36si13339068ejc.57.2021.02.23.03.39.02; Tue, 23 Feb 2021 03:39:26 -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=Ji7fa0uV; 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 S232328AbhBWLhT (ORCPT + 99 others); Tue, 23 Feb 2021 06:37:19 -0500 Received: from mail-40134.protonmail.ch ([185.70.40.134]:49064 "EHLO mail-40134.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232316AbhBWLhQ (ORCPT ); Tue, 23 Feb 2021 06:37:16 -0500 Date: Tue, 23 Feb 2021 11:36:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1614080193; bh=LDXrE7sDxyCpuz5Jas1c16xbqsT/JI3J42ibOHIRvzo=; h=Date:To:From:Cc:Reply-To:Subject:From; b=Ji7fa0uVySwgDiZq2C6IUPQ4Vra+iq5A5BxvtsuyTYMVKGO1iu/VoaLYE7NSfHXGq 0KkdXBNXPkR4fy6Hzip7m4ieCLGqRRt2eewCtVBqhZbRLEa3owAJPfvN9emp3pEyfX n+OtksuWJbRuwhPPpd/d9rrxdi2+I14dOhoY/k5t1Y/sPiXbGUEbSZEGhKgh1zkV4F pmIScTlXKqMy3Mzygm7a7Ax4OTynklBEIJkUs0mMSy+l6ktZBOOzW8YEHd0l9VpUK/ bYe5F5akM9xVRbIW8h19pk6pGsJu/6LuhvnvdosfICZL6M5rwkzWjtE1Za+bUA96Ld +rA0Eno7YCEwA== To: Thomas Bogendoerfer From: Alexander Lobakin Cc: Arnd Bergmann , Nathan Chancellor , Nick Desaulniers , Sami Tolvanen , Huacai Chen , Pei Huang , Kees Cook , Alexander Lobakin , Fangrui Song , Jiaxun Yang , Corey Minyard , kernel test robot , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Reply-To: Alexander Lobakin Subject: [PATCH mips-fixes] vmlinux.lds.h: catch even more instrumentation symbols into .data Message-ID: <20210223113600.7009-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 LKP caught another bunch of orphaned instrumentation symbols [0]: mipsel-linux-ld: warning: orphan section `.data.$LPBX1' from `init/main.o' being placed in section `.data.$LPBX1' mipsel-linux-ld: warning: orphan section `.data.$LPBX0' from `init/main.o' being placed in section `.data.$LPBX0' mipsel-linux-ld: warning: orphan section `.data.$LPBX1' from `init/do_mounts.o' being placed in section `.data.$LPBX1' mipsel-linux-ld: warning: orphan section `.data.$LPBX0' from `init/do_mounts.o' being placed in section `.data.$LPBX0' mipsel-linux-ld: warning: orphan section `.data.$LPBX1' from `init/do_mounts_initrd.o' being placed in section `.data.$LPBX1' mipsel-linux-ld: warning: orphan section `.data.$LPBX0' from `init/do_mounts_initrd.o' being placed in section `.data.$LPBX0' mipsel-linux-ld: warning: orphan section `.data.$LPBX1' from `init/initramfs.o' being placed in section `.data.$LPBX1' mipsel-linux-ld: warning: orphan section `.data.$LPBX0' from `init/initramfs.o' being placed in section `.data.$LPBX0' mipsel-linux-ld: warning: orphan section `.data.$LPBX1' from `init/calibrate.o' being placed in section `.data.$LPBX1' mipsel-linux-ld: warning: orphan section `.data.$LPBX0' from `init/calibrate.o' being placed in section `.data.$LPBX0' [...] Soften the wildcard to .data.$L* to grab these ones into .data too. [0] https://lore.kernel.org/lkml/202102231519.lWPLPveV-lkp@intel.com Reported-by: kernel test robot Signed-off-by: Alexander Lobakin --- include/asm-generic/vmlinux.lds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinu= x.lds.h index 01a3fd6a64d2..c887ac36c1b4 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h @@ -95,7 +95,7 @@ */ #ifdef CONFIG_LD_DEAD_CODE_DATA_ELIMINATION #define TEXT_MAIN .text .text.[0-9a-zA-Z_]* -#define DATA_MAIN .data .data.[0-9a-zA-Z_]* .data..L* .data..compoundliter= al* .data.$__unnamed_* .data.$Lubsan_* +#define DATA_MAIN .data .data.[0-9a-zA-Z_]* .data..L* .data..compoundliter= al* .data.$__unnamed_* .data.$L* #define SDATA_MAIN .sdata .sdata.[0-9a-zA-Z_]* #define RODATA_MAIN .rodata .rodata.[0-9a-zA-Z_]* .rodata..L* #define BSS_MAIN .bss .bss.[0-9a-zA-Z_]* .bss..compoundliteral* -- 2.30.1