From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 8A27B3858C66 for ; Mon, 22 Apr 2024 08:15:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8A27B3858C66 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8A27B3858C66 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713773761; cv=none; b=k9k907+echazwX4FlP4WaRLRaqgBRhaJOPxVYt+nqZ8ScQvfdqbA721xdLGzY9kMK4ej70Q1LpwyZQ/NH7XsGIjr4bvbQj0RzGr9FR/9r32bjSwa3QYz6rcwpdc4kh9O+AVhoyOxX0ic8sxSNfOEenANzpCUhz5PXU/Y+xByzLQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713773761; c=relaxed/simple; bh=vk02iZBNmKdC61r3MWBFt9WwwCHm+5e2jYj0mZexwz4=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=FgOMMjnSPMmID+5WSkmfP/pmx/Ks8frJxdHRyrhdMsGYRNphFnm2geacL8JRXeH1bECgXmjovCQu38Tg93m52KnmmNAJjErfkOJGoWpCMPcrkCGiR5W5ZXEKHP+4LTDJAJ6u/NQuCe+8S03JkdnjXycxDof+0G6a8GPCBxH544E= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713773757; 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=U6OHTSODXSuJZZmpgs7R11D8CwGayurvhhp436kCErrIGZ8J29iZD7BBl4tKiYrBkhr9It nKau2SuS91lavE3ATAxPNFnGn1hBQOVQQuaKFNtA0uUZEhWpvJWfa17NdOoY0uG0J2XUZI Cea0mEGBeRfl54xmLRnlIZkpPPGu3mw= 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> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: * 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