x86: Support GNU_PROPERTY_X86_ISA_1_BASELINE marker
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 30 Oct 2020 13:49:57 +0000 (06:49 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 30 Oct 2020 13:50:10 +0000 (06:50 -0700)
GCC 11 supports -march=x86-64-v[234] to enable x86 micro-architecture ISA
levels:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97250

X86 ISA markers are updated:

https://gitlab.com/x86-psABIs/x86-64-ABI/-/merge_requests/13

GNU_PROPERTY_X86_ISA_1_BASELINE is added and GNU_PROPERTY_X86_ISA_1_V[234]
are updated:

 #define GNU_PROPERTY_X86_ISA_1_BASELINE (1U << 0)
 #define GNU_PROPERTY_X86_ISA_1_V2       (1U << 1)
 #define GNU_PROPERTY_X86_ISA_1_V3       (1U << 2)
 #define GNU_PROPERTY_X86_ISA_1_V4       (1U << 3)

Add -z x86-64-baseline linker command line option to mark x86-64-baseline
ISA level as needed.

bfd/

PR gas/26703
* elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Generate
GNU_PROPERTY_X86_ISA_1_BASELINE for -z x86-64-baseline.

binutils/

PR gas/26703
* readelf.c (decode_x86_isa): Handle
* GNU_PROPERTY_X86_ISA_1_BASELINE.
* testsuite/binutils-all/i386/empty.d: Updated.
* testsuite/binutils-all/i386/ibt.d: Likewise.
* testsuite/binutils-all/i386/pr21231a.d: Likewise.
* testsuite/binutils-all/i386/pr21231b.d: Likewise.
* testsuite/binutils-all/i386/shstk.d: Likewise.
* testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
* testsuite/binutils-all/x86-64/empty.d: Likewise.
* testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
* testsuite/binutils-all/x86-64/ibt.d: Likewise.
* testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
* testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
* testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
* testsuite/binutils-all/x86-64/shstk.d: Likewise.

gas/

PR gas/26703
* config/tc-i386.c (output_insn): Update for
GNU_PROPERTY_X86_ISA_1_BASELINE.
* testsuite/gas/i386/property-1.d: Updated.
* testsuite/gas/i386/property-2.d: Likewise.
* testsuite/gas/i386/property-3.d: Likewise.
* testsuite/gas/i386/property-4.d: Likewise.
* testsuite/gas/i386/property-5.d: Likewise.
* testsuite/gas/i386/property-6.d: Likewise.
* testsuite/gas/i386/property-11.d: Likewise.
* testsuite/gas/i386/property-12.d: Likewise.
* testsuite/gas/i386/x86-64-property-1.d: Likewise.
* testsuite/gas/i386/x86-64-property-2.d: Likewise.
* testsuite/gas/i386/x86-64-property-3.d: Likewise.
* testsuite/gas/i386/x86-64-property-4.d: Likewise.
* testsuite/gas/i386/x86-64-property-5.d: Likewise.
* testsuite/gas/i386/x86-64-property-6.d: Likewise.
* testsuite/gas/i386/x86-64-property-11.d: Likewise.
* testsuite/gas/i386/x86-64-property-12.d: Likewise.

include/

PR gas/26703
* elf/common.h (GNU_PROPERTY_X86_ISA_1_BASELINE): New.
(GNU_PROPERTY_X86_ISA_1_V2): Uppdated.
(GNU_PROPERTY_X86_ISA_1_V3): Likewise.
(GNU_PROPERTY_X86_ISA_1_V4): Likewise.

ld/

PR gas/26703
* NEWS: Mention -z x86-64-baseline.
* ld.texi: Document -z x86-64-baseline.
* emulparams/x86-64-level.sh: Handle -z x86-64-baseline.
* testsuite/ld-elf/x86-feature-1a.rd: Update.
* testsuite/ld-elf/x86-feature-1b.rd: Likewise.
* testsuite/ld-elf/x86-feature-1c.rd: Likewise.
* testsuite/ld-elf/x86-feature-1d.rd: Likewise.
* testsuite/ld-elf/x86-feature-1e.rd: Likewise.
* testsuite/ld-i386/pr23372c.d: Likewise.
* testsuite/ld-i386/pr23486c.d: Likewise.
* testsuite/ld-i386/pr23486d.d: Likewise.
* testsuite/ld-i386/pr24322a.d: Likewise.
* testsuite/ld-i386/pr24322b.d: Likewise.
* testsuite/ld-i386/property-1a.r: Likewise.
* testsuite/ld-i386/property-2a.r: Likewise.
* testsuite/ld-i386/property-3.r: Likewise.
* testsuite/ld-i386/property-3a.r: Likewise.
* testsuite/ld-i386/property-4.r: Likewise.
* testsuite/ld-i386/property-4a.r: Likewise.
* testsuite/ld-i386/property-5.r: Likewise.
* testsuite/ld-i386/property-5a.r: Likewise.
* testsuite/ld-i386/property-7a.r: Likewise.
* testsuite/ld-i386/property-x86-3.d: Likewise.
* testsuite/ld-i386/property-x86-4a.d: Likewise.
* testsuite/ld-i386/property-x86-5.d: Likewise.
* testsuite/ld-i386/property-x86-cet1.d: Likewise.
* testsuite/ld-i386/property-x86-cet2a.d: Likewise.
* testsuite/ld-i386/property-x86-cet5a.d: Likewise.
* testsuite/ld-i386/property-x86-cet5b.d: Likewise.
* testsuite/ld-i386/property-x86-ibt1a.d: Likewise.
* testsuite/ld-i386/property-x86-ibt1b.d: Likewise.
* testsuite/ld-i386/property-x86-ibt2.d: Likewise.
* testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
* testsuite/ld-i386/property-x86-ibt3b.d: Likewise.
* testsuite/ld-i386/property-x86-ibt4.d: Likewise.
* testsuite/ld-i386/property-x86-ibt5.d: Likewise.
* testsuite/ld-i386/property-x86-isa1.d: Likewise.
* testsuite/ld-i386/property-x86-isa2.d: Likewise.
* testsuite/ld-i386/property-x86-isa3.d: Likewise.
* testsuite/ld-i386/property-x86-shstk1a.d: Likewise.
* testsuite/ld-i386/property-x86-shstk1b.d: Likewise.
* testsuite/ld-i386/property-x86-shstk2.d: Likewise.
* testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
* testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
* testsuite/ld-i386/property-x86-shstk4.d: Likewise.
* testsuite/ld-i386/property-x86-shstk5.d: Likewise.
* testsuite/ld-x86-64/pr23372c-x32.d: Likewise.
* testsuite/ld-x86-64/pr23372c.d: Likewise.
* testsuite/ld-x86-64/pr23486c-x32.d: Likewise.
* testsuite/ld-x86-64/pr23486c.d: Likewise.
* testsuite/ld-x86-64/pr23486d-x32.d: Likewise.
* testsuite/ld-x86-64/pr23486d.d: Likewise.
* testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
* testsuite/ld-x86-64/pr24322a.d: Likewise.
* testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
* testsuite/ld-x86-64/pr24322b.d: Likewise.
* testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
* testsuite/ld-x86-64/pr24458a.d: Likewise.
* testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
* testsuite/ld-x86-64/pr24458b.d: Likewise.
* testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
* testsuite/ld-x86-64/pr24458c.d: Likewise.
* testsuite/ld-x86-64/property-1a.r: Likewise.
* testsuite/ld-x86-64/property-2a.r: Likewise.
* testsuite/ld-x86-64/property-3.r: Likewise.
* testsuite/ld-x86-64/property-3a.r: Likewise.
* testsuite/ld-x86-64/property-4.r: Likewise.
* testsuite/ld-x86-64/property-4a.r: Likewise.
* testsuite/ld-x86-64/property-5.r: Likewise.
* testsuite/ld-x86-64/property-5a.r: Likewise.
* testsuite/ld-x86-64/property-7a.r: Likewise.
* testsuite/ld-x86-64/property-x86-3-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-3.d: Likewise.
* testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-4a.d: Likewise.
* testsuite/ld-x86-64/property-x86-5-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-5.d: Likewise.
* testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
* testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
* testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
* testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt1b-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt1b.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt2-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt2.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt4-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt4.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt5-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-isa1-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-isa1.d: Likewise.
* testsuite/ld-x86-64/property-x86-isa2-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-isa2.d: Likewise.
* testsuite/ld-x86-64/property-x86-isa3-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-isa3.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt5.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk1a-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk1a.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk1b-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk1b.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk2-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk2.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk4-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk4.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk5-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk5.d: Likewise.
* testsuite/ld-i386/i386.exp: Run property-x86-isa4.
* testsuite/ld-i386/property-x86-isa4.d: New file.
* testsuite/ld-x86-64/property-x86-isa4-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-isa4.d: Likewise.
* ld/testsuite/ld-x86-64/x86-64.exp: Run property-x86-isa4
and property-x86-isa4-x32.

162 files changed:
bfd/ChangeLog
bfd/elfxx-x86.c
binutils/ChangeLog
binutils/readelf.c
binutils/testsuite/binutils-all/i386/empty.d
binutils/testsuite/binutils-all/i386/ibt.d
binutils/testsuite/binutils-all/i386/pr21231a.d
binutils/testsuite/binutils-all/i386/pr21231b.d
binutils/testsuite/binutils-all/i386/shstk.d
binutils/testsuite/binutils-all/x86-64/empty-x32.d
binutils/testsuite/binutils-all/x86-64/empty.d
binutils/testsuite/binutils-all/x86-64/ibt-x32.d
binutils/testsuite/binutils-all/x86-64/ibt.d
binutils/testsuite/binutils-all/x86-64/pr21231a.d
binutils/testsuite/binutils-all/x86-64/pr21231b.d
binutils/testsuite/binutils-all/x86-64/pr23494a-x32.d
binutils/testsuite/binutils-all/x86-64/pr23494a.d
binutils/testsuite/binutils-all/x86-64/pr23494c-x32.d
binutils/testsuite/binutils-all/x86-64/pr23494c.d
binutils/testsuite/binutils-all/x86-64/pr23494d-x32.d
binutils/testsuite/binutils-all/x86-64/pr23494d.d
binutils/testsuite/binutils-all/x86-64/pr23494e-x32.d
binutils/testsuite/binutils-all/x86-64/pr23494e.d
binutils/testsuite/binutils-all/x86-64/shstk-x32.d
binutils/testsuite/binutils-all/x86-64/shstk.d
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/property-1.d
gas/testsuite/gas/i386/property-11.d
gas/testsuite/gas/i386/property-12.d
gas/testsuite/gas/i386/property-3.d
gas/testsuite/gas/i386/property-4.d
gas/testsuite/gas/i386/property-5.d
gas/testsuite/gas/i386/property-6.d
gas/testsuite/gas/i386/x86-64-property-1.d
gas/testsuite/gas/i386/x86-64-property-11.d
gas/testsuite/gas/i386/x86-64-property-12.d
gas/testsuite/gas/i386/x86-64-property-3.d
gas/testsuite/gas/i386/x86-64-property-4.d
gas/testsuite/gas/i386/x86-64-property-5.d
gas/testsuite/gas/i386/x86-64-property-6.d
include/ChangeLog
include/elf/common.h
ld/ChangeLog
ld/NEWS
ld/emulparams/x86-64-level.sh
ld/ld.texi
ld/testsuite/ld-elf/x86-feature-1a.rd
ld/testsuite/ld-elf/x86-feature-1b.rd
ld/testsuite/ld-elf/x86-feature-1c.rd
ld/testsuite/ld-elf/x86-feature-1d.rd
ld/testsuite/ld-elf/x86-feature-1e.rd
ld/testsuite/ld-i386/i386.exp
ld/testsuite/ld-i386/pr23372c.d
ld/testsuite/ld-i386/pr23486c.d
ld/testsuite/ld-i386/pr23486d.d
ld/testsuite/ld-i386/pr24322a.d
ld/testsuite/ld-i386/pr24322b.d
ld/testsuite/ld-i386/property-1a.r
ld/testsuite/ld-i386/property-2a.r
ld/testsuite/ld-i386/property-3.r
ld/testsuite/ld-i386/property-3a.r
ld/testsuite/ld-i386/property-4.r
ld/testsuite/ld-i386/property-4a.r
ld/testsuite/ld-i386/property-5.r
ld/testsuite/ld-i386/property-5a.r
ld/testsuite/ld-i386/property-7a.r
ld/testsuite/ld-i386/property-x86-3.d
ld/testsuite/ld-i386/property-x86-4a.d
ld/testsuite/ld-i386/property-x86-5.d
ld/testsuite/ld-i386/property-x86-cet1.d
ld/testsuite/ld-i386/property-x86-cet2a.d
ld/testsuite/ld-i386/property-x86-cet5a.d
ld/testsuite/ld-i386/property-x86-cet5b.d
ld/testsuite/ld-i386/property-x86-ibt1a.d
ld/testsuite/ld-i386/property-x86-ibt1b.d
ld/testsuite/ld-i386/property-x86-ibt2.d
ld/testsuite/ld-i386/property-x86-ibt3a.d
ld/testsuite/ld-i386/property-x86-ibt3b.d
ld/testsuite/ld-i386/property-x86-ibt4.d
ld/testsuite/ld-i386/property-x86-ibt5.d
ld/testsuite/ld-i386/property-x86-isa1.d
ld/testsuite/ld-i386/property-x86-isa4.d [new file with mode: 0644]
ld/testsuite/ld-i386/property-x86-shstk1a.d
ld/testsuite/ld-i386/property-x86-shstk1b.d
ld/testsuite/ld-i386/property-x86-shstk2.d
ld/testsuite/ld-i386/property-x86-shstk3a.d
ld/testsuite/ld-i386/property-x86-shstk3b.d
ld/testsuite/ld-i386/property-x86-shstk4.d
ld/testsuite/ld-i386/property-x86-shstk5.d
ld/testsuite/ld-x86-64/pr23372c-x32.d
ld/testsuite/ld-x86-64/pr23372c.d
ld/testsuite/ld-x86-64/pr23486c-x32.d
ld/testsuite/ld-x86-64/pr23486c.d
ld/testsuite/ld-x86-64/pr23486d-x32.d
ld/testsuite/ld-x86-64/pr23486d.d
ld/testsuite/ld-x86-64/pr24322a-x32.d
ld/testsuite/ld-x86-64/pr24322a.d
ld/testsuite/ld-x86-64/pr24322b-x32.d
ld/testsuite/ld-x86-64/pr24322b.d
ld/testsuite/ld-x86-64/pr24458a-x32.d
ld/testsuite/ld-x86-64/pr24458a.d
ld/testsuite/ld-x86-64/pr24458b-x32.d
ld/testsuite/ld-x86-64/pr24458b.d
ld/testsuite/ld-x86-64/pr24458c-x32.d
ld/testsuite/ld-x86-64/pr24458c.d
ld/testsuite/ld-x86-64/property-1a.r
ld/testsuite/ld-x86-64/property-2a.r
ld/testsuite/ld-x86-64/property-3.r
ld/testsuite/ld-x86-64/property-3a.r
ld/testsuite/ld-x86-64/property-4.r
ld/testsuite/ld-x86-64/property-4a.r
ld/testsuite/ld-x86-64/property-5.r
ld/testsuite/ld-x86-64/property-5a.r
ld/testsuite/ld-x86-64/property-7a.r
ld/testsuite/ld-x86-64/property-x86-3-x32.d
ld/testsuite/ld-x86-64/property-x86-3.d
ld/testsuite/ld-x86-64/property-x86-4a-x32.d
ld/testsuite/ld-x86-64/property-x86-4a.d
ld/testsuite/ld-x86-64/property-x86-5-x32.d
ld/testsuite/ld-x86-64/property-x86-5.d
ld/testsuite/ld-x86-64/property-x86-cet1-x32.d
ld/testsuite/ld-x86-64/property-x86-cet1.d
ld/testsuite/ld-x86-64/property-x86-cet2a-x32.d
ld/testsuite/ld-x86-64/property-x86-cet2a.d
ld/testsuite/ld-x86-64/property-x86-cet5a-x32.d
ld/testsuite/ld-x86-64/property-x86-cet5a.d
ld/testsuite/ld-x86-64/property-x86-cet5b-x32.d
ld/testsuite/ld-x86-64/property-x86-cet5b.d
ld/testsuite/ld-x86-64/property-x86-ibt1a-x32.d
ld/testsuite/ld-x86-64/property-x86-ibt1a.d
ld/testsuite/ld-x86-64/property-x86-ibt1b-x32.d
ld/testsuite/ld-x86-64/property-x86-ibt1b.d
ld/testsuite/ld-x86-64/property-x86-ibt2-x32.d
ld/testsuite/ld-x86-64/property-x86-ibt2.d
ld/testsuite/ld-x86-64/property-x86-ibt3a-x32.d
ld/testsuite/ld-x86-64/property-x86-ibt3a.d
ld/testsuite/ld-x86-64/property-x86-ibt3b-x32.d
ld/testsuite/ld-x86-64/property-x86-ibt3b.d
ld/testsuite/ld-x86-64/property-x86-ibt4-x32.d
ld/testsuite/ld-x86-64/property-x86-ibt4.d
ld/testsuite/ld-x86-64/property-x86-ibt5-x32.d
ld/testsuite/ld-x86-64/property-x86-ibt5.d
ld/testsuite/ld-x86-64/property-x86-isa1-x32.d
ld/testsuite/ld-x86-64/property-x86-isa1.d
ld/testsuite/ld-x86-64/property-x86-isa4-x32.d [new file with mode: 0644]
ld/testsuite/ld-x86-64/property-x86-isa4.d [new file with mode: 0644]
ld/testsuite/ld-x86-64/property-x86-shstk1a-x32.d
ld/testsuite/ld-x86-64/property-x86-shstk1a.d
ld/testsuite/ld-x86-64/property-x86-shstk1b-x32.d
ld/testsuite/ld-x86-64/property-x86-shstk1b.d
ld/testsuite/ld-x86-64/property-x86-shstk2-x32.d
ld/testsuite/ld-x86-64/property-x86-shstk2.d
ld/testsuite/ld-x86-64/property-x86-shstk3a-x32.d
ld/testsuite/ld-x86-64/property-x86-shstk3a.d
ld/testsuite/ld-x86-64/property-x86-shstk3b-x32.d
ld/testsuite/ld-x86-64/property-x86-shstk3b.d
ld/testsuite/ld-x86-64/property-x86-shstk4-x32.d
ld/testsuite/ld-x86-64/property-x86-shstk4.d
ld/testsuite/ld-x86-64/property-x86-shstk5-x32.d
ld/testsuite/ld-x86-64/property-x86-shstk5.d
ld/testsuite/ld-x86-64/x86-64.exp

index 24a81c89ab29bec3898684a4e9a6e9cf8c69bf6d..a12ba7de337437a16d1c2769c4712e9376641303 100644 (file)
@@ -1,3 +1,9 @@
+2020-10-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/26703
+       * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Generate
+       GNU_PROPERTY_X86_ISA_1_BASELINE for -z x86-64-baseline.
+
 2020-10-29  Nick Clifton  <nickc@redhat.com>
 
        PR 26809
index 4a0360fb098a47131f51f1a31acfe482b15d3af1..97de9f2b5373b34c6c67abed105ae05cb1e3087f 100644 (file)
@@ -2561,6 +2561,9 @@ _bfd_x86_elf_link_setup_gnu_properties
     case 0:
       isa_level = 0;
       break;
+    case 1:
+      isa_level = GNU_PROPERTY_X86_ISA_1_BASELINE;
+      break;
     case 2:
       isa_level = GNU_PROPERTY_X86_ISA_1_V2;
       break;
index 3ff3316efcc9d180202ce9fac126acca06eb2b67..4ae34af492803cc3dd69fba8d27e43c674cc3409 100644 (file)
@@ -1,3 +1,30 @@
+2020-10-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/26703
+       * readelf.c (decode_x86_isa): Handle
+       * GNU_PROPERTY_X86_ISA_1_BASELINE.
+       * testsuite/binutils-all/i386/empty.d: Updated.
+       * testsuite/binutils-all/i386/ibt.d: Likewise.
+       * testsuite/binutils-all/i386/pr21231a.d: Likewise.
+       * testsuite/binutils-all/i386/pr21231b.d: Likewise.
+       * testsuite/binutils-all/i386/shstk.d: Likewise.
+       * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
+       * testsuite/binutils-all/x86-64/empty.d: Likewise.
+       * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
+       * testsuite/binutils-all/x86-64/ibt.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
+       * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
+       * testsuite/binutils-all/x86-64/shstk.d: Likewise.
+
 2020-10-29  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR binutils/26808
index 03cfc97464b1d68d9f58787781afa6c94b9a5404..63738526d7409b6969f6a7c4de9857122a78cdf1 100644 (file)
@@ -18609,12 +18609,6 @@ decode_x86_compat_2_isa (unsigned int bitmask)
 static void
 decode_x86_isa (unsigned int bitmask)
 {
-  if (!bitmask)
-    {
-      printf (_("x86-64-baseline"));
-      return;
-    }
-
   while (bitmask)
     {
       unsigned int bit = bitmask & (- bitmask);
@@ -18622,6 +18616,9 @@ decode_x86_isa (unsigned int bitmask)
       bitmask &= ~ bit;
       switch (bit)
        {
+       case GNU_PROPERTY_X86_ISA_1_BASELINE:
+         printf ("x86-64-baseline");
+         break;
        case GNU_PROPERTY_X86_ISA_1_V2:
          printf ("x86-64-v2");
          break;
index ec54389be6e45302c36df8c2f32084b4d22f8e30..682a0866b2d1df179d2e14b15061d8839ff3bc9b 100644 (file)
@@ -8,5 +8,5 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x0000000c      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: <None>
   GNU                  0x00000018      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-baseline
+      Properties: x86 ISA used: 
        x86 feature used: x86
index 7723d70bf09022f376f745bc7b62d9a096aa5b6c..0357ae3e3a415f415b3d87e7a54a2f56db9dea8e 100644 (file)
@@ -8,5 +8,5 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x0000000c      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT
   GNU                  0x00000018      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-baseline
+      Properties: x86 ISA used: 
        x86 feature used: x86
index 657784d4f08eb0c61c8a51e6897af63b79dcc8bc..ca2c088a5f876798c029f48804480b1911aa8eee 100644 (file)
@@ -8,5 +8,5 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000008      NT_GNU_PROPERTY_TYPE_0
       Properties: no copy on protected 
   GNU                  0x00000018      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-baseline
+      Properties: x86 ISA used: 
        x86 feature used: x86
index 77ef4e635e8eccf772f454d0a1580f899cdaa786..0c219978f8065b5fc31acac2319562a7da631def 100644 (file)
@@ -8,8 +8,8 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x0000002c      NT_GNU_PROPERTY_TYPE_0
       Properties: stack size: 0x800000
        no copy on protected 
-       x86 ISA used: x86-64-v2, x86-64-v3, x86-64-v4, <unknown: 8>, <unknown: 10>, <unknown: 20>, <unknown: 40>, <unknown: 80>, <unknown: 100>, <unknown: 200>, <unknown: 400>, <unknown: 800>, <unknown: 1000>, <unknown: 2000>, <unknown: 4000>, <unknown: 8000>, <unknown: 10000>, <unknown: 20000>, <unknown: 40000>, <unknown: 80000>, <unknown: 100000>, <unknown: 200000>, <unknown: 400000>, <unknown: 800000>, <unknown: 1000000>, <unknown: 2000000>, <unknown: 4000000>, <unknown: 8000000>, <unknown: 10000000>, <unknown: 20000000>, <unknown: 40000000>
-       x86 ISA needed: x86-64-v2, x86-64-v3, x86-64-v4, <unknown: 8>, <unknown: 10>, <unknown: 20>, <unknown: 40>, <unknown: 80>, <unknown: 100>, <unknown: 200>, <unknown: 400>, <unknown: 800>, <unknown: 1000>, <unknown: 2000>, <unknown: 4000>, <unknown: 8000>
+       x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4, <unknown: 10>, <unknown: 20>, <unknown: 40>, <unknown: 80>, <unknown: 100>, <unknown: 200>, <unknown: 400>, <unknown: 800>, <unknown: 1000>, <unknown: 2000>, <unknown: 4000>, <unknown: 8000>, <unknown: 10000>, <unknown: 20000>, <unknown: 40000>, <unknown: 80000>, <unknown: 100000>, <unknown: 200000>, <unknown: 400000>, <unknown: 800000>, <unknown: 1000000>, <unknown: 2000000>, <unknown: 4000000>, <unknown: 8000000>, <unknown: 10000000>, <unknown: 20000000>, <unknown: 40000000>
+       x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4, <unknown: 10>, <unknown: 20>, <unknown: 40>, <unknown: 80>, <unknown: 100>, <unknown: 200>, <unknown: 400>, <unknown: 800>, <unknown: 1000>, <unknown: 2000>, <unknown: 4000>, <unknown: 8000>
   GNU                  0x00000018      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-baseline
+      Properties: x86 ISA used: 
        x86 feature used: x86
index 8d2e9f2969043f7de61913cb7b6bb433119601af..c91864f76d77c10d87a41547dc3ab7912b3ccc9b 100644 (file)
@@ -8,5 +8,5 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x0000000c      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: SHSTK
   GNU                  0x00000018      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-baseline
+      Properties: x86 ISA used: 
        x86 feature used: x86
index 820996bbd9be0990f28b99ce491661e709c15f81..bf96a4c283430ff71c4ca8254a8f1eef84de5db8 100644 (file)
@@ -9,5 +9,5 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x0000000c      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: <None>
   GNU                  0x00000018      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-baseline
+      Properties: x86 ISA used: 
        x86 feature used: x86
index 0f9d8ceca5541f16c2e17aa10ba8cd1ba743f5f4..035e60f4f341b3a4a66f41cabcab99427aeaf5e7 100644 (file)
@@ -8,5 +8,5 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000010      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: <None>
   GNU                  0x00000020      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-baseline
+      Properties: x86 ISA used: 
        x86 feature used: x86
index 490938a2cc5f4fa76097ea3b760d49af274eeeaf..51760f4694b1727f57f14ac651442603c12eaf2f 100644 (file)
@@ -9,5 +9,5 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x0000000c      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT
   GNU                  0x00000018      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-baseline
+      Properties: x86 ISA used: 
        x86 feature used: x86
index 500ab54e4d4f59a827d8925bc58ce0fbe2abb99a..57daed9c4ea224f42b761750b9fc178b0117bdf8 100644 (file)
@@ -8,5 +8,5 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000010      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT
   GNU                  0x00000020      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-baseline
+      Properties: x86 ISA used: 
        x86 feature used: x86
index f643a78a6eee5f2afd9a1f876e99e6f898b41250..f1733960ed493daece015700fc7111744d19079c 100644 (file)
@@ -8,5 +8,5 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000008      NT_GNU_PROPERTY_TYPE_0
       Properties: no copy on protected 
   GNU                  0x00000020      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-baseline
+      Properties: x86 ISA used: 
        x86 feature used: x86
index e9a185f16741cddcd45b53c474e2a6ffac6a8a33..ab7933562249583a7feb625d9ffd161eb1a18aab 100644 (file)
@@ -8,8 +8,8 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000038      NT_GNU_PROPERTY_TYPE_0
       Properties: stack size: 0x800000
        no copy on protected 
-       x86 ISA used: x86-64-v2, x86-64-v3, x86-64-v4, <unknown: 8>, <unknown: 10>, <unknown: 20>, <unknown: 40>, <unknown: 80>, <unknown: 100>, <unknown: 200>, <unknown: 400>, <unknown: 800>, <unknown: 1000>, <unknown: 2000>, <unknown: 4000>, <unknown: 8000>, <unknown: 10000>, <unknown: 20000>, <unknown: 40000>, <unknown: 80000>, <unknown: 100000>, <unknown: 200000>, <unknown: 400000>, <unknown: 800000>, <unknown: 1000000>, <unknown: 2000000>, <unknown: 4000000>, <unknown: 8000000>, <unknown: 10000000>, <unknown: 20000000>, <unknown: 40000000>
-       x86 ISA needed: x86-64-v2, x86-64-v3, x86-64-v4, <unknown: 8>, <unknown: 10>, <unknown: 20>, <unknown: 40>, <unknown: 80>, <unknown: 100>, <unknown: 200>, <unknown: 400>, <unknown: 800>, <unknown: 1000>, <unknown: 2000>, <unknown: 4000>, <unknown: 8000>
+       x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4, <unknown: 10>, <unknown: 20>, <unknown: 40>, <unknown: 80>, <unknown: 100>, <unknown: 200>, <unknown: 400>, <unknown: 800>, <unknown: 1000>, <unknown: 2000>, <unknown: 4000>, <unknown: 8000>, <unknown: 10000>, <unknown: 20000>, <unknown: 40000>, <unknown: 80000>, <unknown: 100000>, <unknown: 200000>, <unknown: 400000>, <unknown: 800000>, <unknown: 1000000>, <unknown: 2000000>, <unknown: 4000000>, <unknown: 8000000>, <unknown: 10000000>, <unknown: 20000000>, <unknown: 40000000>
+       x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4, <unknown: 10>, <unknown: 20>, <unknown: 40>, <unknown: 80>, <unknown: 100>, <unknown: 200>, <unknown: 400>, <unknown: 800>, <unknown: 1000>, <unknown: 2000>, <unknown: 4000>, <unknown: 8000>
   GNU                  0x00000020      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-baseline
+      Properties: x86 ISA used: 
        x86 feature used: x86
index 018809c6cfb888db284e8006d07c1ae0d98a9557..76fcff6d9b7fc2cefb2f0aa54fda97a72578fccc 100644 (file)
@@ -9,4 +9,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000030      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 ISA needed: <unknown: 20>, <unknown: 80>
        x86 feature used: x86
-       x86 ISA used: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+       x86 ISA used: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
index dab7d1859cbfad3c7d054ee1b9cda0dc27f78aa6..6807adf67bad88c3c1ef97601013a375253f33f0 100644 (file)
@@ -9,4 +9,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 ISA needed: <unknown: 20>, <unknown: 80>
        x86 feature used: x86
-       x86 ISA used: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+       x86 ISA used: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
index 05f32635ced3cd3cd5d02500753835486b53c399..10457a69a7d00cea19b68ec7f03efb92494add9e 100644 (file)
@@ -7,4 +7,4 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000010      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-v3, <unknown: 8>
+      Properties: x86 ISA used: x86-64-v2, x86-64-v4
index 6b0d4f348e1c527c19ec22bff143a09dd395e7ab..97e2bf70aa31acd6fea023269c1732eb15732b58 100644 (file)
@@ -7,4 +7,4 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x0000000c      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-v3, <unknown: 8>
+      Properties: x86 ISA used: x86-64-v2, x86-64-v4
index 385cbdbc4e1cc564df83c37ae6fdc8b8816f8099..252ee5d771ed7e1e6952864a23de02bdf788f8de 100644 (file)
@@ -9,4 +9,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000030      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 ISA needed: <unknown: 20>, <unknown: 80>
        x86 feature used: x86
-       x86 ISA used: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+       x86 ISA used: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
index 45e9a39aff8f40a356fe86abbb7288b13becdfc1..25ba072846c800dfd0b1c1204bb2c9c32cc7babd 100644 (file)
@@ -9,4 +9,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 ISA needed: <unknown: 20>, <unknown: 80>
        x86 feature used: x86
-       x86 ISA used: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+       x86 ISA used: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
index 968262a9d7a112e0ccf321aa438136777f9f4055..c0a28cd1b939581393fe16197f0b0d2466f03c35 100644 (file)
@@ -10,4 +10,4 @@ Displaying notes found in: .note.gnu.property
       Properties: stack size: 0xffffffff
        x86 ISA needed: <unknown: 20>, <unknown: 80>
        x86 feature used: x86
-       x86 ISA used: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+       x86 ISA used: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
index bbd9e21d58894c25711349fc94c60dfba5a7dd74..11d3f9e00e1dab6a26678fba7504a9c80c1c72c1 100644 (file)
@@ -10,4 +10,4 @@ Displaying notes found in: .note.gnu.property
       Properties: stack size: 0xffffffff
        x86 ISA needed: <unknown: 20>, <unknown: 80>
        x86 feature used: x86
-       x86 ISA used: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+       x86 ISA used: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
index b798d887410f519c5d3ab17173c23904fc8ad326..5b76f93e316fe1bd4957f18db5f33817e48ad94d 100644 (file)
@@ -9,5 +9,5 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x0000000c      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: SHSTK
   GNU                  0x00000018      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-baseline
+      Properties: x86 ISA used: 
        x86 feature used: x86
index 7523e453ecb6500477836df73a1ecddc8708bfbc..52dae0902adc668de77743232508a6a2c7128c1d 100644 (file)
@@ -8,5 +8,5 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000010      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: SHSTK
   GNU                  0x00000020      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-baseline
+      Properties: x86 ISA used: 
        x86 feature used: x86
index a52eb2bd0368d5b9bb08115e55e7b60fe268c34a..b965dbb90ea201f57ff9fc6d03a259d0abb72679 100644 (file)
@@ -1,3 +1,25 @@
+2020-10-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/26703
+       * config/tc-i386.c (output_insn): Update for
+       GNU_PROPERTY_X86_ISA_1_BASELINE.
+       * testsuite/gas/i386/property-1.d: Updated.
+       * testsuite/gas/i386/property-2.d: Likewise.
+       * testsuite/gas/i386/property-3.d: Likewise.
+       * testsuite/gas/i386/property-4.d: Likewise.
+       * testsuite/gas/i386/property-5.d: Likewise.
+       * testsuite/gas/i386/property-6.d: Likewise.
+       * testsuite/gas/i386/property-11.d: Likewise.
+       * testsuite/gas/i386/property-12.d: Likewise.
+       * testsuite/gas/i386/x86-64-property-1.d: Likewise.
+       * testsuite/gas/i386/x86-64-property-2.d: Likewise.
+       * testsuite/gas/i386/x86-64-property-3.d: Likewise.
+       * testsuite/gas/i386/x86-64-property-4.d: Likewise.
+       * testsuite/gas/i386/x86-64-property-5.d: Likewise.
+       * testsuite/gas/i386/x86-64-property-6.d: Likewise.
+       * testsuite/gas/i386/x86-64-property-11.d: Likewise.
+       * testsuite/gas/i386/x86-64-property-12.d: Likewise.
+
 2020-10-26  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR gas/26778
index daeef4c7a4c6e6b91ca3db3d3d7b502f2272f3cb..ea8bd1f5ac914a7bc8998403681a57bb2db15f4c 100644 (file)
@@ -9199,48 +9199,6 @@ output_insn (void)
          || i.tm.cpu_flags.bitfield.cpuamx_tile)
        x86_feature_2_used |= GNU_PROPERTY_X86_FEATURE_2_TMM;
 
-      if (i.tm.cpu_flags.bitfield.cpusse3
-         || i.tm.cpu_flags.bitfield.cpussse3
-         || i.tm.cpu_flags.bitfield.cpusse4_1
-         || i.tm.cpu_flags.bitfield.cpusse4_2
-         || i.tm.cpu_flags.bitfield.cpucx16
-         || i.tm.cpu_flags.bitfield.cpupopcnt
-         /* LAHF-SAHF insns in 64-bit mode.  */
-         || (flag_code == CODE_64BIT
-             && (i.tm.base_opcode | 1) == 0x9f))
-       x86_isa_1_used |= GNU_PROPERTY_X86_ISA_1_V2;
-      if (i.tm.cpu_flags.bitfield.cpuavx
-         || i.tm.cpu_flags.bitfield.cpuavx2
-         /* Any VEX encoded insns execpt for CpuAVX512F, CpuAVX512BW,
-            CpuAVX512DQ, LPW, TBM and AMX.  */
-         || (i.tm.opcode_modifier.vex
-             && !i.tm.cpu_flags.bitfield.cpuavx512f
-             && !i.tm.cpu_flags.bitfield.cpuavx512bw
-             && !i.tm.cpu_flags.bitfield.cpuavx512dq
-             && !i.tm.cpu_flags.bitfield.cpulwp
-             && !i.tm.cpu_flags.bitfield.cputbm
-             && !(x86_feature_2_used & GNU_PROPERTY_X86_FEATURE_2_TMM))
-         || i.tm.cpu_flags.bitfield.cpuf16c
-         || i.tm.cpu_flags.bitfield.cpufma
-         || i.tm.cpu_flags.bitfield.cpulzcnt
-         || i.tm.cpu_flags.bitfield.cpumovbe
-         || i.tm.cpu_flags.bitfield.cpuxsave
-         || i.tm.cpu_flags.bitfield.cpuxsavec
-         || i.tm.cpu_flags.bitfield.cpuxsaveopt
-         || i.tm.cpu_flags.bitfield.cpuxsaves)
-       x86_isa_1_used |= GNU_PROPERTY_X86_ISA_1_V3;
-      if (i.tm.cpu_flags.bitfield.cpuavx512f
-         || i.tm.cpu_flags.bitfield.cpuavx512bw
-         || i.tm.cpu_flags.bitfield.cpuavx512dq
-         || i.tm.cpu_flags.bitfield.cpuavx512vl
-         /* Any EVEX encoded insns except for AVX512ER, AVX512PF and
-            VNNIW.  */
-         || (i.tm.opcode_modifier.evex
-             && !i.tm.cpu_flags.bitfield.cpuavx512er
-             && !i.tm.cpu_flags.bitfield.cpuavx512pf
-             && !i.tm.cpu_flags.bitfield.cpuavx512_4vnniw))
-       x86_isa_1_used |= GNU_PROPERTY_X86_ISA_1_V4;
-
       if (i.tm.cpu_flags.bitfield.cpu8087
          || i.tm.cpu_flags.bitfield.cpu287
          || i.tm.cpu_flags.bitfield.cpu387
@@ -9278,6 +9236,56 @@ output_insn (void)
        x86_feature_2_used |= GNU_PROPERTY_X86_FEATURE_2_XSAVEOPT;
       if (i.tm.cpu_flags.bitfield.cpuxsavec)
        x86_feature_2_used |= GNU_PROPERTY_X86_FEATURE_2_XSAVEC;
+
+      if (x86_feature_2_used
+         || i.tm.cpu_flags.bitfield.cpucmov
+         || i.tm.cpu_flags.bitfield.cpusyscall
+         || (i.tm.base_opcode == 0xfc7
+             && i.tm.opcode_modifier.opcodeprefix == 0
+             && i.tm.extension_opcode == 1) /* cmpxchg8b */)
+       x86_isa_1_used |= GNU_PROPERTY_X86_ISA_1_BASELINE;
+      if (i.tm.cpu_flags.bitfield.cpusse3
+         || i.tm.cpu_flags.bitfield.cpussse3
+         || i.tm.cpu_flags.bitfield.cpusse4_1
+         || i.tm.cpu_flags.bitfield.cpusse4_2
+         || i.tm.cpu_flags.bitfield.cpucx16
+         || i.tm.cpu_flags.bitfield.cpupopcnt
+         /* LAHF-SAHF insns in 64-bit mode.  */
+         || (flag_code == CODE_64BIT
+             && (i.tm.base_opcode | 1) == 0x9f))
+       x86_isa_1_used |= GNU_PROPERTY_X86_ISA_1_V2;
+      if (i.tm.cpu_flags.bitfield.cpuavx
+         || i.tm.cpu_flags.bitfield.cpuavx2
+         /* Any VEX encoded insns execpt for CpuAVX512F, CpuAVX512BW,
+            CpuAVX512DQ, LPW, TBM and AMX.  */
+         || (i.tm.opcode_modifier.vex
+             && !i.tm.cpu_flags.bitfield.cpuavx512f
+             && !i.tm.cpu_flags.bitfield.cpuavx512bw
+             && !i.tm.cpu_flags.bitfield.cpuavx512dq
+             && !i.tm.cpu_flags.bitfield.cpulwp
+             && !i.tm.cpu_flags.bitfield.cputbm
+             && !(x86_feature_2_used & GNU_PROPERTY_X86_FEATURE_2_TMM))
+         || i.tm.cpu_flags.bitfield.cpuf16c
+         || i.tm.cpu_flags.bitfield.cpufma
+         || i.tm.cpu_flags.bitfield.cpulzcnt
+         || i.tm.cpu_flags.bitfield.cpumovbe
+         || i.tm.cpu_flags.bitfield.cpuxsaves
+         || (x86_feature_2_used
+             & (GNU_PROPERTY_X86_FEATURE_2_XSAVE
+                | GNU_PROPERTY_X86_FEATURE_2_XSAVEOPT
+                | GNU_PROPERTY_X86_FEATURE_2_XSAVEC)) != 0)
+       x86_isa_1_used |= GNU_PROPERTY_X86_ISA_1_V3;
+      if (i.tm.cpu_flags.bitfield.cpuavx512f
+         || i.tm.cpu_flags.bitfield.cpuavx512bw
+         || i.tm.cpu_flags.bitfield.cpuavx512dq
+         || i.tm.cpu_flags.bitfield.cpuavx512vl
+         /* Any EVEX encoded insns except for AVX512ER, AVX512PF and
+            VNNIW.  */
+         || (i.tm.opcode_modifier.evex
+             && !i.tm.cpu_flags.bitfield.cpuavx512er
+             && !i.tm.cpu_flags.bitfield.cpuavx512pf
+             && !i.tm.cpu_flags.bitfield.cpuavx512_4vnniw))
+       x86_isa_1_used |= GNU_PROPERTY_X86_ISA_1_V4;
     }
 #endif
 
index d40bd5259e0a6e7eb34a790b46d6685ea291f91a..7c0107d316739ff407a50e01ab5f88201f0bdfcf 100644 (file)
@@ -5,4 +5,4 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-baseline
+      Properties: x86 ISA used: 
index b3a4591b5ddc99942d590792782d5fa61419aed4..db48868a2959561224606da588a13061a0dbc986 100644 (file)
@@ -5,5 +5,5 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-v3
+      Properties: x86 ISA used: x86-64-baseline, x86-64-v3
        x86 feature used: x86, XMM
index fb9fa5c19aa199cec206d7234cbfaadab68c33c6..1a5c2978075420f9d2937c6a985a2613e829978d 100644 (file)
@@ -5,5 +5,5 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-v4
+      Properties: x86 ISA used: x86-64-baseline, x86-64-v4
        x86 feature used: x86, XMM, MASK
index b6aba35806cc94526868d15cf63abf5a382e9553..d58e7e07f5d41360d6886f467e24e870f61af491 100644 (file)
@@ -5,5 +5,5 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-v2
+      Properties: x86 ISA used: x86-64-baseline, x86-64-v2
        x86 feature used: x86, XMM
index c23625cd67faa7dceed2063459af771565db56ba..46450c87af402db80e789c936bad91740fd29b4b 100644 (file)
@@ -5,5 +5,5 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-v3
+      Properties: x86 ISA used: x86-64-baseline, x86-64-v3
        x86 feature used: x86, XMM
index ba7679d84ba1636de220ff913a39a86f77ff9d50..c04a6b84f5dabc8d479be4a88ee6f7a8e6ed243d 100644 (file)
@@ -5,5 +5,5 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-v4
+      Properties: x86 ISA used: x86-64-baseline, x86-64-v4
        x86 feature used: x86, XMM
index d1a4ed6caaa24a20fe2dba1d386c78e5e1064791..a7dab96232f94e950be37e201717232bbecd1660 100644 (file)
@@ -5,5 +5,5 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-v4
+      Properties: x86 ISA used: x86-64-baseline, x86-64-v4
        x86 feature used: x86, MASK
index 931c7d264779ae08659e374567fa1817cab05b3c..52db167599da9058e73ddde72630f5d329ae54af 100644 (file)
@@ -6,4 +6,4 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-baseline
+      Properties: x86 ISA used: 
index d2402293acc82899b018a940dc29d2bf5f1f9da8..d93e01bb245709c55066294a05e991377af49f9b 100644 (file)
@@ -6,5 +6,5 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-v3
+      Properties: x86 ISA used: x86-64-baseline, x86-64-v3
        x86 feature used: x86, XMM
index ff12b6598ed02a3dc1548ef219a85ca5fa98bda0..168320441a30d987c83d0acf7d0369e75db0868a 100644 (file)
@@ -6,5 +6,5 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-v4
+      Properties: x86 ISA used: x86-64-baseline, x86-64-v4
        x86 feature used: x86, XMM, MASK
index bc1e48303a3417fe0cca6fb4dcf0a9a8d6376601..d2485058521324000645ad3825fdf619d6dc216d 100644 (file)
@@ -6,5 +6,5 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-v2
+      Properties: x86 ISA used: x86-64-baseline, x86-64-v2
        x86 feature used: x86, XMM
index fd4bee055bb300c53a80e60c84a7f61fd631a5d4..be1d4852ae53a8182350df63aad435b4fe232273 100644 (file)
@@ -6,5 +6,5 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-v3
+      Properties: x86 ISA used: x86-64-baseline, x86-64-v3
        x86 feature used: x86, XMM
index 73e24b918fcfeec88fddd7e2c8b58b3b0febdf1e..a1385c246c3241ba47a58a388750e76ce68f7736 100644 (file)
@@ -6,5 +6,5 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-v4
+      Properties: x86 ISA used: x86-64-baseline, x86-64-v4
        x86 feature used: x86, XMM
index 330e6f646ba6098978d83d6c7f1b9d8ac8462264..5cdb873bb507af1335aa82e391ceeff6c23a1f3b 100644 (file)
@@ -6,5 +6,5 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-v4
+      Properties: x86 ISA used: x86-64-baseline, x86-64-v4
        x86 feature used: x86, MASK
index 2267cda7bd51f74db2c41be07e48e33b25c888be..afa52a33525f6a5eeff07695beec1ffee8215401 100644 (file)
@@ -1,3 +1,11 @@
+2020-10-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/26703
+       * elf/common.h (GNU_PROPERTY_X86_ISA_1_BASELINE): New.
+       (GNU_PROPERTY_X86_ISA_1_V2): Uppdated.
+       (GNU_PROPERTY_X86_ISA_1_V3): Likewise.
+       (GNU_PROPERTY_X86_ISA_1_V4): Likewise.
+
 2020-10-26  Cooper Qu <cooper.qu@linux.alibaba.com>
 
        * opcode/csky.h (CSKY_VERSION_V1): New, currently used.
index b3c30e0e2f726a1702dd0773033cb6ae40ae3f05..fc672de9f21e9212e34007e09d528088a54c73c2 100644 (file)
 #define GNU_PROPERTY_X86_FEATURE_2_USED \
   (GNU_PROPERTY_X86_UINT32_OR_AND_LO + 1)
 
-/* Baseline: CMOV (cmov) CX8 (cmpxchg8b) FPU (fld), FXSR (fxsave),
-   SCE (syscall), MMX, SSE and SSE2.  */
-
-/* GNU_PROPERTY_X86_ISA_1_V2: Baseline, CMPXCHG16B (cmpxchg16b),
-   LAHF-SAHF (lahf), POPCNT (popcnt), SSE3, SSSE3, SSE4.1 and SSE4.2.  */
-#define GNU_PROPERTY_X86_ISA_1_V2              (1U << 0)
+/* GNU_PROPERTY_X86_ISA_1_BASELINE: CMOV, CX8 (cmpxchg8b), FPU (fld),
+   MMX, OSFXSR (fxsave), SCE (syscall), SSE and SSE2.  */
+#define GNU_PROPERTY_X86_ISA_1_BASELINE                (1U << 0)
+/* GNU_PROPERTY_X86_ISA_1_V2: GNU_PROPERTY_X86_ISA_1_BASELINE,
+   CMPXCHG16B (cmpxchg16b), LAHF-SAHF (lahf), POPCNT (popcnt), SSE3,
+   SSSE3, SSE4.1 and SSE4.2.  */
+#define GNU_PROPERTY_X86_ISA_1_V2              (1U << 1)
 /* GNU_PROPERTY_X86_ISA_1_V3: GNU_PROPERTY_X86_ISA_1_V2, AVX, AVX2, BMI1,
    BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE.  */
-#define GNU_PROPERTY_X86_ISA_1_V3              (1U << 1)
+#define GNU_PROPERTY_X86_ISA_1_V3              (1U << 2)
 /* GNU_PROPERTY_X86_ISA_1_V4: GNU_PROPERTY_X86_ISA_1_V3, AVX512F,
    AVX512BW, AVX512CD, AVX512DQ and AVX512VL.  */
-#define GNU_PROPERTY_X86_ISA_1_V4              (1U << 2)
+#define GNU_PROPERTY_X86_ISA_1_V4              (1U << 3)
 
 #define GNU_PROPERTY_X86_FEATURE_1_IBT         (1U << 0)
 #define GNU_PROPERTY_X86_FEATURE_1_SHSTK       (1U << 1)
index 898c43473ca2adc8fd0629459d45e2a8ec2267ab..3f39eb462e7e3783b61e24f0ff0017e4e4b6a740 100644 (file)
@@ -1,3 +1,132 @@
+2020-10-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/26703
+       * NEWS: Mention -z x86-64-baseline.
+       * ld.texi: Document -z x86-64-baseline.
+       * emulparams/x86-64-level.sh: Handle -z x86-64-baseline.
+       * testsuite/ld-elf/x86-feature-1a.rd: Update.
+       * testsuite/ld-elf/x86-feature-1b.rd: Likewise.
+       * testsuite/ld-elf/x86-feature-1c.rd: Likewise.
+       * testsuite/ld-elf/x86-feature-1d.rd: Likewise.
+       * testsuite/ld-elf/x86-feature-1e.rd: Likewise.
+       * testsuite/ld-i386/pr23372c.d: Likewise.
+       * testsuite/ld-i386/pr23486c.d: Likewise.
+       * testsuite/ld-i386/pr23486d.d: Likewise.
+       * testsuite/ld-i386/pr24322a.d: Likewise.
+       * testsuite/ld-i386/pr24322b.d: Likewise.
+       * testsuite/ld-i386/property-1a.r: Likewise.
+       * testsuite/ld-i386/property-2a.r: Likewise.
+       * testsuite/ld-i386/property-3.r: Likewise.
+       * testsuite/ld-i386/property-3a.r: Likewise.
+       * testsuite/ld-i386/property-4.r: Likewise.
+       * testsuite/ld-i386/property-4a.r: Likewise.
+       * testsuite/ld-i386/property-5.r: Likewise.
+       * testsuite/ld-i386/property-5a.r: Likewise.
+       * testsuite/ld-i386/property-7a.r: Likewise.
+       * testsuite/ld-i386/property-x86-3.d: Likewise.
+       * testsuite/ld-i386/property-x86-4a.d: Likewise.
+       * testsuite/ld-i386/property-x86-5.d: Likewise.
+       * testsuite/ld-i386/property-x86-cet1.d: Likewise.
+       * testsuite/ld-i386/property-x86-cet2a.d: Likewise.
+       * testsuite/ld-i386/property-x86-cet5a.d: Likewise.
+       * testsuite/ld-i386/property-x86-cet5b.d: Likewise.
+       * testsuite/ld-i386/property-x86-ibt1a.d: Likewise.
+       * testsuite/ld-i386/property-x86-ibt1b.d: Likewise.
+       * testsuite/ld-i386/property-x86-ibt2.d: Likewise.
+       * testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
+       * testsuite/ld-i386/property-x86-ibt3b.d: Likewise.
+       * testsuite/ld-i386/property-x86-ibt4.d: Likewise.
+       * testsuite/ld-i386/property-x86-ibt5.d: Likewise.
+       * testsuite/ld-i386/property-x86-isa1.d: Likewise.
+       * testsuite/ld-i386/property-x86-isa2.d: Likewise.
+       * testsuite/ld-i386/property-x86-isa3.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk1a.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk1b.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk2.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk4.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk5.d: Likewise.
+       * testsuite/ld-x86-64/pr23372c-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr23372c.d: Likewise.
+       * testsuite/ld-x86-64/pr23486c-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr23486c.d: Likewise.
+       * testsuite/ld-x86-64/pr23486d-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr23486d.d: Likewise.
+       * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr24322a.d: Likewise.
+       * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr24322b.d: Likewise.
+       * testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr24458a.d: Likewise.
+       * testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr24458b.d: Likewise.
+       * testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr24458c.d: Likewise.
+       * testsuite/ld-x86-64/property-1a.r: Likewise.
+       * testsuite/ld-x86-64/property-2a.r: Likewise.
+       * testsuite/ld-x86-64/property-3.r: Likewise.
+       * testsuite/ld-x86-64/property-3a.r: Likewise.
+       * testsuite/ld-x86-64/property-4.r: Likewise.
+       * testsuite/ld-x86-64/property-4a.r: Likewise.
+       * testsuite/ld-x86-64/property-5.r: Likewise.
+       * testsuite/ld-x86-64/property-5a.r: Likewise.
+       * testsuite/ld-x86-64/property-7a.r: Likewise.
+       * testsuite/ld-x86-64/property-x86-3-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-3.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-5-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-5.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt1b-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt1b.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt2-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt2.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt4-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt4.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt5-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-isa1-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-isa1.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-isa2-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-isa2.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-isa3-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-isa3.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt5.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk1a-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk1a.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk1b-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk1b.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk2-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk2.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk4-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk4.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk5-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk5.d: Likewise.
+       * testsuite/ld-i386/i386.exp: Run property-x86-isa4.
+       * testsuite/ld-i386/property-x86-isa4.d: New file.
+       * testsuite/ld-x86-64/property-x86-isa4-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-isa4.d: Likewise.
+       * ld/testsuite/ld-x86-64/x86-64.exp: Run property-x86-isa4
+       and property-x86-isa4-x32.
+
 2020-10-26  H.J. Lu  <hongjiu.lu@intel.com>
 
        * testsuite/ld-elfweak/elfweak.exp: Pass $NOLTO_CFLAGS to CC.
diff --git a/ld/NEWS b/ld/NEWS
index 81c44191d2bac9f44dd447cd346acff5f7b9a15a..02fc93bfc5dfa41616f9550fafc7f43d24841bf5 100644 (file)
--- a/ld/NEWS
+++ b/ld/NEWS
@@ -5,8 +5,8 @@
   encountered.  This option can be suppressed via the configure time
   switch: --enable-error-handling-script=no.
 
-* Add -z x86-64-v[234] to the x86 ELF linker to mark x86-64-v[234] ISA
-  level as needed.
+* Add -z x86-64-{baseline|v[234]} to the x86 ELF linker to mark
+  x86-64-{baseline|v[234]} ISA level as needed.
 
 * Add -z unique-symbol to avoid duplicated local symbol names.
 
index efa75cad9ffd10cf582f3aa9e54172f05dfc0b84..c74b236900a58e904f52d69d6eb60f2afa0f6cea 100644 (file)
@@ -1,15 +1,16 @@
 PARSE_AND_LIST_OPTIONS_X86_64_LEVEL='
   fprintf (file, _("\
-  -z x86-64-v[234]            Mark x86-64-v[234] ISA level as needed\n"));
+  -z x86-64-{baseline|v[234]} Mark x86-64-{baseline|v[234]} ISA level as needed\n"));
 '
 PARSE_AND_LIST_ARGS_CASE_Z_X86_64_LEVEL='
+      else if (strcmp (optarg, "x86-64-baseline") == 0)
+       params.isa_level = 1;
       else if (strncmp (optarg, "x86-64-v", 8) == 0)
        {
          char *end;
          unsigned int level = strtoul (optarg + 8 , &end, 10);
          if (*end != '\0' || level < 2 || level > 4)
-           einfo (_("%F%P: invalid x86-64 ISA level: %s\n"),
-                  optarg);
+           einfo (_("%F%P: invalid x86-64 ISA level: %s\n"), optarg);
            params.isa_level = level;
        }
 '
index 48e78aecdb7bd8f2b9e05ebaac86adff6346975c..cf8f05c39e02c2e001414e8104dbe3a5782ea653 100644 (file)
@@ -1419,10 +1419,12 @@ Do not report unresolved symbol references from regular object files,
 either when creating an executable, or when creating a shared library.
 This option is the inverse of @samp{-z defs}.
 
+@item x86-64-baseline
 @item x86-64-v2
 @item x86-64-v3
 @itemx x86-64-v4
 Specify the x86-64 ISA level needed in .note.gnu.property section.
+@option{x86-64-baseline} generates @code{GNU_PROPERTY_X86_ISA_1_BASELINE}.
 @option{x86-64-v2} generates @code{GNU_PROPERTY_X86_ISA_1_V2}.
 @option{x86-64-v3} generates @code{GNU_PROPERTY_X86_ISA_1_V3}.
 @option{x86-64-v4} generates @code{GNU_PROPERTY_X86_ISA_1_V4}.
index fda3063b78ce5b7f1e79dad844b00d278bcb07cc..7d0d32deeddab4c647af56951cbf45cfaeb6a5f3 100644 (file)
@@ -3,4 +3,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index b0d6f64562f0b2a47a4bd947c2f5dac089d55965..d565fb7f99f9f92593fb4c01ac23c46517bfa51d 100644 (file)
@@ -3,4 +3,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index b0d6f64562f0b2a47a4bd947c2f5dac089d55965..d565fb7f99f9f92593fb4c01ac23c46517bfa51d 100644 (file)
@@ -3,4 +3,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index d5c3debd01987fc343252d7bfbe370576e00cc06..3e09b5186647561b37fadbb75e0b7828c1b30642 100644 (file)
@@ -3,4 +3,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: <None>
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index eb82ef2d6cf0f03fc4d3a81924e8c45f19dcf55f..e21b6e84a1cb97141e8a032caa264f4e0d46b470 100644 (file)
@@ -3,4 +3,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT, SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 0b1538ed81d66483d74228abb8e1e33ee4bd4ac4..9c06f7006b79c3fbbf21e94fe7c27d1a87c9ef5c 100644 (file)
@@ -479,6 +479,7 @@ run_dump_test "pr26711-3"
 run_dump_test "property-x86-isa1"
 run_dump_test "property-x86-isa2"
 run_dump_test "property-x86-isa3"
+run_dump_test "property-x86-isa4"
 
 if { !([istarget "i?86-*-linux*"]
        || [istarget "i?86-*-gnu*"]
index fffd680f069847b1abb26440d1e369c03ece37e8..1f5b2d8e8b3773e90f399a7f50931bbd86a7e4fd 100644 (file)
@@ -7,4 +7,4 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-baseline
+      Properties: x86 ISA used: 
index 92765f5ddcf546106331dd1e7b8307e09ed40061..f3f526f09bba231c84bd29d4fde43b8121108026 100644 (file)
@@ -7,4 +7,4 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x0000000c      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v3
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v2
index c673e8e0d7446d9cf7d4662c61b4ca3a52d6cea8..1077e697e60d070daf35471c99d17be8fae95cbc 100644 (file)
@@ -7,4 +7,4 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x0000000c      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v3
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v2
index a273e687f92505ef830725cb8f0747b2361d7062..4f8000b8e1663c682f40b0b7924f1e017a83e0e9 100644 (file)
@@ -9,4 +9,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 244d8c3df453a2a6f6edf3aa5ee1edbee82f3f77..ba3e79e7546862fea245c3d7a78f8dbe2ee3bfda 100644 (file)
@@ -9,4 +9,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index cbdd6477a451643824c0e47698352cc9719da486..7c41da862e20aaae82e1990bb54764ff74a08961 100644 (file)
@@ -4,6 +4,6 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
       Properties: no copy on protected 
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
 
 #pass
index 51bfde816333c0342023d7d581d61e5f92b0bec4..ab94fdf14a33033790bda729a29d9389df588d47 100644 (file)
@@ -4,6 +4,6 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
       Properties: stack size: 0x800000
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
 
 #pass
index 3578823f93ef2ff462b176f26a446df7d4197c0a..1bdb47c7b6b80930289e8ebeeb5d500b08b6719f 100644 (file)
@@ -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-v2, x86-64-v3
+       x86 ISA needed: x86-64-baseline, x86-64-v2
 #pass
index 89cc8fa76bc29f7c45108c6a72074ca5786f1216..dac2cab1313be4deced35af72462539b85dd0ea9 100644 (file)
@@ -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-v2, x86-64-v3
+       x86 ISA needed: x86-64-baseline, x86-64-v2
        x86 feature used: x86
-       x86 ISA used: x86-64-v3, <unknown: 8>
+       x86 ISA used: x86-64-v2, x86-64-v4
 #pass
index a024b2a60adc7ee08a8196947866ecb856cc4a80..8cc618cbfadcfeccd2fc5c7f6400851075027ed9 100644 (file)
@@ -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-v2, x86-64-v3, <unknown: 8>
+       x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v4
 #pass
index ff61875ce3e1b0e32da8c5e05ac4865fbdd86a0b..64e58a7563cfecca050a489fbb9436e069c721a7 100644 (file)
@@ -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-v2, x86-64-v3, <unknown: 8>
+       x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v4
        x86 feature used: x86
-       x86 ISA used: x86-64-v2, x86-64-v3, <unknown: 8>
+       x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v4
 #pass
index eb24e3ad270d11cf82864ca16fdfd60bc23829a0..e3ba4f659b9c5339da3948e13e1af57aaa541508 100644 (file)
@@ -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-v2, x86-64-v3, <unknown: 8>
+       x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v4
 #pass
index c99af9e9413afcd510ad763971ca6bdc0291109c..75c88ff7ba3ff8c12b5045274269d56e143b6651 100644 (file)
@@ -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: 0x900000
-       x86 ISA needed: x86-64-v2, x86-64-v3, <unknown: 8>
+       x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v4
        x86 feature used: x86
-       x86 ISA used: x86-64-v2, x86-64-v3, <unknown: 8>
+       x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v4
 #pass
index c97fc72524e05d2b5bcc167c454230094a35ad92..661239ba4d9be52b5d0b94be5b9f99b2bc4d20e3 100644 (file)
@@ -5,4 +5,4 @@ Displaying notes found in: .note.gnu.property
       Properties: stack size: 0x800000
        no copy on protected 
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 059388dfca0d3e4c5c0aabaf778149b12becad99..261687636bd99f0ca0ff76b5aa343d15404c4d75 100644 (file)
@@ -5,6 +5,6 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+      Properties: x86 ISA needed: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
        x86 feature used: x86
-       x86 ISA used: x86-64-v2, x86-64-v3, <unknown: 10>, <unknown: 20>
+       x86 ISA used: x86-64-baseline, x86-64-v2, <unknown: 10>, <unknown: 20>
index 3006627abe9df92aa773f89a4d68793a2764055a..a1c6ca6d7f8afa7ff2a56ff449e100fa8a8f72e3 100644 (file)
@@ -9,4 +9,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000020      NT_GNU_PROPERTY_TYPE_0
       Properties: no copy on protected 
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 71faa63eb2ccf9e65236b13cd7ca41a5c87150cc..73c648037e12768e835b499ab5736887519cd0b7 100644 (file)
@@ -7,5 +7,5 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2
-       x86 ISA used: x86-64-baseline
+      Properties: x86 ISA needed: x86-64-baseline
+       x86 ISA used: 
index fbce0bbaecc6e59cac38e4cd47acad682ae61a6a..396897e4750150ad36b00aada76bac5c13fd73fe 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT, SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 655762deed19e4e5ed0914239db5a9937e754fb7..62f64cca68c6545452d7a633cd875490b2a43501 100644 (file)
@@ -10,6 +10,6 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+      Properties: x86 ISA needed: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
        x86 feature used: x86
-       x86 ISA used: x86-64-v2, x86-64-v3, <unknown: 10>, <unknown: 20>
+       x86 ISA used: x86-64-baseline, x86-64-v2, <unknown: 10>, <unknown: 20>
index bd7e2edfaa6008ca039a98f64b380018f9406eb1..98f148f6ed199e5bceb06acc3e206c2e92e601ab 100644 (file)
@@ -7,4 +7,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000018      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 0b47267e16b0044e71f2fc5b8d010a91c01f24f9..2f172fa2e0123815796406d2d760bb3a3a0e28c5 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT, SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 1fee1ae2d3052991574fb9e6b7a3e7fcd745990c..2bdd24a81b489dee91f220937831e60660baa0b8 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000018      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index adb00d72ea71af54dfd5ac94833c18705fd6d1e0..0e22d8f9d79d35cb35c837e5b080cc6bf11651eb 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000018      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 68aa0feebcf5ea2c9c171d1fdccfcbbc2484ab79..405ffad24376b06805ba8a4eeef0e6022cb9b4f1 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 290bcac1c84e91709fa5cc5b4494bd567df8a40d..eca57dbe2dab41c2340bce8cf766eff7796fce92 100644 (file)
@@ -7,6 +7,6 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+      Properties: x86 ISA needed: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
        x86 feature used: x86
-       x86 ISA used: x86-64-v2, x86-64-v3, <unknown: 10>, <unknown: 20>
+       x86 ISA used: x86-64-baseline, x86-64-v2, <unknown: 10>, <unknown: 20>
index 0ac9e7ff000180f90af900034c75c7ad06af9aba..e6c2219373d856bc1672ff4078f39955cd2d2f23 100644 (file)
@@ -7,6 +7,6 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+      Properties: x86 ISA needed: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
        x86 feature used: x86
-       x86 ISA used: x86-64-v2, x86-64-v3, <unknown: 10>, <unknown: 20>
+       x86 ISA used: x86-64-baseline, x86-64-v2, <unknown: 10>, <unknown: 20>
index 0e613e23bf18a4c46d246b1b9e757c9ba477add6..beb4705b4a105467d68aa995ccd11f3a07c3a707 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 23da096b852bea4b7f23d6d6548d8b7a2fd29afd..3d18064751c9f933b5ec0720cc01ab73e96507e7 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 22ac02b5c4309b7599460046a7b4eb89fdf7d317..aa5dae55a764bdd33add0afc64fe7bfbd3b6b7ab 100644 (file)
@@ -7,5 +7,5 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v4
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v4
        <procesor-specific type 0xc0009000 data: 30 00 00 00 >
diff --git a/ld/testsuite/ld-i386/property-x86-isa4.d b/ld/testsuite/ld-i386/property-x86-isa4.d
new file mode 100644 (file)
index 0000000..8275378
--- /dev/null
@@ -0,0 +1,9 @@
+#source: ../ld-x86-64/simple.s
+#as: --32 -mx86-used-note=no
+#ld: -r -m elf_i386 -z x86-64-baseline
+#readelf: -n
+
+Displaying notes found in: .note.gnu.property
+[      ]+Owner[        ]+Data size[    ]+Description
+  GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
+      Properties: x86 ISA needed: x86-64-baseline
index ab774dc6a5202b4f6377a98948c6f2d768464db3..7e392c9e82e19ed0130cc1d69ef41c21f82de3b7 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000018      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 97517c32fd41aafa80017b090ddb96b03f41e0e5..f6e890169600c035d982a7b20ef22032a9f484a2 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000018      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 97003022289272b3ca91dced85b7b1a489ef19cc..84a477b14a9aaa4eb1e6be858a9f2798e3f33a61 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 1b6da4f4302935a0805b4288714a5e1025d14d40..adabdd16120e8e12f74a0a9ee8872ca19487bb6b 100644 (file)
@@ -7,6 +7,6 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+      Properties: x86 ISA needed: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
        x86 feature used: x86
-       x86 ISA used: x86-64-v2, x86-64-v3, <unknown: 10>, <unknown: 20>
+       x86 ISA used: x86-64-baseline, x86-64-v2, <unknown: 10>, <unknown: 20>
index 98a156291062711ac27b612f80f3842f0c0d6ec6..147414ff5d33fd6bc12e5ed69e5b99075e2b9963 100644 (file)
@@ -7,6 +7,6 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+      Properties: x86 ISA needed: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
        x86 feature used: x86
-       x86 ISA used: x86-64-v2, x86-64-v3, <unknown: 10>, <unknown: 20>
+       x86 ISA used: x86-64-baseline, x86-64-v2, <unknown: 10>, <unknown: 20>
index fa4c88c148f1bac5c6882f43df2d88a65c1aaa71..31677d9806dbd928bbf2da68e03603076c78ea09 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 64a35398aab2bc521d14845137a071b8ed6f167c..13de31cd3046f66ba28e233047373d490a00a391 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 5698ec268b51b2647e7c2f00be59565b6234568a..1be49b0e253cf129e79cecd3bf7b619ef4ada3f0 100644 (file)
@@ -7,4 +7,4 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-baseline
+      Properties: x86 ISA used: 
index e1281b2e1cd828f1937b373004945e4caf93ddc0..ab19f4d0b0e59c02d0d3a09a605e23402568ed5f 100644 (file)
@@ -7,4 +7,4 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA used: x86-64-baseline
+      Properties: x86 ISA used: 
index 11215f3d03688d1603d25e9f38620d8a3a6c7f19..cfb1a2b6a3c44ddb54d33da6baede423704e51cf 100644 (file)
@@ -7,4 +7,4 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x0000000c      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v3
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v2
index 38c54cad8a33d203592a99bb985051f35940d77e..aa118b095944666fef907948598952f3d43d6b97 100644 (file)
@@ -7,4 +7,4 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000010      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v3
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v2
index 74eb4c0969a76cef2a4822ac7d468f732cb4527a..7e7fa1e0285588a697cb9ea14876eaf9d8128be8 100644 (file)
@@ -7,4 +7,4 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x0000000c      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v3
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v2
index 4f335238c3def1d881bf330be92cdf02601fbac3..872462f076bd3bedd807170f55e09acffc3ce4eb 100644 (file)
@@ -7,4 +7,4 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000010      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v3
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v2
index 8009f910974740bcd85c0dae6095f1bd95cb87b4..4bbe33ca355ae709cfdcd5e564f013390f7b7a1d 100644 (file)
@@ -9,4 +9,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 6ddb7a7163d3e62665e9897110d27f32dd9e1e22..4a790571cd7957f18152139f868035264bb7b6df 100644 (file)
@@ -9,4 +9,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000030      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 76ebd1cfa37e0e9ec16989cf06d4bdeaef172693..8356f3a4456998722e7bfd0249887e5bc1c500e8 100644 (file)
@@ -9,4 +9,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 6ee01464434fd2a238c3d14ba33f2474c9d50d82..deca33e966476c2e0ffdea2338a488b8db2b8d96 100644 (file)
@@ -9,4 +9,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000030      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 9909f1760d6675120b3e387ccafe673bf44f8019..6a673c8c70dfbc7e353942ec7197d826e749752d 100644 (file)
@@ -7,4 +7,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index d0fbc3390fb56b621ed75d9b842892817fd261d4..73fbcaebcf773e0f7f93d0620915b980d4a0c492 100644 (file)
@@ -7,4 +7,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 9f80ed20d99220301543bbe1525e30b48a3c61a6..d69083075a69bca0297c3bf356b2cd8673913e0b 100644 (file)
@@ -7,4 +7,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index ee1894894d1fe3711ef2add249c43ec23b71e462..ae78c974a196aae8225ef4b6d999f4c6040b83c5 100644 (file)
@@ -7,4 +7,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 7107c3f9892f921605f64ca9b34b06b67dc52747..b934c4bb673ecfbe8f36eb96a68593abe069dc5c 100644 (file)
@@ -7,4 +7,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 690088a532fb957469ff37386270e5bd94dc7285..7016655a93378425c2f508664007788c1e50637a 100644 (file)
@@ -7,4 +7,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index cbdd6477a451643824c0e47698352cc9719da486..7c41da862e20aaae82e1990bb54764ff74a08961 100644 (file)
@@ -4,6 +4,6 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
       Properties: no copy on protected 
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
 
 #pass
index 51bfde816333c0342023d7d581d61e5f92b0bec4..ab94fdf14a33033790bda729a29d9389df588d47 100644 (file)
@@ -4,6 +4,6 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
       Properties: stack size: 0x800000
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
 
 #pass
index 3578823f93ef2ff462b176f26a446df7d4197c0a..1bdb47c7b6b80930289e8ebeeb5d500b08b6719f 100644 (file)
@@ -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-v2, x86-64-v3
+       x86 ISA needed: x86-64-baseline, x86-64-v2
 #pass
index 89cc8fa76bc29f7c45108c6a72074ca5786f1216..dac2cab1313be4deced35af72462539b85dd0ea9 100644 (file)
@@ -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-v2, x86-64-v3
+       x86 ISA needed: x86-64-baseline, x86-64-v2
        x86 feature used: x86
-       x86 ISA used: x86-64-v3, <unknown: 8>
+       x86 ISA used: x86-64-v2, x86-64-v4
 #pass
index a024b2a60adc7ee08a8196947866ecb856cc4a80..8cc618cbfadcfeccd2fc5c7f6400851075027ed9 100644 (file)
@@ -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-v2, x86-64-v3, <unknown: 8>
+       x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v4
 #pass
index ff61875ce3e1b0e32da8c5e05ac4865fbdd86a0b..64e58a7563cfecca050a489fbb9436e069c721a7 100644 (file)
@@ -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-v2, x86-64-v3, <unknown: 8>
+       x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v4
        x86 feature used: x86
-       x86 ISA used: x86-64-v2, x86-64-v3, <unknown: 8>
+       x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v4
 #pass
index eb24e3ad270d11cf82864ca16fdfd60bc23829a0..e3ba4f659b9c5339da3948e13e1af57aaa541508 100644 (file)
@@ -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-v2, x86-64-v3, <unknown: 8>
+       x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v4
 #pass
index c99af9e9413afcd510ad763971ca6bdc0291109c..75c88ff7ba3ff8c12b5045274269d56e143b6651 100644 (file)
@@ -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: 0x900000
-       x86 ISA needed: x86-64-v2, x86-64-v3, <unknown: 8>
+       x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v4
        x86 feature used: x86
-       x86 ISA used: x86-64-v2, x86-64-v3, <unknown: 8>
+       x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v4
 #pass
index c97fc72524e05d2b5bcc167c454230094a35ad92..661239ba4d9be52b5d0b94be5b9f99b2bc4d20e3 100644 (file)
@@ -5,4 +5,4 @@ Displaying notes found in: .note.gnu.property
       Properties: stack size: 0x800000
        no copy on protected 
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 5125a7aba1574463a55cc6621c0d94c186d25dff..78e2af703dec2e0063afc37b2044b58206ef4380 100644 (file)
@@ -6,6 +6,6 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v3, <unknown: 10>, <unknown: 20>
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v2, <unknown: 10>, <unknown: 20>
        x86 feature used: x86
-       x86 ISA used: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+       x86 ISA used: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
index 974230875c0e30abd993badb3a0aa78755cb703c..de162bfcd09cfecd4c0f476460d89dc11486cdb3 100644 (file)
@@ -5,6 +5,6 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000030      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v3, <unknown: 10>, <unknown: 20>
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v2, <unknown: 10>, <unknown: 20>
        x86 feature used: x86
-       x86 ISA used: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+       x86 ISA used: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
index cf5046f6e0294b9b3f59628e32bd4646e7a24106..226bfca6342e03eb4be9155df0185155a84905c1 100644 (file)
@@ -9,4 +9,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000020      NT_GNU_PROPERTY_TYPE_0
       Properties: no copy on protected 
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 7c2bb782d89893e7086e35b0c10d5ab8256809c2..0bec21f855099a9edbd60dab8dca38f636593345 100644 (file)
@@ -9,4 +9,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000028      NT_GNU_PROPERTY_TYPE_0
       Properties: no copy on protected 
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 8f62e3be32592154191837e9a6d8c1348789654d..837ded6de0936b9ec1eb03b9190f33bf4fb16011 100644 (file)
@@ -7,5 +7,5 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2
-       x86 ISA used: x86-64-baseline
+      Properties: x86 ISA needed: x86-64-baseline
+       x86 ISA used: 
index 3ba1f481ca38235397287d84f2ba8cf0e7c3e032..a2fb64bfce92e1156ead50d82da00e75e28f16d5 100644 (file)
@@ -7,5 +7,5 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2
-       x86 ISA used: x86-64-baseline
+      Properties: x86 ISA needed: x86-64-baseline
+       x86 ISA used: 
index 25cf016ac2e57d9268c590a4a77a02edc4c40741..831936c9cc188004cb355fabdef7a7020b829b8e 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT, SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 3e797299e87c72ae4cff98f6f653132554d920c9..43009dc3396508670949e9035f319cdea0d99e0c 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000030      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT, SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 2f1facb52ffc534d97b81fbfe3d6522b5b70c78c..121b4ba07547b07d7c31097de09a54bef4e73d2e 100644 (file)
@@ -10,6 +10,6 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v3, <unknown: 10>, <unknown: 20>
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v2, <unknown: 10>, <unknown: 20>
        x86 feature used: x86
-       x86 ISA used: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+       x86 ISA used: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
index 9e3560c259e2d82591fab9f83cf5438244d04371..fb9cddd6ffcf90c5e395e15d8c1faea17836b8ec 100644 (file)
@@ -10,6 +10,6 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000030      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v3, <unknown: 10>, <unknown: 20>
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v2, <unknown: 10>, <unknown: 20>
        x86 feature used: x86
-       x86 ISA used: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+       x86 ISA used: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
index 928cc137a086cd04e370d3545037e2268a51321d..109b73422b2ac887685362a3c015494427c144d3 100644 (file)
@@ -7,4 +7,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000018      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index e36db3734a7dd409611d506e2c1558b1d43d00fd..a85f064356e9a48151d4f0160fb738b72eca0ca3 100644 (file)
@@ -7,4 +7,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000020      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 890d07021c2f0bfe2e4add363334dea8b599445a..c2e488e88b7461f8b691166e0040544d71dd29f5 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT, SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 4f81698d94ae289737c9b33922885853432591f0..32bc0e8b4056195e6dbb9ee0c78191e9621bc894 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000030      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT, SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index ba0de1b42c55648e386b64dc0ff7ab015df29f22..fc6d3eaf17a35ade7ba2b0c9f89d2f5bfd69248c 100644 (file)
@@ -9,4 +9,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000018      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index c5caf30947934b35f2a01c5a7b0f1394ff475b96..15c987ee898d58827fc571afdae2cae40d99c5cf 100644 (file)
@@ -9,4 +9,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000020      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index a8918944bb19042062b900517efd41ff6baa92af..8053ab73cf77c4743ba3bfe371d2df24847c237b 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000018      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 5120c01881dfee343d137fb9b938e1edd16cf986..ebd4a0b55f123a20066e2097c8b7d1b72f90d028 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000020      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 3946aec3a3770c145c212a55b60ff71da20048d0..06f420a551481d175ec8456bfa09a5323d8aa6e1 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 2a55017ab2a0c39a08f7e6f2457e088b5530e4c7..c6914368b3dc5f7cd6166f959061f2fffed9a5dd 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000030      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index ea4254e728eb0e0da1e421621d106d672ea744b2..72d63853898a3d268ea9d24ccfc3bfd205d71fce 100644 (file)
@@ -7,6 +7,6 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v3, <unknown: 10>, <unknown: 20>
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v2, <unknown: 10>, <unknown: 20>
        x86 feature used: x86
-       x86 ISA used: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+       x86 ISA used: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
index f74b2d1e9c2cdc0f25de19b6f23a376fc650543d..c22bf1653eb13dc5db524124dfc17059d90616dc 100644 (file)
@@ -7,6 +7,6 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000030      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v3, <unknown: 10>, <unknown: 20>
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v2, <unknown: 10>, <unknown: 20>
        x86 feature used: x86
-       x86 ISA used: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+       x86 ISA used: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
index a2ad6f8fe7d1255f6eaa2c8e14d7c470b371f4a2..61f29e45a9d0a901916de88487666125267dbe50 100644 (file)
@@ -7,6 +7,6 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v3, <unknown: 10>, <unknown: 20>
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v2, <unknown: 10>, <unknown: 20>
        x86 feature used: x86
-       x86 ISA used: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+       x86 ISA used: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
index ab6bfb6281f7b7c4c87cebf085260827cc0fd734..69338a60cccc824fd1ecd112830d11cfc2de04fb 100644 (file)
@@ -7,6 +7,6 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000030      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v3, <unknown: 10>, <unknown: 20>
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v2, <unknown: 10>, <unknown: 20>
        x86 feature used: x86
-       x86 ISA used: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+       x86 ISA used: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
index 95155c51d1f4d19c3637d7ade10481976b9e8262..c4f9269b93f06927686f385a3b0a042408211c9a 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 496c00cc2ac70e40098532dc3e40fad35764f8fc..c56aa68ae0b608ffae697547e6c2588a629eedc8 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000030      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index d9bf59eb963d7ba053224f9c3dc9cbe3eda3ea90..f03b321c1a25d2f0903a769525d3f5d5eb47e2fd 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 212c3b2b9a39e571e8b5e3cfa5d56d989d526995..101f44a25db583891bfc420b86d0b5bb9850de92 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000030      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: IBT
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index e50e135cb06712ee2614a9dcb7689aa3e21022f0..dcb61c1da576fd67186e0a9c5e2f61406b367115 100644 (file)
@@ -7,5 +7,5 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v4
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v4
        <procesor-specific type 0xc0009000 data: 30 00 00 00 >
index fd05ade1f8a0807c57dd892f8ee9a15173c69cbe..3c39ca6d7cd2f28ce2e1bfd6feda0ea64a848550 100644 (file)
@@ -7,5 +7,5 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v4
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v4
        <procesor-specific type 0xc0009000 data: 30 00 00 00 >
diff --git a/ld/testsuite/ld-x86-64/property-x86-isa4-x32.d b/ld/testsuite/ld-x86-64/property-x86-isa4-x32.d
new file mode 100644 (file)
index 0000000..ad60f6c
--- /dev/null
@@ -0,0 +1,9 @@
+#source: simple.s
+#as: --x32 -mx86-used-note=no
+#ld: -r -m elf32_x86_64 -z x86-64-baseline
+#readelf: -n
+
+Displaying notes found in: .note.gnu.property
+[      ]+Owner[        ]+Data size[    ]+Description
+  GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
+      Properties: x86 ISA needed: x86-64-baseline
diff --git a/ld/testsuite/ld-x86-64/property-x86-isa4.d b/ld/testsuite/ld-x86-64/property-x86-isa4.d
new file mode 100644 (file)
index 0000000..0ef6626
--- /dev/null
@@ -0,0 +1,9 @@
+#source: simple.s
+#as: --64 -defsym __64_bit__=1 -mx86-used-note=no
+#ld: -r -m elf_x86_64 -z x86-64-baseline
+#readelf: -n
+
+Displaying notes found in: .note.gnu.property
+[      ]+Owner[        ]+Data size[    ]+Description
+  GNU                  0x[0-9a-f]+     NT_GNU_PROPERTY_TYPE_0
+      Properties: x86 ISA needed: x86-64-baseline
index bc9857236c49a5cb55e16fc55c279e024f30a66f..54bb019c032af675763b58d902faf3c0f5487b60 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000018      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index b61d272f689cf3978f9a22d916f5eca556d77a33..e242909d1d41d5d93bb585d121753ff5b706aa1b 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000020      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 28807f2f6e2d919854a82fddb78c00e6f42d9883..84e179129318377d2ac8eee10b797aa4ab0fb72e 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000018      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index d30e15c94851ede2609e698626779f518f298d66..665c7adbd9d87bd83fe268f19711c8db0308614d 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000020      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 66839c3251677ba1e9f7526b52a7a26da1b89a5c..de81bd1fa5d78a959c9592d32bacc4a3ad4b4c3e 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index e75dc3a617e5176de01d815410815c571a86289c..db633c96483139b76db382fae34af8c51e8ffb6f 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000030      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index f73ded63330aeadec174041301335a63fd14f7ab..3987a7af2d55f1ccdde970624c0152418679d3a4 100644 (file)
@@ -7,6 +7,6 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v3, <unknown: 10>, <unknown: 20>
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v2, <unknown: 10>, <unknown: 20>
        x86 feature used: x86
-       x86 ISA used: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+       x86 ISA used: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
index a653cf241e901bfa25825b2a82de2349bfd36876..a2e75e7b07ff87782f61cc8f93ef62cc7da2816f 100644 (file)
@@ -7,6 +7,6 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000030      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v3, <unknown: 10>, <unknown: 20>
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v2, <unknown: 10>, <unknown: 20>
        x86 feature used: x86
-       x86 ISA used: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+       x86 ISA used: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
index 893bf31de8da3e22cdd3d2d516274ca5eef69457..c4ed1d9b9aabf3ee06a651016a60274108c3006c 100644 (file)
@@ -7,6 +7,6 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v3, <unknown: 10>, <unknown: 20>
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v2, <unknown: 10>, <unknown: 20>
        x86 feature used: x86
-       x86 ISA used: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+       x86 ISA used: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
index b7be8bc9fe1e507278fc573d04dc77eb8ce7c114..296da1f8561d940f2be9f81cfbe75959a7b544b8 100644 (file)
@@ -7,6 +7,6 @@
 Displaying notes found in: .note.gnu.property
 [      ]+Owner[        ]+Data size[    ]+Description
   GNU                  0x00000030      NT_GNU_PROPERTY_TYPE_0
-      Properties: x86 ISA needed: x86-64-v2, x86-64-v3, <unknown: 10>, <unknown: 20>
+      Properties: x86 ISA needed: x86-64-baseline, x86-64-v2, <unknown: 10>, <unknown: 20>
        x86 feature used: x86
-       x86 ISA used: x86-64-v3, <unknown: 8>, <unknown: 20>, <unknown: 80>
+       x86 ISA used: x86-64-v2, x86-64-v4, <unknown: 20>, <unknown: 80>
index a04e30485052b1ba2982b9e2ac57d230d83f76eb..f88f6ab40ad0b9d19adb62759b54016fa7b23549 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 04cce50b651823c2d8854cb5a0fde5683d79d598..8e8b1083453455b19459540838b1868539413776 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000030      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index f78e6f42805c48ce288bb4cae616a42b7f1e415e..0199d3afa045454a46280b449efae7c755e0ccd4 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000024      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index c96782cdfb42873fbbe24abd7e664149bd58ae68..bba3476e822eff76f75bac3ffdcd15093ff2cd78 100644 (file)
@@ -8,4 +8,4 @@ Displaying notes found in: .note.gnu.property
   GNU                  0x00000030      NT_GNU_PROPERTY_TYPE_0
       Properties: x86 feature: SHSTK
        x86 feature used: x86
-       x86 ISA used: x86-64-baseline
+       x86 ISA used: 
index 91702076b97cedddf248044116faf448e66caf02..b99e6f19b57c5046fb12f1c9be5aeb9c7b3c354d 100644 (file)
@@ -446,6 +446,8 @@ run_dump_test "property-x86-isa2"
 run_dump_test "property-x86-isa2-x32"
 run_dump_test "property-x86-isa3"
 run_dump_test "property-x86-isa3-x32"
+run_dump_test "property-x86-isa4"
+run_dump_test "property-x86-isa4-x32"
 
 if ![istarget "x86_64-*-linux*"] {
     return