Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp1032421lqs; Fri, 14 Jun 2024 12:35:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXe6yFaBhLzgYT2TOXBwBpD8gmUbevQR7Ugqe4+rzjJXZFz+xz0TLET9ggaDaUqUEtBEjTaio78qTJTMFY1aCZJxjg01H/gHM1vPnxE9w== X-Google-Smtp-Source: AGHT+IH8X+b4im3XOLHGmAk2xBUXttCeC1vt7BnrNWoTT9930C25AweGhpaF320mF+wCpwu6yQwm X-Received: by 2002:a05:6358:590e:b0:1a1:c67c:98ee with SMTP id e5c5f4694b2df-1a1c67c9ab1mr79702255d.7.1718393741998; Fri, 14 Jun 2024 12:35:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718393741; cv=pass; d=google.com; s=arc-20160816; b=wQ5CM6sr1Fq6pznrJXGWbCb0gDZ8QdHBpKpAozIkM/K8B4bC3R5D/tyBwrTlGupMzJ teyf4Zs3yZXfNVz+DB9pd24Fol6MvuAFUrxyjkb/4Soiz5Oib3gTIDQtYvyQMc96HhWX Ou0j6uZgsSTq8+Vbxlv6VvepvighPHfyPKRFFHsEf3kayYcWdjUjsPVEHyR3f/7BDnEO jZzkZoEWaw4GolckTYokp+mCcEhuR8DEUZDx4fHyBnwp1buocTt3HUB0mq6NlPfa4XEg SrolUAL0C6ZXT/mUzWwux8+jax92IsZlsmYq3TP5RMIK9CZlluUfU0l8Yj8hXI8bGG3x 1J/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date; bh=Lf/VIVm6dm0HGZaGOXfQQn1UWxTO/QcG57KK5VWB/lw=; fh=KMKmiIjV5Re/cV01AdfuGzwN+aSpbqWcdRsMSx+0aPE=; b=IK2lZ7qh8va6fROtDQA5I2AuLbz6+E0rzvY6fj6jpnOeygjw3eDtD1emq7/eBq/iKk nVfX3Nj70nG0Ny4BR0VlSpBmKmSlwCkDKB1WxHoPcGpBrJ/4TV0O1rS9fJ7qVlQVag7v aQHwuPqwQ+AqN0q5HQSaYy/KPs5KZulqW9BlqhXTp9iY8Abb8DTVOksXpeGcxNTAf77e LkR2V+tYePVvrGHy/WV2XoO21A2e8nam7+s8zID6ueOyqiEkIVDpXeHYl1oyJnOxIhnN 9eQ98syW1QO4/+PFKE6FTnYhuPcE3fxTaFpG0eM/CfSz7sLbMSGfYBG9JlIVAH1JXJxT oX6g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-215387-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215387-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6fedd5e8ab5si4169021a12.56.2024.06.14.12.35.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 12:35:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-215387-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-215387-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215387-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0375CB24CCF for ; Fri, 14 Jun 2024 17:47:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4492A19EEB0; Fri, 14 Jun 2024 17:46:54 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B466019D89C; Fri, 14 Jun 2024 17:46:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718387213; cv=none; b=qxoIC0R55vGOWlOEMu0CEPXglDKCymeq03J0D9HFgoRqkIY1kEW1AVkdFX1tL5A7Nws3Mkzn+Grhs6QOAWy6LBjUg7Zebq4xl+eaSRUhjfjzn8iwizmbzZcDQMa67k05g2+6AtD8mzeShg4ZIX+djPFCIXMOpQcy9EqhW9L3dSg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718387213; c=relaxed/simple; bh=RORB+zb23DcV9RCrRL/YDiqRnMupOiDZ3d4zA6QVmBk=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=L6wyqkQjp1UAmTzOaU+ey706H+s0cYJ4HRvKeDVFZ+WEyfbDOAyGEUrcqtNHSd0sZ4Yl0rsz5v10iqi48usZgPJdHskhl00M2z4Nkq4bMvvUYfnYj9uwElAR4sVJq1tva9jVdF2HKkjbhugn9gJAJwdzH4e8j4mJ9Ahgw0MRI0M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 525AFC2BD10; Fri, 14 Jun 2024 17:46:52 +0000 (UTC) Date: Fri, 14 Jun 2024 13:46:51 -0400 From: Steven Rostedt To: Kris Van Hees Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-modules@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Masahiro Yamada , Luis Chamberlain , Masami Hiramatsu , Nick Desaulniers , Jiri Olsa , Elena Zannoni Subject: Re: [PATCH v4 1/3] kbuild: add mod(name,file)_flags to assembler flags for module objects Message-ID: <20240614134651.4ed2091d@rorschach.local.home> In-Reply-To: <20240614171428.968174-2-kris.van.hees@oracle.com> References: <20240614171428.968174-1-kris.van.hees@oracle.com> <20240614171428.968174-2-kris.van.hees@oracle.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 14 Jun 2024 13:14:26 -0400 Kris Van Hees wrote: > Module objects compiled from C source can be identified by the presence > of -DKBUILD_MODFILE and -DKBUILD_MODNAME on their compile command lines. > However, module objects from assembler source do not have this defines. > > Add $(modfile_flags) to modkern_aflags (similar to modkern_cflahs), and > add $(modname_flags) to a_flags (similar to c_flags). You explain what this does but not why it does it. -- Steve