Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp427992pxj; Thu, 3 Jun 2021 10:02:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycIiOYp4TwqoO8hXmU0e+RO5fixq7Qxbtn6wYrmIGnHXqhyJrg9NvjfuaUdu/PXozSeV5D X-Received: by 2002:aa7:de10:: with SMTP id h16mr493527edv.154.1622739767186; Thu, 03 Jun 2021 10:02:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622739767; cv=none; d=google.com; s=arc-20160816; b=iSXsx10qooHUP8DswputP/z3C1CO5T4ttOmp3Vdae78g89f1MEnxb0OMoBbzOn1sL3 t+caZMdlf7jU00+hmwR42BLhUObYjP4QpRjxyAWojlkLlzP+niGFTBnZfgxW1UM0e1lm axIh1dyzarzWKKQjrj0E8ySQ7dGDxQkSikU586f5lfWOg5Jm1ISYyfy4xmwH4MDEgiif yOQ2dH+u6jP0+sRp4Ze6YZMstz9K1jznWpMWnxPpb1zb7pD9b0jpAi5i9F0CyVE7PACo 1FR5t3MR5M259qfhIepg6l0gct/0kdC532oyVkBJ3eLWY/ibR6NRc9TC+nae94O5p0sx EpTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:content-language :content-transfer-encoding:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:reply-to:dmarc-filter:sender :dkim-signature; bh=/pHlYIqIuh+eZ1QKQJtdnJ5xmRU/hum2lRn0qX6Gm0U=; b=El3FUWLs0MxRErsrYkqZvflN4FwCdJP3TGHlA3HnK7siHJM2+5ItLTX5OaN6r9UiXV Z4Qpscu3qbqqG9OdcJyyTJMz8wq9ZzF0OOv4KvD8bERf2ZA3K4KOWjR/r33O6hbvPZsg lfL1usje/z5xTpVepqhu6nHuIZy157d9s/UJtRm9eWFFF6gblrXJ4aKMi6TumUTQfUvq CzXpH4BQkIqzRDRBqXi4ufsDg4Kj+7iplhuUKWf2GpsEPyveWTg4p7oAB9rDfq83Mq9p PN1LUV/nCjME3EcnKAZqtV2epQA8s7FRhbKMFa+5ycKnYAzKq0GHhhWB6tpnIXIvbhkc s/gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=qj3OaMC7; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f3si2621663edt.290.2021.06.03.10.02.21; Thu, 03 Jun 2021 10:02:47 -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=@mg.codeaurora.org header.s=smtp header.b=qj3OaMC7; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230328AbhFCRCI (ORCPT + 99 others); Thu, 3 Jun 2021 13:02:08 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:14324 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229884AbhFCRCI (ORCPT ); Thu, 3 Jun 2021 13:02:08 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1622739623; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-ID: Date: Subject: In-Reply-To: References: Cc: To: From: Reply-To: Sender; bh=/pHlYIqIuh+eZ1QKQJtdnJ5xmRU/hum2lRn0qX6Gm0U=; b=qj3OaMC7RW5Wz1Vj7onovszXRIYtwn1RtR4SPgl/gjbHqopZdoRqgI/sxxwwweA/YlYBW0Wa tUTFZr/t0SKyH8qL6TuHlR+2k2fRV0a6Sf7/IzjcEWVLp8ZZVCZ0TqFd7jl8NpnVXkvoA1x2 Oo0SOlB9+0R+PIPOTnA5/W/TRGM= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n02.prod.us-east-1.postgun.com with SMTP id 60b90a8fe27c0cc77fe313eb (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 03 Jun 2021 16:59:59 GMT Sender: bcain=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id D7C9FC4323A; Thu, 3 Jun 2021 16:59:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from BCAIN (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: bcain) by smtp.codeaurora.org (Postfix) with ESMTPSA id B4F76C4338A; Thu, 3 Jun 2021 16:59:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org B4F76C4338A Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=bcain@codeaurora.org Reply-To: From: "Brian Cain" To: "'Nathan Chancellor'" , "'Andrew Morton'" Cc: "'Nick Desaulniers'" , , , References: <20210521011239.1332345-1-nathan@kernel.org> <20210521011239.1332345-3-nathan@kernel.org> In-Reply-To: <20210521011239.1332345-3-nathan@kernel.org> Subject: RE: [PATCH 2/3] hexagon: Use common DISCARDS macro Date: Thu, 3 Jun 2021 11:59:57 -0500 Message-ID: <09a801d75899$e24c97f0$a6e5c7d0$@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Content-Language: en-us Thread-Index: AQImhg45Cwtn7gWc92+5nwbl9gAFPwIEvSIiqlQBjtA= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Nathan Chancellor > Sent: Thursday, May 20, 2021 8:13 PM > To: Brian Cain ; Andrew Morton foundation.org> > Cc: Nick Desaulniers ; linux- > hexagon@vger.kernel.org; linux-kernel@vger.kernel.org; clang-built- > linux@googlegroups.com; Nathan Chancellor > Subject: [PATCH 2/3] hexagon: Use common DISCARDS macro > > ld.lld warns that the '.modinfo' section is not currently handled: > > ld.lld: warning: kernel/built-in.a(workqueue.o):(.modinfo) is being placed in > '.modinfo' > ld.lld: warning: kernel/built-in.a(printk/printk.o):(.modinfo) is being placed in > '.modinfo' > ld.lld: warning: kernel/built-in.a(irq/spurious.o):(.modinfo) is being placed in > '.modinfo' > ld.lld: warning: kernel/built-in.a(rcu/update.o):(.modinfo) is being placed in > '.modinfo' > > The '.modinfo' section was added in commit 898490c010b5 ("moduleparam: > Save information about built-in modules in separate file") to the > DISCARDS macro but Hexagon has never used that macro. The unification of > DISCARDS happened in commit 023bf6f1b8bf ("linker script: unify usage of > discard definition") in 2009, prior to Hexagon being added in 2011. > > Switch Hexagon over to the DISCARDS macro so that anything that is > expected to be discarded gets discarded. > > Fixes: e95bf452a9e2 ("Hexagon: Add configuration and makefiles for the > Hexagon architecture.") > Signed-off-by: Nathan Chancellor > --- > arch/hexagon/kernel/vmlinux.lds.S | 7 +------ > 1 file changed, 1 insertion(+), 6 deletions(-) > > diff --git a/arch/hexagon/kernel/vmlinux.lds.S > b/arch/hexagon/kernel/vmlinux.lds.S > index 20f19539c5fc..57465bff1fe4 100644 > --- a/arch/hexagon/kernel/vmlinux.lds.S > +++ b/arch/hexagon/kernel/vmlinux.lds.S > @@ -61,14 +61,9 @@ SECTIONS > > _end = .; > > - /DISCARD/ : { > - EXIT_TEXT > - EXIT_DATA > - EXIT_CALL > - } > - > STABS_DEBUG > DWARF_DEBUG > ELF_DETAILS > > + DISCARDS > } > -- > 2.32.0.rc0 Acked-by: Brian Cain