From patchwork Wed Oct 26 08:47:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 11157 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp138660wru; Wed, 26 Oct 2022 01:58:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7V5Y0lKwkzmlrIGQ/voYITpwzcV20TLKlJh6wgwsr9BUtI+i8bIFbZPS95pan8aJTe7AIX X-Received: by 2002:a17:906:8a7b:b0:7ac:baef:6de1 with SMTP id hy27-20020a1709068a7b00b007acbaef6de1mr5723815ejc.734.1666774681784; Wed, 26 Oct 2022 01:58:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666774681; cv=none; d=google.com; s=arc-20160816; b=NNbsqsg4FkKJNNrKLbjucVZ7mUZp+EvTrbzFHoLOOlMk5EPaW4yrEL3UcOzTYbtq3m WhuGkDehPhdPEHEkvJ4JYWLhEeCS2QM/mT0T1tBR95j6WOCAtAUYsApkLWx+PUe/6Osb MJnC9f+1o0/pJXZiQ0RRKQRrA2Tefg+WX+QWpXd7T95+Ikq4QJTLHq6VQqdukeKcfeN9 vqnLghshHQ2FmYHOKCEESz4SVFnl8hDhAlzwLfEeAzM8CK7/IlYlO4BqqcVutIaEn7dm z8j3VPlRt7E8S+50PpNbpiCAfuVwzVBlR94qpuQSzB07CKnaBh98oce8W56vGkravrXY ydRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :content-language:to:subject:from:user-agent:mime-version:date :message-id:dkim-signature:dkim-signature:dmarc-filter:delivered-to; bh=XKKwRB6LyzNbbLDKHwLqzbo9YdszLSnH746A9Uvdwg4=; b=FiNmSthaAu61XgaC2bHFnj1En0eNNP5E0CyQsMXbpowbkEJSKCRnZhu8Pd6EmO7TDm ythUYoqLFNLXnEO7mo3EZrs+CSwwd5A1sG/kswL70MAN/ymyVcNM3DB5idJP9e+XYB9m Uopc1bTvdY9nt9sDg00GZ/4zTqfQ7PExYcEVfnYNm53jp88z4gdNnaRicYAOI+z2/vvL Rg/YV62wQRsmS13Asm5DSqy0SItcilWwS2hhBy/mwZ+/mXDxHM+evrw1v0NNr3qwEXk2 GadWqiW9PtT0vOgLwWPOS4QuEt/j0FUiqd6tkG8ZD5rBuHJZXWV4maI5u5G0iQRFbMg+ sTFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=BNy9lisa; dkim=neutral (no key) header.i=@suse.cz header.b=U6PGd9vv; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org" Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id gb9-20020a170907960900b0078d9c781853si5131315ejc.607.2022.10.26.01.58.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Oct 2022 01:58:01 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=BNy9lisa; dkim=neutral (no key) header.i=@suse.cz header.b=U6PGd9vv; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3E35E3850995 for ; Wed, 26 Oct 2022 08:47:35 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id A49F13851508 for ; Wed, 26 Oct 2022 08:47:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A49F13851508 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id C47241F8B3 for ; Wed, 26 Oct 2022 08:47:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1666774030; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XKKwRB6LyzNbbLDKHwLqzbo9YdszLSnH746A9Uvdwg4=; b=BNy9lisag3+UFatRkXGQPYtue3mHwvVR1r7qwxp5zNhV0+c+WFYrnv30wgLWKURcvrqwdx h4llzr+f9b60UQgV+O59Ixqz5/eNyBIqH4pZLhemGoaGYvSRyQ8nZN5/42e745bDO1BxoA PjnRILaK6DnfePXMOybRU8duxXH5Kiw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1666774030; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XKKwRB6LyzNbbLDKHwLqzbo9YdszLSnH746A9Uvdwg4=; b=U6PGd9vvE5JMJS6eHexrb7qQK6cU2trd8IDYdqREVovcJbhsP/Qs+AM1IN4tErArWP7MIW +JJ1bsUMNx8fXnAg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id AFFDA13A6E for ; Wed, 26 Oct 2022 08:47:10 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id C9TtKQ70WGMcSgAAMHmgww (envelope-from ) for ; Wed, 26 Oct 2022 08:47:10 +0000 Message-ID: Date: Wed, 26 Oct 2022 10:47:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH] tests: use canonical option name To: binutils@sourceware.org Content-Language: en-US X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, 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 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: , Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747739929043912660?= X-GMAIL-MSGID: =?utf-8?q?1747739929043912660?= Noticed that while running a test-suite with mold linker: https://sourceware.org/bugzilla/show_bug.cgi?id=29722 Apparently, it's a legal option value for bfd, but for compatibility issues, I would like to use the canonical option name. Ready for master? Thanks, Martin ld/ChangeLog: * testsuite/ld-size/size.exp: Use canonical option name. --- ld/testsuite/ld-size/size.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ld/testsuite/ld-size/size.exp b/ld/testsuite/ld-size/size.exp index 063809b04cb..e15962886cd 100644 --- a/ld/testsuite/ld-size/size.exp +++ b/ld/testsuite/ld-size/size.exp @@ -274,7 +274,7 @@ run_ld_link_exec_tests [list \ ] \ [list \ "Run size-8" \ - "$NOPIE_LDFLAGS -Wl,--no-as-needed,--hash-styl=gnu,-z,notext \ + "$NOPIE_LDFLAGS -Wl,--no-as-needed,--hash-style=gnu,-z,notext \ tmpdir/libsize-8.so" \ "" \ {size-8a.c} \