From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE76BC43381 for ; Tue, 23 Feb 2021 11:37:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C6DFD64E22 for ; Tue, 23 Feb 2021 11:37:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232415AbhBWLhm (ORCPT ); Tue, 23 Feb 2021 06:37:42 -0500 Received: from mail-40134.protonmail.ch ([185.70.40.134]:10920 "EHLO mail-40134.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232316AbhBWLh1 (ORCPT ); Tue, 23 Feb 2021 06:37:27 -0500 Date: Tue, 23 Feb 2021 11:36:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1614080204; bh=jv9tL4u29gVpzSBS59HCvCUVd6Rj3pWoR+fnneLx15A=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=VKk652/EGtE5Cpi6lODpKNnBP2HuuuCiPYsjeJ5xh0JzwmeD5ccfJpzDuhf2chAev JVduJgzSNQUq/s3Hi5JFCse15vul4QCHvaVIwNqsNzose3rfHCewveJTeFPZCUjWxR kDWs5ScAJyi2hc6KrmQhB7hRx+4lhRpRcK3aZ3vfz2SuKYdYBWdfqXvopmi6/fzv7x 8NK8o6FJZG5MDjk5IWi+vy5/fxH0is4DbRGn+qnG98buqg3fPg2C8Q2d4fOrCq76nu 4A7iEX+qXYxgAx/pzW96JfahVJoThqVzo4eIyhRexANzcSZ5TPT8vvxeH+mYjIFhwX b4J7SK3WHFMsA== 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: Re: [PATCH mips-fixes] vmlinux.lds.h: catch even more instrumentation symbols into .data Message-ID: <20210223113600.7009-2-alobakin@pm.me> In-Reply-To: <20210223113600.7009-1-alobakin@pm.me> References: <20210223113600.7009-1-alobakin@pm.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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(-) Hi Thomas, This applies on top of mips-next or Linus' tree, so you may need to rebase mips-fixes before taking it. It's not for mips-next as it should go into this cycle as a [hot]fix. I haven't added any "Fixes:" tag since these warnings is a result of merging several sets and of certain build configurations that almost couldn't be tested separately. > diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmli= nux.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..compoundlit= eral* .data.$__unnamed_* .data.$Lubsan_* > +#define DATA_MAIN .data .data.[0-9a-zA-Z_]* .data..L* .data..compoundlit= eral* .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 Thanks, Al