Commit: ld x86_64 tests: Accept x86-64-v3 as a needed ISA
Sam James
sam@gentoo.org
Thu Nov 2 10:10:59 GMT 2023
Nick Clifton <nickc@redhat.com> writes:
> Hi Guys,
>
> Recently four of the x86_64 linker tests have started failing for the
> Fedora rawhide binutils because the x86_64-v3 ISA is being used and
> .note.gnu.property notes show:
>
> x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3
>
> So I am applying the patch below to update the regexps for these
> tests.
This is PR30722 which I'll close now, thanks!
>
> Cheers
> Nick
>
> ld/ChangeLog
> 2023-11-02 Nick Clifton <nickc@redhat.com>
>
> * testsuite/ld-x86-64/property-3.r: Update regexp to allow for
> targets which support x86-64-v3.
> * testsuite/ld-x86-64/property-4.r: Likewise.
> * testsuite/ld-x86-64/property-5.r: Likewise.
>
> diff --git a/ld/testsuite/ld-x86-64/property-3.r b/ld/testsuite/ld-x86-64/property-3.r
> index 1bdb47c7b6b..1e4a24c6fbe 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.*
> #pass
> diff --git a/ld/testsuite/ld-x86-64/property-4.r b/ld/testsuite/ld-x86-64/property-4.r
> index 8cc618cbfad..031a1d280ad 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-v4
> #pass
> diff --git a/ld/testsuite/ld-x86-64/property-5.r b/ld/testsuite/ld-x86-64/property-5.r
> index e3ba4f659b9..58b274b9772 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-v4
> #pass
More information about the Binutils
mailing list