From patchwork Fri Jul 28 05:07:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Maciej W. Rozycki" X-Patchwork-Id: 127328 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp205101vqg; Thu, 27 Jul 2023 22:15:16 -0700 (PDT) X-Google-Smtp-Source: APBJJlEfLVIPOSn/kaYF+9gEtiB1a1MnXrdm5D2EeLLyGFyNFwyT1IgxLyk+MKvLjQmJyX9JGIb2 X-Received: by 2002:a17:906:10d6:b0:974:1d8b:ca5f with SMTP id v22-20020a17090610d600b009741d8bca5fmr1117894ejv.9.1690521316509; Thu, 27 Jul 2023 22:15:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690521316; cv=none; d=google.com; s=arc-20160816; b=BSXaEUtP3Ck7hcpIJXaQQvViL37IjcC9DexyYKSMN9LWylh5L/s74SZpXdRYukyJj4 qaz0VfNEjw+9tKjjfakiw8GWRG+SL9OW5DWgVw33EiZ3fGnw47aBAxUTsJA86TQVkiG5 LSCx140PnPbGxJas871jUFqJmwe/exHmK4Yxsa7j6DtHJNVNmSHiY+tD0MIjeux5sDpR yAq1rUPRvN3GZUvAk+UpMylO+qcB8UsDNHeHNdK0Kw4m3HSb4ksresEfkwfwCd4HAyzA ZwlUfyVnp3nlhYgr2aaXKX+0N/f/ow2H46qeAmA4+wbxxqsDFHjJ4IplUJgSHjQwkaII n1GA== 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:mime-version:user-agent :references:message-id:in-reply-to:subject:cc:to:from:date :dmarc-filter:delivered-to; bh=XEMC5Vj1G5OGHP2/r9XzoYEppVoUyM/fUs5x1gnFRhk=; fh=Qo2J6dANwcPjQn140TSErRwEzDQnKw4Tx4jp1VOUUcA=; b=SpvEYAenX1Yg0asyBdJztSc0uhqO1woAn6GJbXWDmaw6VUFCnyb5Q1+u2Y5xYK1DqN WxzFkrOw7XtAtz8/83E1JjImmic7tlSu9H39YhAvYH+i5E/wDE+3WMVLoJeokYNf6PpC 8Ll/1/J50GqBwIcm7NxhT+DyoPsujx7n2+eVqHXEBrX1oKF7uLBvDoubaKuMkiVz34Ob J0YC7fptsQlh0pI/qkih/8V/BSQ2RC8hpI5PjUJOkFuvruujH7PnN1s1phrgdhW7Rnl9 J61hte3Y8urd43B/J5oP7/o6ZeZLF/ewQoTCw6Pdw0U+Hlr9fpnpDlBW8hh8eAd7ejab BFhQ== ARC-Authentication-Results: i=1; mx.google.com; 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 (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id q22-20020a17090622d600b00992d262ff61si2168644eja.989.2023.07.27.22.15.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 22:15:16 -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; 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 AA7083940CFD for ; Fri, 28 Jul 2023 05:08:26 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from angie.orcam.me.uk (angie.orcam.me.uk [78.133.224.34]) by sourceware.org (Postfix) with ESMTP id 7DA30385354A for ; Fri, 28 Jul 2023 05:07:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7DA30385354A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=orcam.me.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=orcam.me.uk Received: by angie.orcam.me.uk (Postfix, from userid 500) id CE68C92009E; Fri, 28 Jul 2023 07:07:20 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id CCAEE92009C; Fri, 28 Jul 2023 06:07:20 +0100 (BST) Date: Fri, 28 Jul 2023 06:07:20 +0100 (BST) From: "Maciej W. Rozycki" To: Nick Clifton cc: YunQiang Su , binutils@sourceware.org Subject: [committed 11/16] MIPS/LD/testsuite: Fix MIPS16 interlinking test IRIX 6 regressions In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 X-Spam-Status: No, score=-1163.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_INFOUSMEBIZ, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE, TXREP, 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 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: INBOX X-GMAIL-THRID: 1772640080341008879 X-GMAIL-MSGID: 1772640080341008879 IRIX 6 does not have MIPS16 stub section support in its n32 linker scripts, causing such input sections to be propagated to the respective output sections rather than `.text', causing dump pattern mismatches. Expect IRIX 6 to fail with n32 testing then, removing this regression: mips-sgi-irix6 -FAIL: MIPS16 interlinking for local functions 1 (n32) We may choose to update IRIX 6 n32 linker scripts sometime, as it seems a harmless change. ld/ * testsuite/ld-mips-elf/mips-elf.exp: Expect IRIX 6 to fail with n32 `mips16-local-stubs-1' testing. --- ld/testsuite/ld-mips-elf/mips-elf.exp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) binutils-ld-test-mips16-local-stubs-1-irix6.diff Index: binutils-gdb/ld/testsuite/ld-mips-elf/mips-elf.exp =================================================================== --- binutils-gdb.orig/ld/testsuite/ld-mips-elf/mips-elf.exp +++ binutils-gdb/ld/testsuite/ld-mips-elf/mips-elf.exp @@ -1048,7 +1048,8 @@ if { $has_abi(o32) } { } run_dump_test_o32 "mips16-local-stubs-1" -run_dump_test_n32 "mips16-local-stubs-1" [list [list name (n32)]] +run_dump_test_n32 "mips16-local-stubs-1" [list [list name (n32)] \ + [list xfail *-*-irix6*]] set mips16_fp_stub_test [list \ [list "Floating-point stub for mips16 functions" \