From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 91F7AECAAD1 for ; Thu, 1 Sep 2022 19:20:16 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4MJW8b0fZSz2xxx for ; Fri, 2 Sep 2022 05:20:15 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=casper.20170209 header.b=FGrf9IAJ; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=infradead.org (client-ip=2001:8b0:10b:1236::1; helo=casper.infradead.org; envelope-from=peterz@infradead.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=casper.20170209 header.b=FGrf9IAJ; dkim-atps=neutral Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 4MJW7x5LjNz2xGt for ; Fri, 2 Sep 2022 05:19:41 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=degmQsdmDYi+b3tN8qVEdHxJOY/qjnlNSPHaWQEAiVY=; b=FGrf9IAJiAVOym9p1GhlvSefrj EMAcQXYDwUSKtr3BnhOlXDOKlieUHY8Rf5w4GBxy6pUtJXDBSk4Xn7ZMN/AP7n6rX6/XldRwjmvwE DoBmFfceTOkmSAbOQYn1Rsv5p2QUjxlvaz5RqsL+Pbb3P8Gqja+Tg/y12zx1409yfsmVj7aMRdPr6 hMZ+0cUQPpBKNz/Nn4xWgwWRa+Xp6Rz+T+I0qHhX5jq07S4kdDuhqiz2wa/7Yndts8BYg1YWPr4J0 0WCaY/2kKQ+8ds+R95hPgbalGQXcoAUKZexjYQAULb0jkNLjv1G4R4oVwhwr2nj59cO47RKIXVby3 gU20bt+Q==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTpiv-006IOv-Qp; Thu, 01 Sep 2022 19:19:33 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 438AD30010B; Thu, 1 Sep 2022 21:19:32 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 350C22B8D5A25; Thu, 1 Sep 2022 21:19:32 +0200 (CEST) Date: Thu, 1 Sep 2022 21:19:32 +0200 From: Peter Zijlstra To: Sathvika Vasireddy Subject: Re: [PATCH v2 07/16] powerpc: Skip objtool from running on VDSO files Message-ID: References: <20220829055223.24767-1-sv@linux.ibm.com> <20220829055223.24767-8-sv@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220829055223.24767-8-sv@linux.ibm.com> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: aik@ozlabs.ru, chenzhongjin@huawei.com, npiggin@gmail.com, linux-kernel@vger.kernel.org, mingo@redhat.com, rostedt@goodmis.org, jpoimboe@redhat.com, naveen.n.rao@linux.vnet.ibm.com, mbenes@suse.cz, linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Mon, Aug 29, 2022 at 11:22:14AM +0530, Sathvika Vasireddy wrote: > Do not run objtool on VDSO files, by using > OBJECT_FILES_NON_STANDARD > > Suggested-by: Christophe Leroy > Signed-off-by: Sathvika Vasireddy > --- > arch/powerpc/kernel/vdso/Makefile | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/powerpc/kernel/vdso/Makefile b/arch/powerpc/kernel/vdso/Makefile > index 096b0bf1335f..a49a0d6a1c53 100644 > --- a/arch/powerpc/kernel/vdso/Makefile > +++ b/arch/powerpc/kernel/vdso/Makefile > @@ -102,3 +102,5 @@ quiet_cmd_vdso64ld_and_check = VDSO64L $@ > cmd_vdso64ld_and_check = $(VDSOCC) $(c_flags) $(CC64FLAGS) -o $@ -Wl,-T$(filter %.lds,$^) $(filter %.o,$^) ; $(cmd_vdso_check) > quiet_cmd_vdso64as = VDSO64A $@ > cmd_vdso64as = $(VDSOCC) $(a_flags) $(CC64FLAGS) $(AS64FLAGS) -c -o $@ $< > + > +OBJECT_FILES_NON_STANDARD := y Just to clarify; your linker script will place the VDSO in .rodata or a similar !.text section, right?