Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3755232pxj; Tue, 1 Jun 2021 12:21:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx17sBPx3W7ToPHUb9Ax4VPGg9oa8UpXzjZp/fY2hI0sbrBbHtWL+Ws+KTIPVCMUj9BvBMs X-Received: by 2002:a05:6638:b84:: with SMTP id b4mr26259425jad.122.1622575287818; Tue, 01 Jun 2021 12:21:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622575287; cv=none; d=google.com; s=arc-20160816; b=nIzimCtHHlJ0Oka8h1r7vRndyWwAhMHeJDMgQ04YggOM7kDnMB37okjlXX1KHaomwW wJqfu4xkYem8B1YA8/dtiB4sy4bkG8livwC+ZEcIMzsb2QwHQS/aGvUOt5kFsgXS7Ue1 xK1GnkEEiD7GOSEy12HZ+5QJAkTuFt4SYHtQySRlN+gvmOm0rHgyz71FZnksy1di7Qhb N692czeGIUKp4z0+DUiPopDRgU/MoYmC69208BfEhKxuPHwNiFVkvOAjOKpGHlu4egix GNQm2e/+D7EZhmzjAQV+BCjPY23rhoM85xvBNXdU6SNikQKfMMv1aRz3beKm5UqzbIql swWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=vvgn/sxx7fGdQ0zzgT5kUctxtrwYDVPpVuGOvB0eRkA=; b=SrjOnH5y/FGtrVjQAfVhuIU+qq6jLsN9/Sg6LtjRR4JZpOHlZLosPOhHAjOKzTK0L/ J7+lZYScXRawLYlCcPoTUHpkVhEjpjlo0oNPjDshTi/qG6Tnxzj6cubz+Rp2TuVybzUk D65drHUHtDo/7Es859eNv+iErJqL6fUxx3uQ3kOmj300UzC66k1SSpf+vbwDtT2zc3mw pjGlwpXYur+eN/kvw0yI/cGhvy7GKISYvBmy0Hb84VFjdLugv+gwZWFiSV32krWVUSqA zm+hZljiDhNasBhkGws9eKVEcn2PY5csyPncxfuiKvn/hhvsiMz0CeI+BHnxOM5lHPlj iBkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=pqfGVO0r; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y15si19629117jat.39.2021.06.01.12.21.12; Tue, 01 Jun 2021 12:21:27 -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=@google.com header.s=20161025 header.b=pqfGVO0r; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234776AbhFATUc (ORCPT + 99 others); Tue, 1 Jun 2021 15:20:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234539AbhFATUb (ORCPT ); Tue, 1 Jun 2021 15:20:31 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24B1FC06174A for ; Tue, 1 Jun 2021 12:18:49 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id f12so20783066ljp.2 for ; Tue, 01 Jun 2021 12:18:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vvgn/sxx7fGdQ0zzgT5kUctxtrwYDVPpVuGOvB0eRkA=; b=pqfGVO0rokdZUODQi3AfTBRhuEcIua1lvBvXpame6DPSE4q2YkVue74W6/3vNeKk2o uNhHpTK01zPwMuAsDr6x6qY1gUny7sCnZlAvs9Y4FN0Kfz/PIA0mWQAtP47f+llLIYI2 R66XJneli7t4gptoOzeLjN0SMTFCwDxA5aMfQFBavmjOkzY/1c1QqtIZpTXtx9H0pCmy dqQE8MqfnXye6Setz6mXtDFdQ3ALtvBegeDzRX0R35oT73hcf1KVPgIJH7OFrkZ4QQRW iFBCR1hawZI/d1/aDsLRKxaOhAD0DbDO1DnReU4ncqhTPKv0PwJST4e3hQ5y+w2nThrc lf+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vvgn/sxx7fGdQ0zzgT5kUctxtrwYDVPpVuGOvB0eRkA=; b=Si9+ZV5Uzv719EddUj+Pyt9nrODekhnBOnoESYVgApWtb/4Y26C9QLRvLPoBhnuHdC U9ezzFhwKTGk8VXqIqacO91zr8m1yfcdPB4piaJtiawmVaMO1oHS2ZhHXX0yJ7xzYLuZ /ZjlMnwp9o37/hpoL+79DkBQ6fjopegIUFiRIWkkUf3BM8nPGnitJy9uNFDiK8NTmEM5 QjKpre1N4/7U9dy1K5Vy4TLvsKYiLnndabpb/P5OKhN1b6u62TsZlS0bHAYQGdSlr5Ff 5qyYTnsSYYveEnEytN+sxh2P+nXufQmVh6E5der1d7DNNRiKHSRkBYT68LIRcja2AWZN PjmQ== X-Gm-Message-State: AOAM533MPDZgycJrMXNj1K76EXJb2IWRIUJp/mxGwCDwbuLF8XDRkxzf KeQpx05gtMsNI9IIfdaEFcaUOVYaI0qI2tKDf2gssg== X-Received: by 2002:a2e:8056:: with SMTP id p22mr8516566ljg.341.1622575126992; Tue, 01 Jun 2021 12:18:46 -0700 (PDT) MIME-Version: 1.0 References: <20210521011239.1332345-1-nathan@kernel.org> <20210521011239.1332345-3-nathan@kernel.org> In-Reply-To: <20210521011239.1332345-3-nathan@kernel.org> From: Nick Desaulniers Date: Tue, 1 Jun 2021 12:18:35 -0700 Message-ID: Subject: Re: [PATCH 2/3] hexagon: Use common DISCARDS macro To: Nathan Chancellor Cc: Brian Cain , Andrew Morton , "open list:QUALCOMM HEXAGON..." , LKML , clang-built-linux Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 20, 2021 at 6:13 PM Nathan Chancellor wrote: > > 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 Thanks for the patch. Reviewed-by: Nick Desaulniers > --- > 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 > -- Thanks, ~Nick Desaulniers