From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 40D334D5BD for ; Mon, 22 Apr 2024 08:15:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713773758; cv=none; b=KzE0jOc6EPvLv5+DKrOnonC9/kAzIx53Kgg/+p6kLmv7dkMGTdFfLqFxjrxrVwDOY1WVdlYREqJ/FxNsyTWAUqfhKe2BQACX5aSKpJVwYihECWQ8i98ItTaE9yN1BgTBpeu9P5R0c96Yf7S/rCSEWXSmhlykY8G08Pu73PVToCg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713773758; c=relaxed/simple; bh=vk02iZBNmKdC61r3MWBFt9WwwCHm+5e2jYj0mZexwz4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=Cs9TCAwlp3My07TjF/jhfiksjdSP1a027eOHpHnbwNrAsO8Yy/Dh2jNxgGV31HVyOh0MH+YGw3RveMGe6AcRNTpcolKQReNLrYbuI1LH0rZuoeRldqdfqes8MotcuNoWM9D2ELP7+Qo5Vq+6yUMCHtZ6Ntkp7AaVFEt99kHtK30= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=eYKGLtUC; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="eYKGLtUC" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713773756; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=n7pj1YX0zvZoJ4fszFdVU7DclyCmRGFDahad/XyHzlU=; b=eYKGLtUC8Vt/9U4pshJyM57P3onKVZhM5c2bQKgyTo/irQcXxNKfSCM8xfsZ/2BKAtxfB6 bYZSSy8KLwHn4UEK7YldjNXzEy/KCqujP/MdFwNAgMEAUwfETndsoI9BZBtAaug1xvdvMD a3FTcpHWRr5lP/CvVL2pO3h1zS1L9gc= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-619-J11HdeYyNCS4_-jfjacDCA-1; Mon, 22 Apr 2024 04:15:50 -0400 X-MC-Unique: J11HdeYyNCS4_-jfjacDCA-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 34D1B29AA2CD; Mon, 22 Apr 2024 08:15:49 +0000 (UTC) Received: from oldenburg3.str.redhat.com (unknown [10.39.194.90]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AD1AA43FAD; Mon, 22 Apr 2024 08:15:45 +0000 (UTC) From: Florian Weimer To: Vignesh Balasubramanian Cc: , , , , , , , , , , , , , , , , , Subject: Re: [PATCH 1/1] Replace macro "ARCH_HAVE_EXTRA_ELF_NOTES" with kconfig In-Reply-To: <20240412062138.1132841-2-vigbalas@amd.com> (Vignesh Balasubramanian's message of "Fri, 12 Apr 2024 11:51:39 +0530") References: <20240412062138.1132841-1-vigbalas@amd.com> <20240412062138.1132841-2-vigbalas@amd.com> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Mon, 22 Apr 2024 10:15:44 +0200 Message-ID: <874jbt7qz3.fsf@oldenburg3.str.redhat.com> Precedence: bulk X-Mailing-List: linux-toolchains@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 * Vignesh Balasubramanian: > diff --git a/include/linux/elf.h b/include/linux/elf.h > index c9a46c4e183b..5c402788da19 100644 > --- a/include/linux/elf.h > +++ b/include/linux/elf.h > @@ -65,7 +65,7 @@ extern Elf64_Dyn _DYNAMIC []; > struct file; > struct coredump_params; > > -#ifndef ARCH_HAVE_EXTRA_ELF_NOTES > +#ifndef CONFIG_ARCH_HAVE_EXTRA_ELF_NOTES You could add #pragma GCC poison ARCH_HAVE_EXTRA_ELF_NOTES to a central header, to let GCC and Clang flag uses that have not been converted. Thanks, Florian