From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 61A393856089 for ; Thu, 17 Aug 2023 04:22:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 61A393856089 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org From: Sam James To: binutils@sourceware.org Cc: "H . J . Lu" , Sam James Subject: [PATCH] ld: testsuite: adjust property-{3,4{,a},5} test cases for glibc baseline Date: Thu, 17 Aug 2023 05:21:51 +0100 Message-ID: <20230817042241.2987128-1-sam@gentoo.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-10.0 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_PASS,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 List-Id: PR30722 * ld/testsuite/ld-x86-64/property-3.r: Tolerate x86-64-v3 if present in the x86 ISA notes. * ld/testsuite/ld-x86-64/property-4.r: Ditto. * ld/testsuite/ld-x86-64/property-4a.r: Ditto. * ld/testsuite/ld-x86-64/property-5.r: Ditto. Signed-off-by: Sam James --- H.J, could you check this? Please see https://sourceware.org/bugzilla/show_bug.cgi?id=30722#c9 and https://sourceware.org/bugzilla/show_bug.cgi?id=30722#c10 for why this is happening on my system. I'd like to double check this explanation makes sense to you and the patch looks OK. Thanks! ld/testsuite/ld-x86-64/property-3.r | 2 +- ld/testsuite/ld-x86-64/property-4.r | 2 +- ld/testsuite/ld-x86-64/property-4a.r | 2 +- ld/testsuite/ld-x86-64/property-5.r | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ld/testsuite/ld-x86-64/property-3.r b/ld/testsuite/ld-x86-64/property-3.r index 1bdb47c7b6b..19cdef7b889 100644 --- a/ld/testsuite/ld-x86-64/property-3.r +++ b/ld/testsuite/ld-x86-64/property-3.r @@ -4,5 +4,5 @@ Displaying notes found in: .note.gnu.property GNU 0x[0-9a-f]+ NT_GNU_PROPERTY_TYPE_0 Properties: stack size: 0x800000 #... - x86 ISA needed: x86-64-baseline, x86-64-v2 + x86 ISA needed: x86-64-baseline, x86-64-v2(, x86-64-v3)? #pass diff --git a/ld/testsuite/ld-x86-64/property-4.r b/ld/testsuite/ld-x86-64/property-4.r index 8cc618cbfad..a81596185e9 100644 --- a/ld/testsuite/ld-x86-64/property-4.r +++ b/ld/testsuite/ld-x86-64/property-4.r @@ -4,5 +4,5 @@ Displaying notes found in: .note.gnu.property GNU 0x[0-9a-f]+ NT_GNU_PROPERTY_TYPE_0 Properties: stack size: 0x800000 #... - x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v4 + x86 ISA needed: x86-64-baseline, x86-64-v2, (x86-64-v3, )?x86-64-v4 #pass diff --git a/ld/testsuite/ld-x86-64/property-4a.r b/ld/testsuite/ld-x86-64/property-4a.r index 64e58a7563c..1d463bf0c66 100644 --- a/ld/testsuite/ld-x86-64/property-4a.r +++ b/ld/testsuite/ld-x86-64/property-4a.r @@ -3,7 +3,7 @@ Displaying notes found in: .note.gnu.property [ ]+Owner[ ]+Data size[ ]+Description GNU 0x[0-9a-f]+ NT_GNU_PROPERTY_TYPE_0 Properties: stack size: 0x800000 - x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v4 + x86 ISA needed: x86-64-baseline, x86-64-v2, (x86-64-v3, )?x86-64-v4 x86 feature used: x86 x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v4 #pass diff --git a/ld/testsuite/ld-x86-64/property-5.r b/ld/testsuite/ld-x86-64/property-5.r index e3ba4f659b9..1444b8dae76 100644 --- a/ld/testsuite/ld-x86-64/property-5.r +++ b/ld/testsuite/ld-x86-64/property-5.r @@ -4,5 +4,5 @@ Displaying notes found in: .note.gnu.property GNU 0x[0-9a-f]+ NT_GNU_PROPERTY_TYPE_0 Properties: stack size: 0x900000 #... - x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v4 + x86 ISA needed: x86-64-baseline, x86-64-v2, (x86-64-v3, )?x86-64-v4 #pass -- 2.41.0