Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp824762pxb; Fri, 15 Apr 2022 12:20:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJNeXKgFu5N+sTznFdnlqEwUzkgH3wyQHOshWeW/XPbJmfs6Y5yKIUNmPWDEEpbdFOv/wU X-Received: by 2002:a17:90a:4882:b0:1c5:f4e2:989a with SMTP id b2-20020a17090a488200b001c5f4e2989amr386632pjh.160.1650050451788; Fri, 15 Apr 2022 12:20:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650050451; cv=none; d=google.com; s=arc-20160816; b=mcKHDmZWCbkPd4zxG1omRBDNV/6EJsvqiwYO++uKh6DixTnrU5gbW8evCVuDbEGsRk LwR5HUUH8JHQ0cSHd9v2OUb+RTwZIZvPoiJYwgkHa1TwMKqGnkdWe0Fw10uOEGVss+3L VhIQT9StOZap97ACPU7w7HGim2ApLHDFdxkr17lkSh+YJKhjJpqipjjgZgncaFSW9pW4 DuVEo6hal9g0WTL1PiRLsLokIIIJGywvBcGZLxLaVM5eYeruc75I63BdZsno9lEnOUiN L/JGTte0cFVwKDUNR96KvmN7usxyYa5vwewEfBAZWOtieVoUM0qvF+mZl0+MJ4V49YH7 fxAQ== 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=8D7+XOXU9/ThUKgFTw5tvJGCfDTFVw/+YuhuBqPpcA4=; b=ZM2qSEpCasdAjnFjsZODSSasHyfZNV0Rr+Y3PVtW9ZV9ZLEguLWnAtqwDwjDav4/jO rkCgenJuL8Y6DibLIraLrKU579Oyi2UtgprDV3SHMZWAf+qmz7DJnM/jwdCnU915MZ8a mb7mnA2MMqEUCGsKbhg+OpM/9JE/PDIsn5cmd+R413/UNbVdjM++eWCoOQjs14NnNJjw eQNozSOk0jKXEW829vyTw0JTpLU6wwBP5Bd5vhxuUuS+rkgUzR13emF+vbESq3eA76yg 6ae/a9Px4CVPZE1KRGWeNyDKazvIXAlCHOJl0cp0y735os+59ELU1msaewHoCL7pqE4w N06g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="YqX9av/A"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q7-20020a056a00084700b0050831ce65fasi2621857pfk.6.2022.04.15.12.20.36; Fri, 15 Apr 2022 12:20:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="YqX9av/A"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242715AbiDNQMw (ORCPT + 99 others); Thu, 14 Apr 2022 12:12:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343919AbiDNQII (ORCPT ); Thu, 14 Apr 2022 12:08:08 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E548B1042A5 for ; Thu, 14 Apr 2022 08:50:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649951407; 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=8D7+XOXU9/ThUKgFTw5tvJGCfDTFVw/+YuhuBqPpcA4=; b=YqX9av/ALWv/2mnstwo44xOqyunZkJ063obFMbRc5ndNozWD9HUK/7vkhS4a2PnZv8LSWa xcCV6OpBJ4LCb5nmzVJ2/CUTbcy0/v7fO8eVjGY3KgEP9+E/DpkD2buaoVhsjxnP4BPELU kUann/lTNuJ+Q1YK0aFZiY1nA94j8HI= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-551-1wwDwwIdOseBfzROo0BcqA-1; Thu, 14 Apr 2022 11:49:58 -0400 X-MC-Unique: 1wwDwwIdOseBfzROo0BcqA-1 Received: by mail-qk1-f199.google.com with SMTP id h8-20020a05620a244800b00699fb28d5e4so3505507qkn.22 for ; Thu, 14 Apr 2022 08:49:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=8D7+XOXU9/ThUKgFTw5tvJGCfDTFVw/+YuhuBqPpcA4=; b=WD0gSB3JntYyQYTA0vo5U901rAf4S72S0ZeT/uaaO9jbLquEs/P5x3bPU+k8BNBBHu WTX65kUK4/qAiJc+Tp1wG76AjZDu0mbvJELoVSYZywmRKDYE9QuG0pWjOt/uBp2TByOY ku96/pLsPThK8X5oDWorZn1W8fQi3MVm6FNpPn+Mlay+GiQMWTcXagxHfZGpf/j4FKIH C3H9orVBJs2jp3MhPZA3Em9PJhx4KI20hpkdcTTN+Ks/vjxm4h0LQQKjaKrttCzjm9YU rWrhEY0VKXk4CQTOiVjh+QAifrQLi3inT6yddVAUpDzRco/sWAHtiL0bXZB8Ehn7RfIl Lm7g== X-Gm-Message-State: AOAM530x+3cPoCJlR8dAWGdpEdb/oYsWa/Ae3GGXVUIt4SoibcBGDXRa 86KYOd7e8eM3NnqQYRsjLj0InBJ0PE0M3QdDT/VvCH9ZKKVMj37YPQNpgypRKHyaeHGunhonkhL +EMkgeeYXqQgGjxANetFi2f0o X-Received: by 2002:ac8:5994:0:b0:2e0:5d77:4b5c with SMTP id e20-20020ac85994000000b002e05d774b5cmr2267052qte.289.1649951398201; Thu, 14 Apr 2022 08:49:58 -0700 (PDT) X-Received: by 2002:ac8:5994:0:b0:2e0:5d77:4b5c with SMTP id e20-20020ac85994000000b002e05d774b5cmr2267030qte.289.1649951397914; Thu, 14 Apr 2022 08:49:57 -0700 (PDT) Received: from treble ([2600:1700:6e32:6c00::45]) by smtp.gmail.com with ESMTPSA id u12-20020ac858cc000000b002ef01d55d2asm1429491qta.78.2022.04.14.08.49.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Apr 2022 08:49:57 -0700 (PDT) Date: Thu, 14 Apr 2022 08:49:54 -0700 From: Josh Poimboeuf To: Peter Zijlstra Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Miroslav Benes Subject: Re: [PATCH 14/18] objtool: Add toolchain hacks cmdline option Message-ID: <20220414154954.tjv5peczw3tadd27@treble> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham 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 Thu, Apr 14, 2022 at 10:09:46AM +0200, Peter Zijlstra wrote: > 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 Yeah, maybe we should split them out somehow. -- Josh