Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1023646pxb; Fri, 15 Apr 2022 18:42:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw44SdkIdl/udju5RdSOLypF3uqTl6PBUcfFG9SiQTchXL4GHWzuZ9rB3IoFaS/T7d7rapp X-Received: by 2002:a17:902:6b8b:b0:14d:66c4:f704 with SMTP id p11-20020a1709026b8b00b0014d66c4f704mr1684491plk.53.1650073340417; Fri, 15 Apr 2022 18:42:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650073340; cv=none; d=google.com; s=arc-20160816; b=T/jXISh25wUI35Zql2fl7Usf6BVLGL9SUUaY4TWDVwzI5tWv3W72w56XA4oTzV+Gl1 Ro7ANWqU8wYTvc7EN8CJGuDT8eHZTfTHu7AuZMh1zKz0agFbpow3KZ+pY6AuVG4F1sRD qMTJMjusWJb4QA8mFpAbFo1H2+hAe3FT9qxLuAJGOP8xbio6xwfcElKlsiChifxPHT0/ InalS21lFX5ZRcNZwgsbHjhgHzGObOehdXeuYgCqfKoGPLLQBMjhR1M7+B5uQJ8JB+ao 0tMGIk8WAJdrxqCeYfjdPK93MHmlUkNa3j/E1bdWp9Zp10idD/TUI5RxCVJgnBLoMIbY PjdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=p562gwZdESlOTvZY/nqTuWBbEiuD+th1wpA15toB0bM=; b=N1gjHhSezYEPFYbpyTiOiIlg+2TNb8ovkDJBeZxdvaDXWWSlnVHlResZ1FvkRXkQ0k 83jMl9DCJLNcws67tcOEOD1G5+LazHIA6JURt53GEAdeIFIh8W8N/Fcvn449d+4yqezM f1+We7DwknJ1xwEIlE8L1AejmM/K15F2JeUf+p2V3YeB9AJ3YZ2y0MDm7fuY5S8cGjR1 43liNVo9nKEXy5XkIZkRuhnXpydBHunIUwIoiTVvAO73tpNfy8gdA44B8Lsr5MHTgwFt s8CjMRig/PJYHKVC8iaW9C7lVFYshsYoUbkr++RpXDxtOetRkISp3HfknIk3LQVvpCCK NNuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=kAg4Wa6o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id m17-20020a170902db1100b00158acffff85si2230195plx.250.2022.04.15.18.42.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 18:42:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=kAg4Wa6o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 507F0FDE2D; Fri, 15 Apr 2022 18:07:06 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235775AbiDNIMT (ORCPT + 99 others); Thu, 14 Apr 2022 04:12:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231548AbiDNIMR (ORCPT ); Thu, 14 Apr 2022 04:12:17 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B67519C08 for ; Thu, 14 Apr 2022 01:09:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; 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=p562gwZdESlOTvZY/nqTuWBbEiuD+th1wpA15toB0bM=; b=kAg4Wa6o420+Xcx2dLJY5a4yvh qzRe7XLg96YEfU6YukVu283Ivf3AkzHj9VB9+mVGz2LavJQiWOo2elb/qB/iA0i+yijh9PjUZ8gnn vGRH1PGx1HxA5uJA/fdm7S3sg5qOKxYtpKPbW+ZkWSr10ScQQEaMHzb7YHFklAY9uhYBEEtJGkzA0 W6uX7vfFD+ChhLQH/7cVJDZ9hTIKOWu3asmBVob6MaAmMHK/m85NMd9m4PccEeCRDbUnNGFCZ9qnc QRE4/cF1RCvfs6SG9OdOKvIo4iEpYEZzI0tXSad56aZELhBQaw+kxzWV73KcFbaNy4a1JPvvqMEbG 0eoX0wQg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1neuXz-004x74-SQ; Thu, 14 Apr 2022 08:09:48 +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) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 52DAD3000E3; Thu, 14 Apr 2022 10:09:46 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 3785D2C5BC384; Thu, 14 Apr 2022 10:09:46 +0200 (CEST) Date: Thu, 14 Apr 2022 10:09:46 +0200 From: Peter Zijlstra To: Josh Poimboeuf Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Miroslav Benes Subject: Re: [PATCH 14/18] objtool: Add toolchain hacks cmdline option Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 13, 2022 at 04:19:49PM -0700, Josh Poimboeuf wrote: > Objtool secretly does a few awful hacks to overcome toolchain > limitations. Make those hacks explicit (and optional for other arches) > by associating them with a new '--hacks' cmdline option and > corresponding CONFIG_HAVE_TOOLCHAIN_HACKS. Should we either clarify the specific hacks done, or split this in two options? --hack-jump_label --hack-noinstr