diff options
Diffstat (limited to 'binutils/testsuite')
27 files changed, 78 insertions, 33 deletions
diff --git a/binutils/testsuite/binutils-all/i386/compressed-1b.d b/binutils/testsuite/binutils-all/i386/compressed-1b.d index d74af4d..9ed82ca 100644 --- a/binutils/testsuite/binutils-all/i386/compressed-1b.d +++ b/binutils/testsuite/binutils-all/i386/compressed-1b.d @@ -1,6 +1,6 @@ #PROG: strip #source: compressed-1.s -#as: --32 +#as: --32 -mx86-used-note=no #strip: #readelf: -S --wide #name: strip on uncompressed debug sections diff --git a/binutils/testsuite/binutils-all/i386/compressed-1c.d b/binutils/testsuite/binutils-all/i386/compressed-1c.d index 3a0cba5..dc96dd7 100644 --- a/binutils/testsuite/binutils-all/i386/compressed-1c.d +++ b/binutils/testsuite/binutils-all/i386/compressed-1c.d @@ -1,6 +1,6 @@ #PROG: strip #source: compressed-1.s -#as: --32 --compress-debug-sections +#as: --32 --compress-debug-sections -mx86-used-note=no #strip: #readelf: -S --wide #name: strip on compressed debug sections diff --git a/binutils/testsuite/binutils-all/i386/empty.d b/binutils/testsuite/binutils-all/i386/empty.d index 5f4cc56..809280f 100644 --- a/binutils/testsuite/binutils-all/i386/empty.d +++ b/binutils/testsuite/binutils-all/i386/empty.d @@ -1,5 +1,5 @@ #PROG: objcopy -#as: --32 +#as: --32 -mx86-used-note=yes #objcopy: #readelf: -n @@ -7,3 +7,6 @@ Displaying notes found in: .note.gnu.property Owner Data size Description GNU 0x0000000c NT_GNU_PROPERTY_TYPE_0 Properties: x86 feature: + GNU 0x00000018 NT_GNU_PROPERTY_TYPE_0 + Properties: x86 ISA used: <None> + x86 feature used: x86 diff --git a/binutils/testsuite/binutils-all/i386/ibt.d b/binutils/testsuite/binutils-all/i386/ibt.d index dfd7676..59f04c2 100644 --- a/binutils/testsuite/binutils-all/i386/ibt.d +++ b/binutils/testsuite/binutils-all/i386/ibt.d @@ -1,5 +1,5 @@ #PROG: objcopy -#as: --32 +#as: --32 -mx86-used-note=yes #objcopy: #readelf: -n @@ -7,3 +7,6 @@ Displaying notes found in: .note.gnu.property Owner Data size Description GNU 0x0000000c NT_GNU_PROPERTY_TYPE_0 Properties: x86 feature: IBT + GNU 0x00000018 NT_GNU_PROPERTY_TYPE_0 + Properties: x86 ISA used: <None> + x86 feature used: x86 diff --git a/binutils/testsuite/binutils-all/i386/pr21231a.d b/binutils/testsuite/binutils-all/i386/pr21231a.d index 7c13b85..a585703 100644 --- a/binutils/testsuite/binutils-all/i386/pr21231a.d +++ b/binutils/testsuite/binutils-all/i386/pr21231a.d @@ -1,5 +1,5 @@ #PROG: objcopy -#as: --32 +#as: --32 -mx86-used-note=yes #objcopy: #readelf: -n @@ -7,3 +7,6 @@ Displaying notes found in: .note.gnu.property Owner Data size Description GNU 0x00000008 NT_GNU_PROPERTY_TYPE_0 Properties: no copy on protected + GNU 0x00000018 NT_GNU_PROPERTY_TYPE_0 + Properties: x86 ISA used: <None> + x86 feature used: x86 diff --git a/binutils/testsuite/binutils-all/i386/pr21231b.d b/binutils/testsuite/binutils-all/i386/pr21231b.d index 3fad846..044a596 100644 --- a/binutils/testsuite/binutils-all/i386/pr21231b.d +++ b/binutils/testsuite/binutils-all/i386/pr21231b.d @@ -1,5 +1,5 @@ #PROG: objcopy -#as: --32 +#as: --32 -mx86-used-note=yes #objcopy: #readelf: -n @@ -10,3 +10,6 @@ Displaying notes found in: .note.gnu.property no copy on protected x86 ISA used: CMOV, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, AVX, AVX2, FMA, AVX512F, AVX512CD, AVX512ER, AVX512PF, AVX512VL, AVX512DQ, AVX512BW, AVX512_4FMAPS, AVX512_4VNNIW, AVX512_BITALG, AVX512_IFMA, AVX512_VBMI, AVX512_VBMI2, AVX512_VNNI, <unknown: 1000000>, <unknown: 2000000>, <unknown: 4000000>, <unknown: 8000000>, <unknown: 10000000>, <unknown: 20000000>, <unknown: 40000000> x86 ISA needed: CMOV, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, AVX, AVX2, FMA, AVX512F, AVX512CD, AVX512ER, AVX512PF, AVX512VL, AVX512DQ + GNU 0x00000018 NT_GNU_PROPERTY_TYPE_0 + Properties: x86 ISA used: <None> + x86 feature used: x86 diff --git a/binutils/testsuite/binutils-all/i386/shstk.d b/binutils/testsuite/binutils-all/i386/shstk.d index 933704c..4597818 100644 --- a/binutils/testsuite/binutils-all/i386/shstk.d +++ b/binutils/testsuite/binutils-all/i386/shstk.d @@ -1,5 +1,5 @@ #PROG: objcopy -#as: --32 +#as: --32 -mx86-used-note=yes #objcopy: #readelf: -n @@ -7,3 +7,6 @@ Displaying notes found in: .note.gnu.property Owner Data size Description GNU 0x0000000c NT_GNU_PROPERTY_TYPE_0 Properties: x86 feature: SHSTK + GNU 0x00000018 NT_GNU_PROPERTY_TYPE_0 + Properties: x86 ISA used: <None> + x86 feature used: x86 diff --git a/binutils/testsuite/binutils-all/x86-64/compressed-1b.d b/binutils/testsuite/binutils-all/x86-64/compressed-1b.d index 040bdd3..c041a53 100644 --- a/binutils/testsuite/binutils-all/x86-64/compressed-1b.d +++ b/binutils/testsuite/binutils-all/x86-64/compressed-1b.d @@ -1,6 +1,6 @@ #PROG: strip #source: compressed-1.s -#as: --64 +#as: --64 -mx86-used-note=no #strip: #readelf: -S --wide #name: strip on uncompressed debug sections diff --git a/binutils/testsuite/binutils-all/x86-64/compressed-1c.d b/binutils/testsuite/binutils-all/x86-64/compressed-1c.d index 96eb6d4..2039cd6 100644 --- a/binutils/testsuite/binutils-all/x86-64/compressed-1c.d +++ b/binutils/testsuite/binutils-all/x86-64/compressed-1c.d @@ -1,6 +1,6 @@ #PROG: strip #source: compressed-1.s -#as: --64 --compress-debug-sections +#as: --64 --compress-debug-sections -mx86-used-note=no #strip: #readelf: -S --wide #name: strip on compressed debug sections diff --git a/binutils/testsuite/binutils-all/x86-64/empty-x32.d b/binutils/testsuite/binutils-all/x86-64/empty-x32.d index 4193818..f650374 100644 --- a/binutils/testsuite/binutils-all/x86-64/empty-x32.d +++ b/binutils/testsuite/binutils-all/x86-64/empty-x32.d @@ -1,6 +1,6 @@ #source: empty.s #PROG: objcopy -#as: --x32 +#as: --x32 -mx86-used-note=yes #objcopy: #readelf: -n @@ -8,3 +8,6 @@ Displaying notes found in: .note.gnu.property Owner Data size Description GNU 0x0000000c NT_GNU_PROPERTY_TYPE_0 Properties: x86 feature: + GNU 0x00000018 NT_GNU_PROPERTY_TYPE_0 + Properties: x86 ISA used: <None> + x86 feature used: x86 diff --git a/binutils/testsuite/binutils-all/x86-64/empty.d b/binutils/testsuite/binutils-all/x86-64/empty.d index 777efbb..30a2ea4 100644 --- a/binutils/testsuite/binutils-all/x86-64/empty.d +++ b/binutils/testsuite/binutils-all/x86-64/empty.d @@ -1,5 +1,5 @@ #PROG: objcopy -#as: --64 -defsym __64_bit__=1 +#as: --64 -defsym __64_bit__=1 -mx86-used-note=yes #objcopy: #readelf: -n @@ -7,3 +7,6 @@ Displaying notes found in: .note.gnu.property Owner Data size Description GNU 0x00000010 NT_GNU_PROPERTY_TYPE_0 Properties: x86 feature: + GNU 0x00000020 NT_GNU_PROPERTY_TYPE_0 + Properties: x86 ISA used: <None> + x86 feature used: x86 diff --git a/binutils/testsuite/binutils-all/x86-64/ibt-x32.d b/binutils/testsuite/binutils-all/x86-64/ibt-x32.d index 5be7c98..f749b13 100644 --- a/binutils/testsuite/binutils-all/x86-64/ibt-x32.d +++ b/binutils/testsuite/binutils-all/x86-64/ibt-x32.d @@ -1,6 +1,6 @@ #source: ibt.s #PROG: objcopy -#as: --x32 +#as: --x32 -mx86-used-note=yes #objcopy: #readelf: -n @@ -8,3 +8,6 @@ Displaying notes found in: .note.gnu.property Owner Data size Description GNU 0x0000000c NT_GNU_PROPERTY_TYPE_0 Properties: x86 feature: IBT + GNU 0x00000018 NT_GNU_PROPERTY_TYPE_0 + Properties: x86 ISA used: <None> + x86 feature used: x86 diff --git a/binutils/testsuite/binutils-all/x86-64/ibt.d b/binutils/testsuite/binutils-all/x86-64/ibt.d index 7bedff5..bf76db5 100644 --- a/binutils/testsuite/binutils-all/x86-64/ibt.d +++ b/binutils/testsuite/binutils-all/x86-64/ibt.d @@ -1,5 +1,5 @@ #PROG: objcopy -#as: --64 -defsym __64_bit__=1 +#as: --64 -defsym __64_bit__=1 -mx86-used-note=yes #objcopy: #readelf: -n @@ -7,3 +7,6 @@ Displaying notes found in: .note.gnu.property Owner Data size Description GNU 0x00000010 NT_GNU_PROPERTY_TYPE_0 Properties: x86 feature: IBT + GNU 0x00000020 NT_GNU_PROPERTY_TYPE_0 + Properties: x86 ISA used: <None> + x86 feature used: x86 diff --git a/binutils/testsuite/binutils-all/x86-64/pr21231a.d b/binutils/testsuite/binutils-all/x86-64/pr21231a.d index 2a00048..490864e 100644 --- a/binutils/testsuite/binutils-all/x86-64/pr21231a.d +++ b/binutils/testsuite/binutils-all/x86-64/pr21231a.d @@ -1,5 +1,5 @@ #PROG: objcopy -#as: --64 +#as: --64 -mx86-used-note=yes #objcopy: #readelf: -n @@ -7,3 +7,6 @@ Displaying notes found in: .note.gnu.property Owner Data size Description GNU 0x00000008 NT_GNU_PROPERTY_TYPE_0 Properties: no copy on protected + GNU 0x00000020 NT_GNU_PROPERTY_TYPE_0 + Properties: x86 ISA used: <None> + x86 feature used: x86 diff --git a/binutils/testsuite/binutils-all/x86-64/pr21231b.d b/binutils/testsuite/binutils-all/x86-64/pr21231b.d index 150a8ca..7ee42d5 100644 --- a/binutils/testsuite/binutils-all/x86-64/pr21231b.d +++ b/binutils/testsuite/binutils-all/x86-64/pr21231b.d @@ -1,5 +1,5 @@ #PROG: objcopy -#as: --64 +#as: --64 -mx86-used-note=yes #objcopy: #readelf: -n @@ -10,3 +10,6 @@ Displaying notes found in: .note.gnu.property no copy on protected x86 ISA used: CMOV, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, AVX, AVX2, FMA, AVX512F, AVX512CD, AVX512ER, AVX512PF, AVX512VL, AVX512DQ, AVX512BW, AVX512_4FMAPS, AVX512_4VNNIW, AVX512_BITALG, AVX512_IFMA, AVX512_VBMI, AVX512_VBMI2, AVX512_VNNI, <unknown: 1000000>, <unknown: 2000000>, <unknown: 4000000>, <unknown: 8000000>, <unknown: 10000000>, <unknown: 20000000>, <unknown: 40000000> x86 ISA needed: CMOV, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, AVX, AVX2, FMA, AVX512F, AVX512CD, AVX512ER, AVX512PF, AVX512VL, AVX512DQ + GNU 0x00000020 NT_GNU_PROPERTY_TYPE_0 + Properties: x86 ISA used: <None> + x86 feature used: x86 diff --git a/binutils/testsuite/binutils-all/x86-64/pr23494a-x32.d b/binutils/testsuite/binutils-all/x86-64/pr23494a-x32.d index ad8f9b1..cba5a3f 100644 --- a/binutils/testsuite/binutils-all/x86-64/pr23494a-x32.d +++ b/binutils/testsuite/binutils-all/x86-64/pr23494a-x32.d @@ -1,12 +1,13 @@ #source: pr23494a.s #PROG: objcopy -#as: --x32 +#as: --x32 -mx86-used-note=yes #objcopy: -O elf64-x86-64 #readelf: -n #not-target: x86_64-*-nacl* Displaying notes found in: .note.gnu.property Owner Data size Description - GNU 0x00000020 NT_GNU_PROPERTY_TYPE_0 + GNU 0x00000030 NT_GNU_PROPERTY_TYPE_0 Properties: x86 ISA needed: SSE4_1, AVX x86 ISA used: SSE, SSE3, SSE4_1, AVX + x86 feature used: x86 diff --git a/binutils/testsuite/binutils-all/x86-64/pr23494a.d b/binutils/testsuite/binutils-all/x86-64/pr23494a.d index 32e296f..3638ce0 100644 --- a/binutils/testsuite/binutils-all/x86-64/pr23494a.d +++ b/binutils/testsuite/binutils-all/x86-64/pr23494a.d @@ -1,12 +1,13 @@ #source: pr23494a.s #PROG: objcopy -#as: --64 -defsym __64_bit__=1 +#as: --64 -defsym __64_bit__=1 -mx86-used-note=yes #objcopy: -O elf32-x86-64 #readelf: -n #not-target: x86_64-*-nacl* Displaying notes found in: .note.gnu.property Owner Data size Description - GNU 0x00000018 NT_GNU_PROPERTY_TYPE_0 + GNU 0x00000024 NT_GNU_PROPERTY_TYPE_0 Properties: x86 ISA needed: SSE4_1, AVX x86 ISA used: SSE, SSE3, SSE4_1, AVX + x86 feature used: x86 diff --git a/binutils/testsuite/binutils-all/x86-64/pr23494b-x32.d b/binutils/testsuite/binutils-all/x86-64/pr23494b-x32.d index f923e2f..9082650 100644 --- a/binutils/testsuite/binutils-all/x86-64/pr23494b-x32.d +++ b/binutils/testsuite/binutils-all/x86-64/pr23494b-x32.d @@ -1,6 +1,6 @@ #source: pr23494a.s #PROG: objcopy -#as: --x32 +#as: --x32 -mx86-used-note=yes #objcopy: -O elf64-x86-64 -R .note.gnu.property #readelf: -n #not-target: x86_64-*-nacl* diff --git a/binutils/testsuite/binutils-all/x86-64/pr23494b.d b/binutils/testsuite/binutils-all/x86-64/pr23494b.d index 4916be0..b0ded58 100644 --- a/binutils/testsuite/binutils-all/x86-64/pr23494b.d +++ b/binutils/testsuite/binutils-all/x86-64/pr23494b.d @@ -1,6 +1,6 @@ #source: pr23494a.s #PROG: objcopy -#as: --64 -defsym __64_bit__=1 +#as: --64 -defsym __64_bit__=1 -mx86-used-note=yes #objcopy: -O elf32-x86-64 -R .note.gnu.property #readelf: -n #not-target: x86_64-*-nacl* diff --git a/binutils/testsuite/binutils-all/x86-64/pr23494c-x32.d b/binutils/testsuite/binutils-all/x86-64/pr23494c-x32.d index 761c137..52a16ae 100644 --- a/binutils/testsuite/binutils-all/x86-64/pr23494c-x32.d +++ b/binutils/testsuite/binutils-all/x86-64/pr23494c-x32.d @@ -1,6 +1,6 @@ #source: pr23494b.s #PROG: objcopy -#as: --x32 +#as: --x32 -mx86-used-note=no #objcopy: -O elf64-x86-64 #readelf: -n #not-target: x86_64-*-nacl* diff --git a/binutils/testsuite/binutils-all/x86-64/pr23494c.d b/binutils/testsuite/binutils-all/x86-64/pr23494c.d index e98b2ae..8ff87e2 100644 --- a/binutils/testsuite/binutils-all/x86-64/pr23494c.d +++ b/binutils/testsuite/binutils-all/x86-64/pr23494c.d @@ -1,6 +1,6 @@ #source: pr23494b.s #PROG: objcopy -#as: --64 -defsym __64_bit__=1 +#as: --64 -defsym __64_bit__=1 -mx86-used-note=no #objcopy: -O elf32-x86-64 #readelf: -n #not-target: x86_64-*-nacl* diff --git a/binutils/testsuite/binutils-all/x86-64/pr23494d-x32.d b/binutils/testsuite/binutils-all/x86-64/pr23494d-x32.d index b0af2d9..5f42bd5 100644 --- a/binutils/testsuite/binutils-all/x86-64/pr23494d-x32.d +++ b/binutils/testsuite/binutils-all/x86-64/pr23494d-x32.d @@ -1,12 +1,13 @@ #PROG: objcopy #source: pr23494a.s -#as: --x32 +#as: --x32 -mx86-used-note=yes #objcopy: -O elf64-x86-64 --decompress-debug-sections #readelf: -n #not-target: x86_64-*-nacl* Displaying notes found in: .note.gnu.property Owner Data size Description - GNU 0x00000020 NT_GNU_PROPERTY_TYPE_0 + GNU 0x00000030 NT_GNU_PROPERTY_TYPE_0 Properties: x86 ISA needed: SSE4_1, AVX x86 ISA used: SSE, SSE3, SSE4_1, AVX + x86 feature used: x86 diff --git a/binutils/testsuite/binutils-all/x86-64/pr23494d.d b/binutils/testsuite/binutils-all/x86-64/pr23494d.d index 1731c03..8190327 100644 --- a/binutils/testsuite/binutils-all/x86-64/pr23494d.d +++ b/binutils/testsuite/binutils-all/x86-64/pr23494d.d @@ -1,12 +1,13 @@ #PROG: objcopy #source: pr23494a.s -#as: --64 -defsym __64_bit__=1 +#as: --64 -defsym __64_bit__=1 -mx86-used-note=yes #objcopy: -O elf32-x86-64 --decompress-debug-sections #readelf: -n #not-target: x86_64-*-nacl* Displaying notes found in: .note.gnu.property Owner Data size Description - GNU 0x00000018 NT_GNU_PROPERTY_TYPE_0 + GNU 0x00000024 NT_GNU_PROPERTY_TYPE_0 Properties: x86 ISA needed: SSE4_1, AVX x86 ISA used: SSE, SSE3, SSE4_1, AVX + x86 feature used: x86 diff --git a/binutils/testsuite/binutils-all/x86-64/pr23494e-x32.d b/binutils/testsuite/binutils-all/x86-64/pr23494e-x32.d index 4adfb4a..63cd9f0 100644 --- a/binutils/testsuite/binutils-all/x86-64/pr23494e-x32.d +++ b/binutils/testsuite/binutils-all/x86-64/pr23494e-x32.d @@ -1,13 +1,14 @@ #PROG: objcopy #source: pr23494c.s -#as: --x32 +#as: --x32 -mx86-used-note=yes #objcopy: -O elf64-x86-64 --decompress-debug-sections #readelf: -n #not-target: x86_64-*-nacl* Displaying notes found in: .note.gnu.property Owner Data size Description - GNU 0x00000030 NT_GNU_PROPERTY_TYPE_0 + GNU 0x00000040 NT_GNU_PROPERTY_TYPE_0 Properties: stack size: 0xffffffff x86 ISA needed: SSE4_1, AVX x86 ISA used: SSE, SSE3, SSE4_1, AVX + x86 feature used: x86 diff --git a/binutils/testsuite/binutils-all/x86-64/pr23494e.d b/binutils/testsuite/binutils-all/x86-64/pr23494e.d index d9b0538..e60f262 100644 --- a/binutils/testsuite/binutils-all/x86-64/pr23494e.d +++ b/binutils/testsuite/binutils-all/x86-64/pr23494e.d @@ -1,13 +1,14 @@ #PROG: objcopy #source: pr23494c.s -#as: --64 -defsym __64_bit__=1 +#as: --64 -defsym __64_bit__=1 -mx86-used-note=yes #objcopy: -O elf32-x86-64 --decompress-debug-sections #readelf: -n #not-target: x86_64-*-nacl* Displaying notes found in: .note.gnu.property Owner Data size Description - GNU 0x00000024 NT_GNU_PROPERTY_TYPE_0 + GNU 0x00000030 NT_GNU_PROPERTY_TYPE_0 Properties: stack size: 0xffffffff x86 ISA needed: SSE4_1, AVX x86 ISA used: SSE, SSE3, SSE4_1, AVX + x86 feature used: x86 diff --git a/binutils/testsuite/binutils-all/x86-64/shstk-x32.d b/binutils/testsuite/binutils-all/x86-64/shstk-x32.d index 1dfc4fd..7fc5eac 100644 --- a/binutils/testsuite/binutils-all/x86-64/shstk-x32.d +++ b/binutils/testsuite/binutils-all/x86-64/shstk-x32.d @@ -1,6 +1,6 @@ #source: shstk.s #PROG: objcopy -#as: --x32 +#as: --x32 -mx86-used-note=yes #objcopy: #readelf: -n @@ -8,3 +8,6 @@ Displaying notes found in: .note.gnu.property Owner Data size Description GNU 0x0000000c NT_GNU_PROPERTY_TYPE_0 Properties: x86 feature: SHSTK + GNU 0x00000018 NT_GNU_PROPERTY_TYPE_0 + Properties: x86 ISA used: <None> + x86 feature used: x86 diff --git a/binutils/testsuite/binutils-all/x86-64/shstk.d b/binutils/testsuite/binutils-all/x86-64/shstk.d index 1f131b8..0995d28 100644 --- a/binutils/testsuite/binutils-all/x86-64/shstk.d +++ b/binutils/testsuite/binutils-all/x86-64/shstk.d @@ -1,5 +1,5 @@ #PROG: objcopy -#as: --64 -defsym __64_bit__=1 +#as: --64 -defsym __64_bit__=1 -mx86-used-note=yes #objcopy: #readelf: -n @@ -7,3 +7,6 @@ Displaying notes found in: .note.gnu.property Owner Data size Description GNU 0x00000010 NT_GNU_PROPERTY_TYPE_0 Properties: x86 feature: SHSTK + GNU 0x00000020 NT_GNU_PROPERTY_TYPE_0 + Properties: x86 ISA used: <None> + x86 feature used: x86 |