From patchwork Fri Jul 28 05:07:37 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: 127335 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp206778vqg; Thu, 27 Jul 2023 22:20:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlHM6ZTM+HLydbZRzQn0KZwu9es0QptpPCz8dG2Rq30OoyWQcLwuzyPGuEzha5NCaDh2SA58 X-Received: by 2002:a19:8c09:0:b0:4fc:dcff:773b with SMTP id o9-20020a198c09000000b004fcdcff773bmr732571lfd.3.1690521607139; Thu, 27 Jul 2023 22:20:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690521607; cv=none; d=google.com; s=arc-20160816; b=wOaKg6jPiZj0TalnEl8CrFtw7GKimPchjxrFaB15yG1/GlQTalIzGCcLpa9IgKECj8 8GnoHRlnILJ7ZC2h4yMMYn1ZLge1zgccsGBvyOa8lN8Vu3Y0p3SUsH2ezK8O8uB4UHqV w3WdE9ljoNuvjHFwQhytmxoBVTSPTnePKK9+EMdOrrNbav4pXskb4NtSgTBWozWiYrmH Q+UH949pQXAMD9nWC5FSy1X1yyKcHOzfjSCTpTUDPANqkRaQM7QHi6roVmYs5eB/8ev6 XM5ryXCDBLXQTOBDNEP9MP2o5AseRofqqg5HXvBD1T2j6zirVxR0R8IyrfAlnSWnkrg9 0ofQ== 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=7tvIISQHZAlV88XfeTXyWnSyffPLYrgsrm7edv1t8uY=; fh=Qo2J6dANwcPjQn140TSErRwEzDQnKw4Tx4jp1VOUUcA=; b=KQsc0BeJ0bwJHfL5LbUABJG18B+bjVFUxYd29v67lxOSWt8takc9LhdXzdk3jPIh9q j9lelcbXgO27xj408RjqnhRZuqFVqxV7m33thnjYR6VguUHY3Jdi8iIYUMAGG2GzGxbx KVCxSy8mm5Y0AzimNOSMjCOxwe4eqpPUe18AEQbb/oAviEAzaIN/vABWn4AqjdYrby28 H9MpigsU6ZKLWUXDCirJtmmHjL/eTnagp0s3J1v+k1FFg+1l5OnMNj25dwPlnEHQ87Nv cJV9CY3vW2/MnHUkxPKjkLUMTXa50GXqFBARWD4v8UJMmVVcfnPrHD4YdQ7b/dvjTeac EekA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id w4-20020a056402128400b005222afcd97asi1946375edv.620.2023.07.27.22.20.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 22:20:07 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c 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 198D13952000 for ; Fri, 28 Jul 2023 05:09:47 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::34]) by sourceware.org (Postfix) with ESMTP id AE4CE3882034 for ; Fri, 28 Jul 2023 05:07:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AE4CE3882034 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 140BD92009E; Fri, 28 Jul 2023 07:07:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 0EEA792009D; Fri, 28 Jul 2023 06:07:38 +0100 (BST) Date: Fri, 28 Jul 2023 06:07:37 +0100 (BST) From: "Maciej W. Rozycki" To: Nick Clifton cc: YunQiang Su , binutils@sourceware.org Subject: [committed 15/16] MIPS/GAS/testsuite: Fix n64 compact EH failures 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=-3488.3 required=5.0 tests=BAYES_00, KAM_ASCII_DIVIDERS, 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: 1772640384248561770 X-GMAIL-MSGID: 1772640384248561770 From: YunQiang Su Expect a `.MIPS.options' section alternatively to `.reginfo' and ignore contents of either as irrelevant for all the affected compact EH tests, removing these regressions: mips64-openbsd -FAIL: Compact EH EB #1 with personality ID and FDE data mips64-openbsd -FAIL: Compact EH EB #2 with personality routine and FDE data mips64-openbsd -FAIL: Compact EH EB #3 with personality id and large FDE data mips64-openbsd -FAIL: Compact EH EB #4 with personality id, FDE data and LSDA mips64-openbsd -FAIL: Compact EH EB #5 with personality routine, FDE data and LSDA mips64-openbsd -FAIL: Compact EH EB #6 with personality id, LSDA and large FDE data mips64-openbsd -FAIL: Compact EH EL #1 with personality ID and FDE data mips64-openbsd -FAIL: Compact EH EL #2 with personality routine and FDE data mips64-openbsd -FAIL: Compact EH EL #3 with personality id and large FDE data mips64-openbsd -FAIL: Compact EH EL #4 with personality id, FDE data and LSDA mips64-openbsd -FAIL: Compact EH EL #5 with personality routine, FDE data and LSDA mips64-openbsd -FAIL: Compact EH EL #6 with personality id, LSDA and large FDE data mips64el-openbsd -FAIL: Compact EH EB #1 with personality ID and FDE data mips64el-openbsd -FAIL: Compact EH EB #2 with personality routine and FDE data mips64el-openbsd -FAIL: Compact EH EB #3 with personality id and large FDE data mips64el-openbsd -FAIL: Compact EH EB #4 with personality id, FDE data and LSDA mips64el-openbsd -FAIL: Compact EH EB #5 with personality routine, FDE data and LSDA mips64el-openbsd -FAIL: Compact EH EB #6 with personality id, LSDA and large FDE data mips64el-openbsd -FAIL: Compact EH EL #1 with personality ID and FDE data mips64el-openbsd -FAIL: Compact EH EL #2 with personality routine and FDE data mips64el-openbsd -FAIL: Compact EH EL #3 with personality id and large FDE data mips64el-openbsd -FAIL: Compact EH EL #4 with personality id, FDE data and LSDA mips64el-openbsd -FAIL: Compact EH EL #5 with personality routine, FDE data and LSDA mips64el-openbsd -FAIL: Compact EH EL #6 with personality id, LSDA and large FDE data Co-Authored-By: Maciej W. Rozycki gas/ * testsuite/gas/mips/compact-eh-eb-1.d: Accept `.MIPS.options' section as an alternative to `.reginfo' and ignore contents of either. * testsuite/gas/mips/compact-eh-eb-2.d: Likewise. * testsuite/gas/mips/compact-eh-eb-3.d: Likewise. * testsuite/gas/mips/compact-eh-eb-4.d: Likewise. * testsuite/gas/mips/compact-eh-eb-5.d: Likewise. * testsuite/gas/mips/compact-eh-eb-6.d: Likewise. * testsuite/gas/mips/compact-eh-el-1.d: Likewise. * testsuite/gas/mips/compact-eh-el-2.d: Likewise. * testsuite/gas/mips/compact-eh-el-3.d: Likewise. * testsuite/gas/mips/compact-eh-el-4.d: Likewise. * testsuite/gas/mips/compact-eh-el-5.d: Likewise. * testsuite/gas/mips/compact-eh-el-6.d: Likewise. --- gas/testsuite/gas/mips/compact-eh-eb-1.d | 5 ++--- gas/testsuite/gas/mips/compact-eh-eb-2.d | 5 ++--- gas/testsuite/gas/mips/compact-eh-eb-3.d | 5 ++--- gas/testsuite/gas/mips/compact-eh-eb-4.d | 5 ++--- gas/testsuite/gas/mips/compact-eh-eb-5.d | 5 ++--- gas/testsuite/gas/mips/compact-eh-eb-6.d | 5 ++--- gas/testsuite/gas/mips/compact-eh-el-1.d | 5 ++--- gas/testsuite/gas/mips/compact-eh-el-2.d | 5 ++--- gas/testsuite/gas/mips/compact-eh-el-3.d | 5 ++--- gas/testsuite/gas/mips/compact-eh-el-4.d | 5 ++--- gas/testsuite/gas/mips/compact-eh-el-5.d | 5 ++--- gas/testsuite/gas/mips/compact-eh-el-6.d | 5 ++--- 12 files changed, 24 insertions(+), 36 deletions(-) binutils-yunqiang-mips-gas-test-compact-eh-abi-section.diff Index: binutils-gdb/gas/testsuite/gas/mips/compact-eh-eb-1.d =================================================================== --- binutils-gdb.orig/gas/testsuite/gas/mips/compact-eh-eb-1.d +++ binutils-gdb/gas/testsuite/gas/mips/compact-eh-eb-1.d @@ -15,9 +15,8 @@ OFFSET +TYPE +VALUE Contents of section .text: 0000 00000000.* -Contents of section .reginfo: - 0000 00000000 00000000 00000000 00000000 .* - 0010 00000000 00000000 .* +Contents of section (.reginfo|.MIPS.options): +#... Contents of section .MIPS.abiflags: .* .* Index: binutils-gdb/gas/testsuite/gas/mips/compact-eh-eb-2.d =================================================================== --- binutils-gdb.orig/gas/testsuite/gas/mips/compact-eh-eb-2.d +++ binutils-gdb/gas/testsuite/gas/mips/compact-eh-eb-2.d @@ -34,9 +34,8 @@ OFFSET +TYPE +VALUE 0000 00000001 00000007 00000008 .* Contents of section .text: 0000 00000000.* -Contents of section .reginfo: - 0000 00000000 00000000 00000000 00000000 .* - 0010 00000000 00000000 .* +Contents of section (.reginfo|.MIPS.options): +#... Contents of section .MIPS.abiflags: .* .* Index: binutils-gdb/gas/testsuite/gas/mips/compact-eh-eb-3.d =================================================================== --- binutils-gdb.orig/gas/testsuite/gas/mips/compact-eh-eb-3.d +++ binutils-gdb/gas/testsuite/gas/mips/compact-eh-eb-3.d @@ -18,9 +18,8 @@ OFFSET +TYPE +VALUE Contents of section .text: 0000 00000000.* -Contents of section .reginfo: - 0000 00000000 00000000 00000000 00000000 .* - 0010 00000000 00000000 .* +Contents of section (.reginfo|.MIPS.options): +#... Contents of section .MIPS.abiflags: .* .* Index: binutils-gdb/gas/testsuite/gas/mips/compact-eh-eb-4.d =================================================================== --- binutils-gdb.orig/gas/testsuite/gas/mips/compact-eh-eb-4.d +++ binutils-gdb/gas/testsuite/gas/mips/compact-eh-eb-4.d @@ -19,9 +19,8 @@ OFFSET +TYPE +VALUE Contents of section .text: 0000 00000000 00000000 00000000 00000000 .* 0010 00000000.* -Contents of section .reginfo: - 0000 00000000 00000000 00000000 00000000 .* - 0010 00000000 00000000 .* +Contents of section (.reginfo|.MIPS.options): +#... Contents of section .MIPS.abiflags: .* .* Index: binutils-gdb/gas/testsuite/gas/mips/compact-eh-eb-5.d =================================================================== --- binutils-gdb.orig/gas/testsuite/gas/mips/compact-eh-eb-5.d +++ binutils-gdb/gas/testsuite/gas/mips/compact-eh-eb-5.d @@ -35,9 +35,8 @@ OFFSET +TYPE +VALUE Contents of section .text: 0000 00000000 00000000 00000000 00000000 .* 0010 00000000.* -Contents of section .reginfo: - 0000 00000000 00000000 00000000 00000000 .* - 0010 00000000 00000000 .* +Contents of section (.reginfo|.MIPS.options): +#... Contents of section .MIPS.abiflags: .* .* Index: binutils-gdb/gas/testsuite/gas/mips/compact-eh-eb-6.d =================================================================== --- binutils-gdb.orig/gas/testsuite/gas/mips/compact-eh-eb-6.d +++ binutils-gdb/gas/testsuite/gas/mips/compact-eh-eb-6.d @@ -19,9 +19,8 @@ OFFSET +TYPE +VALUE Contents of section .text: 0000 00000000 00000000 00000000 00000000 .* 0010 00000000.* -Contents of section .reginfo: - 0000 00000000 00000000 00000000 00000000 .* - 0010 00000000 00000000 .* +Contents of section (.reginfo|.MIPS.options): +#... Contents of section .MIPS.abiflags: .* .* Index: binutils-gdb/gas/testsuite/gas/mips/compact-eh-el-1.d =================================================================== --- binutils-gdb.orig/gas/testsuite/gas/mips/compact-eh-el-1.d +++ binutils-gdb/gas/testsuite/gas/mips/compact-eh-el-1.d @@ -15,9 +15,8 @@ OFFSET +TYPE +VALUE Contents of section .text: 0000 00000000.* -Contents of section .reginfo: - 0000 00000000 00000000 00000000 00000000 .* - 0010 00000000 00000000 .* +Contents of section (.reginfo|.MIPS.options): +#... Contents of section .MIPS.abiflags: .* .* Index: binutils-gdb/gas/testsuite/gas/mips/compact-eh-el-2.d =================================================================== --- binutils-gdb.orig/gas/testsuite/gas/mips/compact-eh-el-2.d +++ binutils-gdb/gas/testsuite/gas/mips/compact-eh-el-2.d @@ -34,9 +34,8 @@ OFFSET +TYPE +VALUE 0000 01000000 07000000 08000000 .* Contents of section .text: 0000 00000000.* -Contents of section .reginfo: - 0000 00000000 00000000 00000000 00000000 .* - 0010 00000000 00000000 .* +Contents of section (.reginfo|.MIPS.options): +#... Contents of section .MIPS.abiflags: .* .* Index: binutils-gdb/gas/testsuite/gas/mips/compact-eh-el-3.d =================================================================== --- binutils-gdb.orig/gas/testsuite/gas/mips/compact-eh-el-3.d +++ binutils-gdb/gas/testsuite/gas/mips/compact-eh-el-3.d @@ -18,9 +18,8 @@ OFFSET +TYPE +VALUE Contents of section .text: 0000 00000000.* -Contents of section .reginfo: - 0000 00000000 00000000 00000000 00000000 .* - 0010 00000000 00000000 .* +Contents of section (.reginfo|.MIPS.options): +#... Contents of section .MIPS.abiflags: .* .* Index: binutils-gdb/gas/testsuite/gas/mips/compact-eh-el-4.d =================================================================== --- binutils-gdb.orig/gas/testsuite/gas/mips/compact-eh-el-4.d +++ binutils-gdb/gas/testsuite/gas/mips/compact-eh-el-4.d @@ -19,9 +19,8 @@ OFFSET +TYPE +VALUE Contents of section .text: 0000 00000000 00000000 00000000 00000000 .* 0010 00000000.* -Contents of section .reginfo: - 0000 00000000 00000000 00000000 00000000 .* - 0010 00000000 00000000 .* +Contents of section (.reginfo|.MIPS.options): +#... Contents of section .MIPS.abiflags: .* .* Index: binutils-gdb/gas/testsuite/gas/mips/compact-eh-el-5.d =================================================================== --- binutils-gdb.orig/gas/testsuite/gas/mips/compact-eh-el-5.d +++ binutils-gdb/gas/testsuite/gas/mips/compact-eh-el-5.d @@ -34,9 +34,8 @@ OFFSET +TYPE +VALUE Contents of section .text: 0000 00000000 00000000 00000000 00000000 .* 0010 00000000.* -Contents of section .reginfo: - 0000 00000000 00000000 00000000 00000000 .* - 0010 00000000 00000000 .* +Contents of section (.reginfo|.MIPS.options): +#... Contents of section .MIPS.abiflags: .* .* Index: binutils-gdb/gas/testsuite/gas/mips/compact-eh-el-6.d =================================================================== --- binutils-gdb.orig/gas/testsuite/gas/mips/compact-eh-el-6.d +++ binutils-gdb/gas/testsuite/gas/mips/compact-eh-el-6.d @@ -19,9 +19,8 @@ OFFSET +TYPE +VALUE Contents of section .text: 0000 00000000 00000000 00000000 00000000 .* 0010 00000000.* -Contents of section .reginfo: - 0000 00000000 00000000 00000000 00000000 .* - 0010 00000000 00000000 .* +Contents of section (.reginfo|.MIPS.options): +#... Contents of section .MIPS.abiflags: .* .*