public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Sam James <sam@gentoo.org>
To: binutils@sourceware.org
Cc: "H . J . Lu" <hjl.tools@gmail.com>, Sam James <sam@gentoo.org>
Subject: [PATCH] ld: testsuite: adjust property-{3,4{,a},5} test cases for glibc baseline
Date: Thu, 17 Aug 2023 05:21:51 +0100	[thread overview]
Message-ID: <20230817042241.2987128-1-sam@gentoo.org> (raw)

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 <sam@gentoo.org>
---
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


                 reply	other threads:[~2023-08-17  4:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230817042241.2987128-1-sam@gentoo.org \
    --to=sam@gentoo.org \
    --cc=binutils@sourceware.org \
    --cc=hjl.tools@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).