From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk1-xa2b.google.com (mail-vk1-xa2b.google.com [IPv6:2607:f8b0:4864:20::a2b]) by sourceware.org (Postfix) with ESMTPS id 143D13857346 for ; Wed, 25 May 2022 08:41:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 143D13857346 Received: by mail-vk1-xa2b.google.com with SMTP id ay20so2467595vkb.5 for ; Wed, 25 May 2022 01:41:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kTeRb72cMgojAOAj3ep5+BETE/MEwZPX5rs7MQV/sU4=; b=EFYtrL0YD7lpqoFeOdkPq3goshgXcPPrNrWs7rCUn7TecRkXq+c4izXPw4UCwYRwEa rMCbObbbBGE5m7V8ovbp6qUpjqJ4IKK8f6EyJccsHRIvcbyzKmP7ACx0dfE1ZoJg/Y4e l1soAxxtleKSXpfmHqdbHtVjdHgQmBBvMXo040LI0pPvE4x0Lvs2QDdYNqgstTda0Cyy cioIldeOlDHn06DqW5GQMjQwhiD17TsX9DUHGl+L6WjeYmezfiDTEgDwXpGpwOhBt0/t xdC88ctJHrU6/O05Or5ldzAfV5LYfLtWTHsrX72dsj3rxhtpmSvSsbkLoRmgHG1jgUV8 Rk4g== X-Gm-Message-State: AOAM5312ygkbXBDDwbjbQ/A/2M67EohkY/Vj6RYNLttn+MWRbRCrZ0v/ KIUmThCOVylN9VFZD2WAs+/4Yvv6+5IuPtJgR5Q= X-Google-Smtp-Source: ABdhPJxOvKLrgVxPedAwk7d+lVTbVlbjGlj9Np2DxJxosLDMGa8pH9zd2Q1Um1yX0V4BOo91+LCocxXcX+cUZIeCrq0= X-Received: by 2002:ac5:cfd5:0:b0:356:f43e:70a7 with SMTP id m21-20020ac5cfd5000000b00356f43e70a7mr11199367vkf.24.1653468095349; Wed, 25 May 2022 01:41:35 -0700 (PDT) MIME-Version: 1.0 References: <20220525064252.58603-1-ishitatsuyuki@gmail.com> <20220525064252.58603-3-ishitatsuyuki@gmail.com> <8ff54eb6-d3e6-2889-7554-45ce37f1369f@suse.com> <18dc0ec6-b929-3ed2-51b3-4761ef16d54e@suse.com> In-Reply-To: <18dc0ec6-b929-3ed2-51b3-4761ef16d54e@suse.com> From: Tatsuyuki Ishi Date: Wed, 25 May 2022 17:41:24 +0900 Message-ID: Subject: Re: [PATCH 2/4] gas: Add support for LLVM addrsig and addrsig_sym directives on ELF. To: Jan Beulich Cc: binutils@sourceware.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, 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 server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2022 08:41:37 -0000 > Is there a reason .addrsig_sym can't suffice to enable emission of > the section without any .addrsig? There isn't, but well, it basically mirrors the behavior (or a bug if you want to call that) of llvm-mc. > But for assembler source having the alternative of a command > line option would look useful to me, as then one wouldn't need to > repeat the directive in every source file. That's fair, although addrsig is only relevant when you have something that duplicates code (=compiler), and I don't think there's much audience that uses it in hand-written assembly?